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

convert from numeric to signed packed decimal using SYNCSORT


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

New User


Joined: 04 Jul 2007
Posts: 3
Location: Chennai

PostPosted: Wed Jul 29, 2009 4:03 pm
Reply with quote

I have file with numeric data in it. I need to convert it to signed packed decimal. when i used the below code i was able to get only the unsigned packed decimal.

SORT FIELDS=COPY
OUTREC FIELDS=(1:9,6,34,5,1,8,41,8,15,8,ZD,TO=PD,LENGTH=5,
23,8,ZD,TO=PD,LENGTH=5)


Please let me know what i should do for the conversion
/*
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Wed Jul 29, 2009 6:09 pm
Reply with quote

Hi Nachal,

I am just a little curious to know ... how do u say that you are receiving only unsigned packed decimal.

Also, posting the input and output samples (HEX data) will help us in understanding the issue and hopefully solving the same.
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 Compare only first records of the fil... SYNCSORT 7
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
Search our Forums:

Back to Top