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 the following comp3 values displayed HEX format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
keerthi

New User


Joined: 23 Mar 2005
Posts: 25

PostPosted: Tue Oct 11, 2005 9:16 am    Post subject: How the following comp3 values displayed HEX format
Reply with quote

can anybody please answer how the following comp3 values displayed in hexadecimal format

100.55
225.06
1355.00
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Tue Oct 11, 2005 11:50 am    Post subject: Re: How the following comp3 values displayed HEX format
Reply with quote

Hi Keerthi,

I hope the following link can give answer of your query.

http://www.ibmmainframes.com/viewtopic.php?t=1236&highlight=hex+display

Regards

Rupesh
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Oct 13, 2005 4:33 am    Post subject:
Reply with quote

Hi keerthi,

What you show are not COMP-3 values. The following can be:

10055
22506
135500

If you DISPLAY them, as in DISPLAY PD-VAL, they will look like this:

1005E
2250F
13550{ (it may be "}", I forget which). Try it and let us know.

If you wrote them to a file record and you looked at them in the rec via ISPF edit and you entered "hex" in the cmd line, they would look like this:

105
05C

256
20C

0350
150C
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am


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