Friday 15 June 2012

MAKING TEMPORARY CHANGES TO JCL


MAKING  TEMPORARY  CHANGES TO JCL

To make temporary JCL changes for the next run of a job:

1.      Enter ‘FE’ for the function.
2.      Enter the job name to be changed in the MEMBER field
3.      The index number ill default to the JCL-ID defined to the member in the Job Screen
4.      Press ‘ENTER’
5.      Make all desired changes to the JCL. When finished, change the ‘PF’ command to ‘JCLS’ or ‘SAVE’
6.      When CA-7 returns you to the JCL screen, change the function to ‘SAVE’
7.      Go to the DSN field and press your ‘ERASE EOF’ key
8.      Tab over to the JCL-ID field and enter ‘254’
9.      Your cursor is now in the VOL-SER field. Press your ‘ERASE EOF’ key
10.  Press ‘ENTER’  

The message at the bottom of the JCL screen should now read ‘SAVE FUNCTION SUCCCESSFUL (JCL SET FOR RETREIVAL FROM OVRD-LIB)’. This indicates the next time the job enters the Request Queue, CA-7 will pull the JCL from the 254 library, and store it in the Trailer Queue for that run. The JCL will be deleted from the 254 upon successful completion of the job. The next production run will use a copy of the JCL from the production  library . If you need to make additional changes, specify ‘254’ in step#3. When all changes have been made, change the ‘PF’  command to ‘JCLSR’ or ‘SR’.
If you change your mind and do not want to use the changed JCL for the next run, specify ‘DELETE’ in the FUNCTION field, the job name in the MEMBER field, and ‘254’ in the JCL-ID field. This will put JCL retrieval for the job back to normal.

CA-7 also provides a number of functions which can be accomplished with statements which begin with a # in position 1. These statements may be located anywhere within the execution JCL after the JOB statement (PROCLIB members containing these statements are not seen by CA-7 and including them there would thus serve no purpose). They may be scheduled with #Jx statements if desired; however, they may be included by themselves if conditional inclusion is not necessary.

The following statements may be placed in the execution JCL:
#HLD Places the job on HOLD. Similar to the HOLD command and the job screen HOLD option.
#JCL Sets a JCL override requirement
#MSG Sends messages to the master station at job submission time. The syntax for this command is #MSG, message-text
# NOX Makes this run non executable  
# NTR Turns off triggering by successful job completion for this run. Similar to the DEMAND command with SET=NTR option.

No comments:

Post a Comment