Output packed decimal field to its hex equivalent using SORT

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
may132012
Member
Posts: 2
Joined: Fri Jan 05, 2018 1:23 am

Output packed decimal field to its hex equivalent using SORT

Post by may132012 » Mon Jul 29, 2019 6:01 pm

I have a variable length record with each field delimited by the '@' character.
The first field on the record is 16 bytes in length in packed format. I want to output the record with this field changed to its 32 character hex format. The rest of the record stays the same.

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