-------------------------------------- Notes on Winter 2000 Lab assignment #1 -------------------------------------- This description and JCL from Winter 2000 was provided as an extra example for this term, to give you more practice at reading JCL job descriptions. - don't specify DSORG, LRECL if you don't need them (keep it simple) - if they have correct defaults (e.g. an IDCAMS copy), don't specify them - remember to code LABEL for ANSI tapes - remember the 2K output block size limit for ANSI tapes - catalog a dataset on its last use, not its first use - use "PASS" on intermediate steps; use CATLG on the last step - spelling counts: MSGCLASS - CLASS= tells which overall system job queue to wait in - want the fastest class; but, be accurate about resource usage - PRTY= chooses priority within the selected CLASS= job queue - consider *whole* job when picking job CLASS= queue - MSGCLASS= sets JES (JCL) output message spool queue - directs the JCL and allocation messages to the queue you specify - typically no need for special forms - often select a queue to hold the JCL for TSO viewing - DISP=(MOD) is used for extending sequential datasets - not used to modify datasets during an update - we never use MOD in this course - you cannot make up DDnames - the expected DDnames are built into the programs you are using - all the DDnames were given in the question specifications for Lab 1 - no labels means SL (standard labels); a reasonable assumption - no need to code LABEL= for standard labels - note that LRECL defaults to 80 only for *instream* data - watch the DCB of your input when you use IDCAMS - IDCAMS copies the input DCB to output DCB unless you over-ride it - review "The C.L.G. Process" (see diagram) - the DDname for input to the compiler must be prefaced with the step name of compiler used in the PROC - the DDnames for input/output to/from the run/go step must be prefaced with the step name of the run/go step used in the PROC - if the step name you use in your JCL does not match the step name in the PROC, you will get a JCL error