How to view Hex dump

Ask/Clarify the questions on TSO, CLIST & REXX

Moderators: Veera, Moderator Group

Post Reply
ajit5144
Member
Posts: 6
Joined: Sun Mar 17, 2013 11:27 pm
Location: Chennai

How to view Hex dump

Post by ajit5144 » Sun Jul 21, 2013 2:39 pm

Is there any other way to view Hex format (hex dump)of a PS dataset record except hex on ?

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Mon Jul 22, 2013 3:21 am

You could "print it" and look at in the output queue (provided it is not too large).

You can also view/edit the file and instead of setting HEX ON for the entire file, you can set hex on for a few lines by:
DikDude wrote:Sometimes it might be helpful to see only 1 or a few records in HEX (rather than the entire file w/ HEX ON).

When VIEWing or EDITing a file use the line command HX to show that line in HEX. To show 3 records, enter HX3. To turn the hex off enter HX (for 1) or HX3 (for 3). Or in the Command area, enter HEX OFF.
Have a good one

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others