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

DFSORT-How to convert ZD to ZS in DFSORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
useit

Active User


Joined: 05 Oct 2006
Posts: 152

PostPosted: Thu Mar 26, 2020 10:43 am
Reply with quote

Hi,
i am trying to convert ZD to signed zoned decimal. but getting syntax errors. could someone please help me in this regard?

i need to convert 9(4) to S9(4) . below is the sequence i tried but it is giving me syntax error.

1,4,ZD,ZS,Length=4



Regards,
Prahlad Shetty
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1231
Location: Bamberg, Germany

PostPosted: Thu Mar 26, 2020 11:24 am
Reply with quote

Look up Appendix C. Data format descriptions in the Manual.

ZD - (zoned decimal, signed). Each digit of the decimal number is converted into its 8-bit EBCDIC representation. The
sign indicator replaces the first four bits of the low order byte of the number.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Mar 26, 2020 3:36 pm
Reply with quote

Where did you get ZS from? You made it up, surely? Because it is not in the manual. Someone of your experience should know that you do NOT make up your own syntax.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts DFsort help with SUM() DFSORT/ICETOOL 12
Search our Forums:

Back to Top