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
 

 

HEX display with -ve content

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: HEX display with -ve content
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    Post subject: Re: HEX display with -ve content
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: 2360
Location: Israel

PostPosted: Sun Oct 04, 2009 11:03 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm


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