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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: how to convert PIC 9(03) to S9(03) PACKED DECIMAL ??
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

Site Director


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

PostPosted: Thu Oct 16, 2008 1:00 pm    Post subject:
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 Moderator


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

PostPosted: Thu Oct 16, 2008 10:38 pm    Post subject:
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    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 READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Convert current to hex value gopurs DFSORT/ICETOOL 4 Wed Feb 15, 2017 5:40 am
No new posts Joinkeys with decimal scdinesh DFSORT/ICETOOL 3 Fri Feb 10, 2017 4:46 am
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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