SORT Tips and Tricks and Examples
Various SORT cards to help us in day to day jobs
The following section presents the various SORT parms which can be used in various scenarios to achieve different results. Sorting through JCL can be handy when you wish to create files for various needs without having to write a COBOL program.
SORT JCL with STOPAFT and SKIPREC
SORT JCL to sort in Char format
; ; ; ;SORT JCL to filter data using INREC or OUTREC
SORT JCL to append data in a record using INREC or OUTREC
SORT JCL to put SPACES end of record using INREC or OUTREC
SORT JCL to copy when location of matching data is not known
Comments
Anonymous
Wed, 04/18/2012 - 06:01
Permalink
Thank You
Fantastic info mate ... beautifully explained .. ideal read of people new to sort cards.
Anonymous
Mon, 10/29/2012 - 06:37
Permalink
nice job
Easily explained!
Anonymous
Thu, 06/13/2013 - 05:18
Permalink
Great Job
Well Done!! It was so easily explained.