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

HEX display with -ve content


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Sat Oct 03, 2009 8:56 am
Reply with quote

Hi,

Till now I did not learn about the Hexadecimal format content and also the way to display it.

Can somebudy help me in my 2 doubts

How can I display the hexadecimal content with say WRITE/DISPLAY stmt?
How to do the same for -ve values?

Thanks,
A.
Back to top
View user's profile Send private message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Sat Oct 03, 2009 9:24 am
Reply with quote

Adding little more to my doubt

How can I do a HEX display if the varaible is defined as 5 digit and the content is say -5?


Thanks,
A.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Oct 04, 2009 11:03 am
Reply with quote

You can display hexadecimal representation of variables (either positive or negative) using the EM operand of WRITE/DISPLAY with the "H" mask.

See the EM parameter documentation for more details.
Also, see Programming Guide manual, "Output of Data" section.

O.
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 -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Reformat and relocate content DFSORT/ICETOOL 4
No new posts Setting CA7 user variable from data s... CA Products 7
No new posts How to display the leading zeros of a... DB2 7
No new posts REXX table content on panel will be r... CLIST & REXX 6
No new posts SDSF display Max-RC in different colors TSO/ISPF 4
Search our Forums:

Back to Top