You are on page 1of 11

CA7 Scheduling Documentation

1 Contents
1 CONTENTS............................................................................................................1 2 OVERVIEW...........................................................................................................1 3 HELP....................................................................................................................1 4 TAILORING PF KEY SETTINGS..............................................................................4 5 RESTARTING FAILED CA7 JOBS............................................................................6 6 RESTARTING FAILED CA7 JOBS USING CA-11......................................................7 7 CHECKPOINT RESTARTING FAILED CA7 JOBS FOR CMMS.....................................8

2 Overview
This is a general guide on CA7 with helpful tips and explanations of various functions within CA7.

3 Help
Once logged onto Ca7 typing 'Help' on the command line and then hitting enter takes you to an online CA7 tutorial screen. By simply entering Y in the INDEX field , this gives you a list/INDEX of all CA7 line commands and a brief description of what each command does.

Use PF8 and PF7 to scroll forward and backwards through the list. For a more detailed look at a command and the options within that command simply overtype the work index at the top of the screen with the required command

Use PF8 and PF7 to scroll forward and backwards through the details. All valid options are described in this display along with various command format examples.

If you already know the COMMAND but just want confirmation of variables/values etc associated with the command then simply enter the required command in the COMMAND field on the initial HELP screen, instead of entering Y for INDEX OF ALL COMMANDS and then enter y in the FORMAT, EXAMPLE, GENERAL and DETAIL fields , as is required for the details needed.

Hit enter

Use PF8 and PF7 to scroll forward and backward through the details.

4 Tailoring PF Key settings


To tailor your PF Key Settings to enable you to use frequently used CA7 commands without having to continuously type in the command follow the following instructions. If you want to have the LJOB command as a common used command associated with a specific PF key (in this example we will say PF05) then enter the following set of commands on the command line so that when you hit PF05 the preset command will appear on the command line. /PF05,M=(/ECHO,M=(LJOB,LIST=NODD,JOB=)) then hit enter

Where 05 is the number of the PF key you are assigning the command value to and LJOB,LIST=NODD,JOB= is the actual command value assigned to the PF key

/DISPLAY,ST=KEY This displays the pre set PF key settings

then hit enter

/PROF,KEYS=SAVE This saves the new settings of the PF KEYS.

then hit enter

Once this is setup then whenever PF05 is selected in CA7 the command value LJOB,LIST=NODD,JOB= will appear on the command line and you then only need to enter the actual jobname of the job that you want to execute the LJOB command against.

Any command can be set against any PFKEY and as a word of advise , remember that certain PF keys already have useful commands functions associated with them eg PF03 to quit/cancel and PF07 page back and PF08 page forward, so it is not advisable to override these keys. Also where a variable option is needed (such as a jobname for example) then that variable option needs to be spacified at the end of the command for ease entering. E.g. do not specify the command as LJOB,JOB=XXXXXXX,LIST=NODD because the cursor is always displayed at the end on the command and in the above example you would need to tab back to XXXXXXX and overtype with the jobname. It is much better to have the command LJOB,LIST=NODD,JOB= , then when you hit PF05 you can immediately enter the actual jobname with no back tabbing and obviously saves time. Once set, these PF Key settings will remain against your profile so that when you log off and log back on, the preset keys will remain available.

5 Restarting failed CA7 jobs


To restart a simple failure in CA7, where you simply want to rerun the job from the beginning then do an XQ against the job and then type F next to it to go to the below screen and then add a reason for resubmitting the job and add X to 'RESUBMIT FOR PRODUCTION'

This will then resubmit the job from the beginning

6 Restarting failed CA7 jobs using CA-11


When CA-11 is setup for a given job and if this job fails then when you come to rerun the job the restart screen will already have the required step detailed on the restart screen that CA-11 is setup to say you should restart from. It this information is deemed to be correct for the given error then simply add a reason for resubmitting in the REASON field and place an X next to the CA-11 RESTART/RERUN field and hit enter.

------------ CA-7 QUEUE MAINTENANCE - CPU JOB IN RESTART STATUS ----------JOB: MMZZPLAS CA-7#: 7041 REASON: RES --- RESUBMIT FOR PRODUCTION CODE: U3333 JES#: 16787 LAST-STEP: G MCNT: 001 NODE-NAME: LOCAL

--

-- FORCE COMPLETE PSEUDO: NO END: USAGE: LRTCD: =0

-- X -- CA-11 RESTART/RERUN START: C850A030.G CC: BYPGDG:

CMT STATUS: CMT SHOWS JOB IS SET FOR RESTART --- SET PARM DATA FOR RMS AND RESUBMIT PARM: --- DO NOT INSERT RMS PROC BUT RESUBMIT MSG-INDX: 00 -- QM.4-X -10.262 / 12:02:28

PROGRAM: QM50

MESSAGE: 'X' THE DESIRED FUNCTION OR ENTER A COMMAND ON THE TOP LINE

This will result in the Job being resubmitted and restarting from the beginning of the step specified in the 'START' field.

7 Checkpoint restarting failed CA7 jobs for CMMS


To checkpoint restart a failed CMMS job edit the JCL within CA7 by doing an XQ against the job and then enter E next to the job which will take you into the JCL that will be submitted when you submit this CA7 job. Add a RESTART parameter to the Jobcard stating the step that you want to restart the job at. For example "// RESTART=C850A030.G". Make sure you add a CONTINUATION COMMA also. See example below:-

Then change the procname of the step to be checkpoint restarted from MMBATCHP to MMRESTRP.

Type SR on top left corner of the screen. This will save & replace the changes made to the instance of the JCL, and return to the XQ screen. Then type F (RESTART) next to the job to go to the restart panel If there are any details automatically inserted into the CA-11 RESTART/RERUN section then tab to each of the fields and remove the entries. Add a reason for submitting the job and then tab to the bottom entry and place an X in the field for 'DO NOT INSERT RMS PROC BUT RESUBMIT'. Hit enter and this will resubmit the job without CA-11. If you get an error message saying 'CONFLICTING FUNCTIONS SELECTED'

then simply place the X next to 'RESUBMIT TO PRODUCTION' instead of 'DO NOT INSERT RMS PROC BUT RESUBMIT'. Normally 'RESUBMIT TO PRODUCTION' would be used to resubmit the job from the beginning but because you have updated the JCL with a RESTART parameter the job will not rerun from the beginning but will rerun from the step detailed on the RESTART parameter. --END--

You might also like