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

Converting Edited numeric into zoned decimal


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Fri Dec 07, 2007 6:36 pm
Reply with quote

Hi,

I need to convert an edited numeric field to zoned decimal with SYNCSORT.

Input will be as +111111.11. Need to convert it into COBOL format S9(06)V99.
Back to top
View user's profile Send private message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Fri Dec 07, 2007 8:28 pm
Reply with quote

Hi,

Got a solution.

SORT FIELDS=COPY
OUTREC FIELDS=(1,27,28:28,10,SFF,TO=ZD,LENGTH=8)

I dug it out of old posts.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Need Help with Packed Decimal Signs DFSORT/ICETOOL 4
No new posts Convert HEX to Numeric DB2 3
No new posts Converting fixed length file to excel... IBM Tools 7
Search our Forums:

Back to Top