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

how to convert PIC 9(03) to S9(03) PACKED DECIMAL ??


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anilkumar123

New User


Joined: 08 Oct 2008
Posts: 2
Location: hyd

PostPosted: Thu Oct 16, 2008 10:54 am
Reply with quote

i tried using (1,3,ZD,TO=PD,LENGHT=2) its converting to PD but the hex values are not matching , can any 1 suggest me upon this???
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 16, 2008 1:00 pm
Reply with quote

Hello,

Quote:
can any 1 suggest me upon this
I suggest you post some real input data and the output data you are getting that you do not want. Also post the data you want for output.

You only need to post all 3 sets of data for a few records - not a large volume.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Thu Oct 16, 2008 10:38 pm
Reply with quote

anilkumar123,

I assume you actually had "LENGTH" and not "LENGHT" as shown.

Show an example of the 3-byte ZD input value in hex and the resulting 2-byte PD output value in hex for a case where they "don't match". Indicate what you expect for output in hex.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
Search our Forums:

Back to Top