Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Zoned and Fixed point format....

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Rupa.P.V
Warnings : 1

New User


Joined: 04 Jul 2006
Posts: 30

PostPosted: Mon Jul 31, 2006 12:31 pm    Post subject: Zoned and Fixed point format....
Reply with quote

Can anyone explain me wat is zoned decimal and fixed point format??

And how can we convert Zoned decimal to Fixed decimal format using DFSORT ??


Please provide syntax and example for clear understanding..

Thanks in advance
Back to top
View user's profile Send private message

chanda.debasish

New User


Joined: 19 Sep 2005
Posts: 9

PostPosted: Mon Jul 31, 2006 4:29 pm    Post subject:
Reply with quote

Zoned decimal (ZD) is equivalent to PIC S9(n) and fixed point format(FI) is equivalent to PIC S9(n) COMP.
ZD TO FI conversion can be done in the following way -

Code:

  OUTREC FIELDS=(1,4,ZD,TO=FI)
  SORT FIELDS=COPY           


For example if the input file content is
0001
then output file will contain binary equivalent of 0001.
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: Sat Aug 05, 2006 10:10 pm    Post subject:
Reply with quote

For more information on the various DFSORT formats you can use, see "Appendix C" of "z/OS DFSORT Application Programming Guide". You can access all of the DFSORT books from:

http://www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html

For more information on converting numeric formats, see "Reformatting Features" in "DFSORT: Beyond Sorting" at:

http://www.ibm.com/servers/storage/support/software/sort/mvs/beyond_sorting/
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us