>> BTW, what's the syntax for comments in DFSORT command files?

Gil,

It is documented here

https://www.ibm.com/docs/en/zos/2.5.0?topic=rules-inserting-comment-statements

>> The solution above, lacking comments and with 8 numeric positional 
>> parameters is horribly opaque to the novice.

If there is NO reformatting(Binary/packed fields to Display fields, printing 
Hex numbers.... ), You just need POSITION of the data and LENGTH of the data to 
be written out.

//SYSIN    DD *
  OPTION COPY
* This is a sample comment with asterisks in position 1

  INREC BUILD=(05,08,    # copy from pos 05 for a length of 08
               15,05,    # copy from pos 15 for a length of 05
               22,21,    # copy from pos 22 for a length of 21
               45,05)    # copy from pos 45 for a length of 05
/*


Thanks,
Kolusu
DFSORT Development
IBM Corporation


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to