Ca7 Commands

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

CA-7 USER COMMANDS

1.Commands that are used to know the status of the job(s)


LQ,JOB=jobname Use this command to obtain CA-7 information on the jobs in the ready, request and active queues LQ,JOB=jobname,ST=LATE Use this command to obtain CA-7 information on the jobs in the request that are in late status. LACT,JOB=jobname or SYS=sysname Use this command to obtain CA-7 information on jobs in the active queue. The JOB=jobname parameter can be a specific job or can be a generic mask such as JOB=GSAJ*. The SYS=system name parameter can be either an * indicating all systems or the value must be a specific system name. LIST Use this command to obtain CA-7 information on the jobs in the request that are in abend status. LJES,JOB=jobname or SYS=sysname Use this command to obtain CA-7 information on jobs in the active queue with the information of the stepname that is currently being executed. The JOB=jobname parameter can be a specific job or can be a generic mask such as JOB=GSAJ*. The SYS=system name parameter can be either an * indicating all systems or the value must be a specific system name. XQM,JOB=jobname,Q=REQ or Q=RDY or Q=ACT Use this command to review and/or perform actions on the request queue. The JOB=jobname parameter may be a specific jobname or generic such as JOB=GSAJKN*. The Q=queue name parameter is optional and the queue name may be REQ (request), RDY (ready) or ACT (active). The list is displayed in jobname sequence and a summary of the requirements is displayed. If no members are found matching the jobname criteria, the QUEUE MAINTENANCE panel is displayed.

2.Command used to know the general information pertaining to a particular job


LJOB,JOB=jobname,LIST=ALL Use this command to obtain miscellaneous information about a job. The LIST=ALL parameter provides information about the job requirements, triggers and characteristics or attributes.LIST=TRIG parameter provides information about the job triggers.

3.Commands used to track the flow of the jobs


FSTRUC,JOB=jobname,SCHID=xx Use this command to obtain job flow structure information for a job. FRJOB,JOB=jobname,SCHID=xx Use this command to obtain reverse job flow structure information for a job.

Electronic Data Systems

Page 1 of 3

CA-7 USER COMMANDS

4.Commands used to forecast a job


FJOB,FROM=(mmddyy,hhmm),TO=(mmddyy,hhmm),SYS= sysname Use this command to obtain forecasted job execution information for jobs in a specified system for a specified date and time period. FJOB,SPAN=hh,SYS= sysname Use this command to obtain forecasted job execution information for jobs in a specified system for a specified future time span in hours.

5.Miscellaneous commands
ADDRQ,JOB=jobname or job number,DEPJOB=job this run is dependent on ADDRQ,JOB=jobname or job number,USR=text Use the ADDRQ command to manually add temporary, one-time, pre-execution user or predecessor job requirements. These requirements must be added to the job while it is in the CA-7 request queue. These added requirements apply only to the current run of the job. CANCEL,JOB=jobnumber or jobname,FORCE=YES,REASON=text Cancel a job Use the CANCEL command to delete jobs from the CA-7 queues. This command only removes the job from the CA-7 queues. Cancelation of a job in the CA-7 active queue or ready queue (if it has been submitted) does not cause termination of the job's execution. CPU jobs which may be executing have to be canceled from the operating system separately. (Note: If you want to cancel the job without removing it from the CA-7 queue, do not specify FORCE=YES.) DEMANDH,JOB=jobname,SCHID=schedule ID Demand a job into request queue It is advisable not to use DEMANDH to run nightly cycle jobs during the day. The post-processing will cause the out-conditions to be posted, possibly allowing any successors to execute as soon as CA-7 brings them into the request queue. You will be prompted to enter hold information (name, phone, and reason for hold). Go to the request queue and review your job to make sure it has the appropriate requirements. If everything looks okay, release the hold requirement. NOTE:-Schedule ID is required procedurally, but is not required by CA-7. Be extremely careful to use the correct SCHID when demanding jobs into CA-7. If you do not specify a schedule ID, CA-7 will use the first schedule ID it finds in the CA-7 database, which may not be the one you want.

Electronic Data Systems

Page 2 of 3

CA-7 USER COMMANDS

RUNH,JOB=jobname Use this command to execute a special run of a job so that requirements will not be posted, and jobs will not be triggered. This command places a HOLD on the job which must be posted.Note that any mutually exclusive conditions the jobs have (which are requirements) will not take effect. LRLOG,SPAN=hh,SYS= sysname Use this command to review the run log information for jobs in a specified system for the specified span of time in hours. PRINT,SCAL=xx To list processing days for a specific calendar, use the above command where nn=last 2 characters of calendar name

Electronic Data Systems

Page 3 of 3

You might also like