Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
converting packed to ZD through Sort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
muthukumar

New User


Joined: 24 Mar 2004
Posts: 32

PostPosted: Thu Jun 24, 2004 10:46 am    Post subject: converting packed to ZD through Sort
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
References
PostPosted: Thu Jun 24, 2004 10:46 am    Post subject: Re: converting packed to ZD through Sort Reply with quote

imvs

New User


Joined: 12 May 2004
Posts: 33

PostPosted: Thu Jun 24, 2004 2:46 pm    Post subject:
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: 32

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

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1