How do you define a sort file in JCL that runs the COBOL program?


Use the SORTWK01, SORTWK02,….. dd names in the step. Number of sort datasets depends on the volume of data being sorted, but a minimum of 3 is required.

Category: Mainframe Interview Questions.