Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

CA-7 and CONTROL-M COMMANDS

PROCESS : CA-7 and CONTROL-M Commands


FREQUENCY : As Needed
LAST UPDATED : 09/26/00 BY: John Blankenship
LAST REVIEWED : 10/10/00 BY: Shari Bruce

 Common CA-7 Commands (Use ISPF option E.7.7;1 to get into CA-7)
NOTE: For jobname you can use an asterix (*) to display all jobs, or part of the jobname and an asterix (*) to display all jobs that begin with certain
characters, or you can use the entire jobname to display a specific job. You can also use the CA7 job number to display specific jobs.)
EXAMPLE: LQ,JOB=* This command will display all jobs that you have authority to see.
LQ,JOB=EIBS* This command will display all jobs starting with EIBS.
LQ,JOB=EIBSSSDYThis command will display all jobs called EIBSSSDY.
LQ,JOB=1234 This will display any job with a CA-7 job number of 1234.

CA-7 COMMAND DESCRIPTION

ADDRQ,JOB=jobname,USR=SE WILL RELEASE Will add user requirement to job. Only works if job is
already in Request queue.
CANCEL,JOB=jobnumber,FORCE=YES,REASON=xxxx Cancels job from the queue using job number
CANCEL,JOB=jobname,FORCE=YES,REASON=xxxx Cancels job from the queue using job name
DEMAND,JOB=jobname,SCHID=xxx Forces jobs into the queue and triggers jobs with the
same SCHID.
DEMANDH,JOB=jobname,SCHID=xxx Forces job into queue in HOLD status, will trigger jobs
with the same SCHID.
DEMAND,JOB=jobname,SCHID=xxx,SET=NTRG Forces job into queue without triggering other jobs.
DEMANDH,JOB=jobname,SCHID=xxx,SET=NTRG Forces job into queue in HOLD status without triggering
other jobs.
FJOB,JOB=EIBS*,FROM=MMDDYY,TO=MMDDYY, To list forecast of auto schedule jobs. Must specify dates.
FQJOB Allows you to look at what will come in automatically
from what is currently in the queues.
FSTRUC,JOB=jobname,SCHID=xxx To list the network or JOB trigger structure defined for
all subsequent jobs in the string. Must include the SCHID.
JCL,jobname Displays the edit work file with a copy of master JCL
LIST List jobs in abend status
LIST,JOB=*
LJCL,JOB=jobname List the master JCL for job specified.
LJOB,JOB=jobname,LIST=xxx List the JOB information for job specified and LIST
LIST=ALL, DEPJ, JOB, RQJOB, RQDSN allows you to specify what information is desired.
SCHD, STEPDD, REQMT or TRIG.
LLOCK List job locked status information.
LLOCK,JOB=*
LLOCK,LIST=NXTCYC
LPRRN,JOB=jobname List the last prior run of job.
LPRRN,JOB=EIBS* List the last time job starting with EIBS runs to good EOJ.
LQ List job queue contents.

CA-7 COMMAND DESCRIPTION

LQ,JOB=jobname List the status of job specified if it is in one of the queues.

LQ,JOB=EIBS* List the status of all jobs starting with EIBS if they are
in one of the queues.

Page: 1 /conversion/tmp/activity_task_scratch/709286580.doc 12/01/23


CA-7 and CONTROL-M COMMANDS
LQ,JOB=jobname,LIST=JCL List the JCL of a job currently in one of the queues.
LQ,SEQ=JOB or DOTM
LQ,ST=LATE, HELD, RSTR, SUBM, JCLR, SKEL,NOID,ABND,
or RTRY
LQ,LIST=RQMT, STATUS, JCL or ALL
LRDYP List content of ready queue
LRDYP,LIST=STATUS List content of ready queue by status
LRDYP,SEQ=PRTY/JOB
LRDYP,JOB=jobname
LRES List resources for jobs
LRES,JOB=jobname
LRES,Q=ALL, REQ, REDY, OR ACT
LRLOG,DATE=*YYDD List the Run Log information
LRLOG,JOB=*
LRLOG,ST=CANCEL OR LATE
LRLOG,LIST=ALL, JOB, RSTR
LSCHD List schedule information
LSCHD,JOB=jobname,ST=EXP, MOD, JAN,
LSCHD,LIST=SCHD,JOB=jobname
NXTCYC,JOB=jobname,SET=SKP To skip a job on schedule scan the next time it is to run.
NXTCYC,JOB=jobname,SET=ON To negate above command.
QJCL,jobname Pulls into Edit Work File the JCL as it looks in REQ
Queue. (Not necessarily the same as Master JCL.)
Allows for modifications to current run JCL.
RELEASE,JOB=jobname Releases a job from CA-7 hold. Will satisfy all
outstanding requirements, so it should not be used unless
You are sure there are no outstanding requirements or
you wish to bypass them.
REQUEUE,JOB=jobname Moves the job from the RDY or ACT queues to the REQ
Queue so you can change or resubmit job. This should
If the job is not found on JES or the job is in SKELETON
status.
XQ Displays the Request Queue.
XQ,JOB=EIBS* Displays all jobs in request queue starting with EIBS.
from this screen you can perform any task.
XQN XQ by job number
XQJ XQ by job name

CA-7 COMMAND DESCRIPTION

XRST,JOB=jobname Pulls up the restart screen for job.


XRST,JOB=jobnumber
XRQ,JOB=jobnumber Pulls up the screen that allows you to post outstanding
requirements.
XUPD,JOB=jobname Used to update job information for a job in the REQ queue.

 Common CONTROL-M Commands (Use ISPF option E.CM (on Adelaide) or P;IOA5;2 (on Sydney) to get into CONTROL-M)
To look at the JOB STATUS queue:

From the IOA PRIMARY OPTION MENU, select option 3 (JOB STATUS).

Page: 2 /conversion/tmp/activity_task_scratch/709286580.doc 12/01/23


CA-7 and CONTROL-M COMMANDS
Type SH or SHOW on the command line in CONTROL-M to access the SHOW SCREEN FILTER panel.
You can use this to filter the job listing by typing the job name or prefix next to the MEMNAME field.

Type an H next to the jobname in CONTROL-M to place a job on HOLD.


Type an F next to the jobname to FREE a job that is on HOLD.
Type a J next to the jobname to EDIT the JCL within CONTROL-M. We do not have authority to edit the production JCL on Sydney.
NOTE: For Adelaide, you can EDIT the JCL directly in CONTROLM. For Sydney, We do not have authority to EDIT the production
JCL. You will have to create a member in SH99.IPACS.MASTER and use the OVERRIDE field on the CONTROL-M ZOOM
SCREEN
To point to SH99.IPACS.MASTER in order to correct a job in CONTROLM. For instructions on how to do this, see:
USPLSCS114\Psc_beta\Ipacs\Site IPACS\SYDNEY\SYIPC1A\SY1A_Info.doc for further instructions.
Type an O next to the jobname to FORCE a job complete. Then type Y (for YES) or N (for NO) at the FORCE OK panel to confirm.
Type an R next to the jobname to RESTART an abended job.
Type an S next to the jobname to see job STATISTICS.
Type a Z next to the jobname to ZOOM into the job definition screen.
Type a ? next to the jobname to see what JOB requirements (IN-CONDITIONS) are remaining on a job in WAIT SCHEDULE status.

To FORCE in a job to run (similar to DEMAND in a job on CA-7):


From the IOA PRIMARY OPTION MENU, select option 2 (JOB SCHEDULING DEFINITION).
In the LIBRARY field, type in the name of the Production Scheduling library (you can also enter a TABLE name or leave it blank for
a listing of tables):
LIBRARY ===> PEIBS.BSSSC.SCHEDULE (for Adelaide)
TABLE ===> ADHOC (or DAILY, FRIDAY, MONTHX, MONTHXW, USRDAILY, WEEKLY)
or
LIBRARY ===> PEIBS.PACSC.SCHEDULE (for Adelaide)
TABLE ===> ADHOC (or DAILY, FRIDAY, SPLITTER, USRDAILY, WEEKLY)
LIBRARY ===> SH99.CTM.SCHEDULE (for Sydney)
TABLE ===> Z4
If you left the table name blank and got a listing of tables, you will have to type an S (for select) next to the table that contains
the job you want to force in.
Once you reach the listing of JOB NAMES, type an F next to the job to FORCE a job into the CONTROL-M queue. You will then
have to type a Y (for YES) to confirm or an N (for NO) to cancel.

Page: 3 /conversion/tmp/activity_task_scratch/709286580.doc 12/01/23

You might also like