Go to:  Davar site entry | Site contents | Site index | Mainframe | JCL | Text bottom

SORTWRK  INCLUDE  JCL  Block

        

SORTWRK INCLUDE JCL block is a standard Data Definition for 5 sort working data sets.  This definition repeats over and over again for every job step executing the program which performs system sort (typical example is a COBOL program performing internal sort).

        

Like any other INCLUDE it is simply a shorthand, which permits to substitute several lines of the newly typed or Cut-n-Pasted operators for one line referring to a tested and reliable JCL block.  Any number of INCLUDE statements can be coded in a job, provided that their names are unique within the job.  For example of INCLUDE usage see the SORTSEQ cataloged procedure.

        

Up to 100 CYLinders of fast Virtual Input/Output (VIO) storage looks quite sufficient for most standard sorts and can be adjusted at a single point of control — SORTWRK block.  If only an Ad Hoc adjustment is necessary it's easy to Cut-n-Paste SORTWRK where necessary and adjust accordingly.




     //******** Sort Working Data Sets --------------- 12/15/1998–12/15/1998
     //*
     //SORTWK01 DD  UNIT=VIO,SPACE=(CYL,(10,6))
     //SORTWK02 DD  UNIT=VIO,SPACE=(CYL,(10,6))
     //SORTWK03 DD  UNIT=VIO,SPACE=(CYL,(10,6))
     //SORTWK04 DD  UNIT=VIO,SPACE=(CYL,(10,6))
     //SORTWK05 DD  UNIT=VIO,SPACE=(CYL,(10,6))
  

View [and save] SORTWRK.INC text   (Use [Back] button or [Alt]+[CL] to return here)
Go to:  Davar site entry | Site contents | Site index | Mainframe | JCL | Text top