Thursday, December 8, 2011

CA7 Commands used frequently:


1. lq   ==> list all the jobs in the queue.
   if you need more specific info, ie list only the jobs u need, say eg: GTB

lq,job=gtb*
By giving this you can know whether the job is the ready queue or is it waiting for any resource or like that

LQ                                                                         
LIST=                                                  DATE=01.150    PAGE 00
                                                                            
  JOB  QUEUE CA-7 -DAY(DDD) AND TIME(HHMM)--   CPU     SCH ENTRY MSTR  JOB  
  NAME  NAME JOB# DEADLINE SUB/START DUE-OUT SPEC/RUN  ID  MODE  REQ  STATUS
                                                                            
GCP05BKP REQ 7635 143/0021 143/0225 143/0110  ALL-ANZH 001 SSCN  001  R-C0008
GTBAREND REQ 4258 145/2024  *NONE*  145/2032  ALL-     001 AUTO  009  LATE  
GTBASEND REQ 4259 145/2024  *NONE*  145/2032  *NOEX*   001 AUTO  002  LATE  
GTBASINI REQ 4290 145/2046  *NONE*  145/2054  ALL-     001 AUTO  001  LATE  
  
2. xqm,job=gtb*

list all job which came in the queue.

 -------------- CA-7 QUEUE MAIN
F-JOBNAME---J--I--E--U--N-SHJV
  GTBAREND  9  .  .  .  .    
  GTBASEND  2  .  .  .  .    
  GTBASINI  .  .  .  .  .  H 
  GTBITEND  .  .  .  1  .    

in this the job GTBASINI is in hold. if you want to release it , put  " r" in the left most side of the job.

3. To restart  the job, "f" in the left most side and then use the appropriate option.

4. To cancel the job, enter "c" on the left most side.
  
3. ljob,job=g3zarip,list=all
It will give information about which job is triggering this job , which jobs will be triggered by this and what are dependencies.
  
4. FSTRUC,JOB=JOBNAME
    It will give whole flow of jobs taking jobname mentioned above at top of the hirarchy.

5. XQ,JOB=JOBNAME
It will display job if that job is went in queue ie that is goin gto run once it’s dependency is finished.
6. RUN,JOB=JOBNAME
   It is going to run job independently.
  
7.RUNH,JOB=JOBNMAE

It will put job in queue with hold so you can do jcl edit ie u can give file override etc before running that.

8.DEMAND,JOB=JOBNAME
  It’s same as RUN except it also initiate the jobs which are being triggered by this.

9.DEMANDH,JOB=JOBNAME
It is same as DEMAND except it put the job in queue with hold so that you can do jlc edit , file overide etc.

10.LJCL,JOB=JOBNAME
   It will display the jcl of that job.

No comments:

Post a Comment