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

How the following comp3 values displayed HEX format


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 463

PostPosted: Tue Oct 11, 2005 11:50 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Need to convert date format DFSORT/ICETOOL 20
Search our Forums:

Back to Top