Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
DFSORT converting numeric values TO=PD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: DFSORT converting numeric values TO=PD
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    Post subject:
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 Moderator


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

PostPosted: Tue May 30, 2006 8:55 pm    Post subject:
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:

http://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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us