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

converting packed to ZD through Sort


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
muthukumar

New User


Joined: 24 Mar 2004
Posts: 29

PostPosted: Thu Jun 24, 2004 10:46 am
Reply with quote

Hi,

Can any one help me in converting a packed decimal to Zd format using sort. I triet the following code but i am not getting the sign and correct decimal values after sorting....( should i explicitly write some code to get decimal and sign) . Please guide

the code i used
SORT FIELDS=(1,13,CH,A)
OUTREC FIELDS=(1:1,13, 16:14,6,PD,TO=ZD)
Back to top
View user's profile Send private message
imvs

New User


Joined: 12 May 2004
Posts: 33

PostPosted: Thu Jun 24, 2004 2:46 pm
Reply with quote

muthukumar
To get signs you have to use EDIT mask
Back to top
View user's profile Send private message
muthukumar

New User


Joined: 24 Mar 2004
Posts: 29

PostPosted: Thu Jun 24, 2004 3:20 pm
Reply with quote

thanks
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Simplify SORT CARD to combine INREC a... DFSORT/ICETOOL 6
No new posts Converting VARCHAR to XML DB2 1
No new posts Sort card to generate the DSN DFSORT/ICETOOL 17
Search our Forums:


Back to Top