JCL sort example using dfsort (Include parameter).



Free Tips, Tutorials, and Examples

Main Page    Submit Question or Tip     View List

Detailed Description:

JCL sort is actually really easy to do. You simply just call the sort job, pass it the files, and tell it the parms on what type of sorting you want. For example, if you want your JCL to only include a certain condition of rows on input, just use the sample parms on your sysin as shown:
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(41,3,CH,EQ,C'ABC') (This means you will include only the conditions where position 41, for 3 bytes, equals ABC). The include parameter can handle almost anything for extracting specifc rows from your input.


This site provides a list of interesting subjects, tips, and tricks. Although it is mostly computer tips, there are also tips and tricks related to various other helpful topics besides just computers. If you have an important tip that you think should be listed, feel free to post it below. Although I still take tips via email, I often scan and review posts on the page below and prefer that method.

Submit Tip or Ask Question:

Post It Here

View Other Databases:

View All Tips and Tricks
Spyware and System Task Database