IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Conversion of char field to zero suppressed numeric edited


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Guptanagendra

New User


Joined: 10 Oct 2006
Posts: 6

PostPosted: Tue Apr 27, 2010 3:08 pm
Reply with quote

The sending field is X(16) with value 'ABCDEFGHIJKLMNOP' and the receiving field is ZZZZZZ9/9999/9999/9.
Can some one please explain how the conversion takes place.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Apr 27, 2010 4:24 pm
Reply with quote

Why not test it yourself? I did and got
Code:
 WS-VAR1 ABCDEFGHIJKLMNOP
 WS-VAR2 1234567/8912/3456/7
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
Search our Forums:

Back to Top