IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 151

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

Active User


Joined: 15 Aug 2015
Posts: 352
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: 2432
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

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Join lines with dfsort DFSORT/ICETOOL 5
No new posts COnvert a column with mix of hex ,cha... DB2 5
No new posts To convert numeric to Packed Decimal DFSORT/ICETOOL 9
No new posts Covert k to 1000 / m to 1000000 using... DFSORT/ICETOOL 5
No new posts how to convert Hex String t char hex PL/I & Assembler 6

Back to Top