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

DFSORT converting numeric values TO=PD


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

New User


Joined: 30 May 2006
Posts: 1
Location: Lisbon

PostPosted: Tue May 30, 2006 4:22 pm
Reply with quote

Hi.

Can anyone help me. I'm generating a file B from a file A. In the file A i have a zoned decimal field with SIIIIIIIIIIT,TT that I want to convert to file B as an packed decimal. I'm using the following :

1,14,zd,to=pd

but the result does not convert the signal or decimal sign. I have tryed a mask but with no effect.
Back to top
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Tue May 30, 2006 5:52 pm
Reply with quote

Hi,
Please put the details of the i/p file and the expected o/p.It will help us to post the complete JCL for you.

Thanks
Krishy
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue May 30, 2006 8:55 pm
Reply with quote

SIIIIIIIIIIT,TT is NOT a ZD value because of the sign and decimal point. It's also 15 bytes, not 14 bytes. You need to use DFSORT's SFF format to handle this:

1,15,SFF,TO=PD

the result will be an 8-byte PD field.

For some more information on DFSORT's SFF format, see:

www.ibm.com/servers/storage/support/software/sort/mvs/beyond_sorting/online/srtmbfff.html
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts DFSORT GUID DFSORT/ICETOOL 3
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top