JCL-Sort card “BI” to “ZD”

Many of the times you may come across checking the values in output files. But, you cannot see comp values in output. If you have file-aid tool, you can see the values in ZD(Zoned decimal) form.

For example, PIC S9(9) comp you can not see value in digit form in the output. This can be achieved by using  sort card

This is for Fixed length record:


For VB:


1,4 for VB RDW(Record descriptor word)

Last 5 is record starts from 5th position.

INREC options you can check HERE.

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.