Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
DFSORT-How to convert ZD to ZS in DFSORT

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

Active User


Joined: 05 Oct 2006
Posts: 151

PostPosted: Thu Mar 26, 2020 10:43 am    Post subject: DFSORT-How to convert ZD to ZS in DFSORT
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

Active User


Joined: 15 Aug 2015
Posts: 147
Location: Germany

PostPosted: Thu Mar 26, 2020 11:24 am    Post subject:
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: 2312
Location: Hampshire, UK

PostPosted: Thu Mar 26, 2020 3:36 pm    Post subject: Reply to: DFSORT-How to convert ZD to ZS in DFSORT
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.    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 DFSORT Output file order query A_programmers DFSORT/ICETOOL 1 Thu Mar 26, 2020 11:59 pm
No new posts Convert a packed decimal value to zon... Dinesh Mani DB2 6 Mon Mar 16, 2020 6:02 pm
No new posts convert SUPERC compare report to side... jzhardy CLIST & REXX 5 Fri Feb 21, 2020 8:55 am
No new posts DFSORT to handle in between specific ... subratarec DFSORT/ICETOOL 6 Thu Feb 06, 2020 1:22 am
No new posts Need help with this dfsort problem kushkush DFSORT/ICETOOL 7 Sun Feb 02, 2020 6:34 pm

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