CA7 Commands Used Frequently

CA7 COMMANDS CA7 Commands used frequently: 1. lq ==> list all the jobs in the queue. if you need more specific info, ie

Views 176 Downloads 0 File size 152KB

Report DMCA / Copyright

DOWNLOAD FILE

Recommend stories

Citation preview

CA7 COMMANDS

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 job name mentioned above at top of the hierarchy. 5. XQ,JOB=JOBNAME It will display job if that job is went in queue, that is going to run once it’s dependency is finished. 6. RUN,JOB=JOBNAME It is going to run job independently.

Version: 1.0, 24 September, 2010 ©Learning & Development

Uncontrolled if Copied / Printed

Page 1/8

CA7 COMMANDS 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.

How to put hold on job There are two ways to put a hold on the Job in CA-7. One is through the "JOB" command and the other is through the "JOBCONN" command. It is always preferable to put a hold through the "JOBCONN" command as we can add some information as to why the job is on hold and whom should be contacted before releasing the hold. Method I: Type "Job" on CA7. Type the job for which the hold needs to be put. Put a "Y" on the field "Hold". FUNCTION: UPD (ADD,DELETE,DD,DELPRRN,FORMAT,LIST,UPD) JOB: GDBARDL1 GENERAL: SYSTEM: GDB JOBNET: OWNER: UID: 61 JCL:

ID: 255 MEMBER: GDBARDL1 RELOAD: X EXEC: Y RETAIN-JCL: N LIB: &IGC REQUIREMENTS: HOLD: Y JCL-OVRD: N USE-OVRD-LIB: N VERIFY: N MAINT: Y SATISFACTION LEAD-TIME: JOB: 0 DSN: 0 ARFSET: EXECUTION: MAINID: ALL INSERT-RMS: Y COND-CODE: 0 RO: LT DONT SCHEDULE -- BEFORE: 00000 0000 AFTER: 99999 0000 MESSAGES: LTERM: REQUIREMENT-LIST: Y PROMPTS: N ERROR MSGS -- RQMTS NOT USED: Y DSN NOT FOUND: Y RESOURCES: REGION: 2048 CLOCK-TIME: 0021 CPU-TIME: 00147 CLASS: PRTY: 000 MSGCLASS: S TAPE DRIVES...TYPE1: 000 M 000 C TYPE2: 000 M 000 C PROGRAM: SM20 MSG-INDX: 00 -- DB.1 MESSAGE: UPD SUCCESSFUL

Version: 1.0, 24 September, 2010 ©Learning & Development

-- 01.130 / 13:41:19

Uncontrolled if Copied / Printed

Page 2/8

CA7 COMMANDS Method II: Type "JOBCONN,USR" in the command line in CA7. Type "List" in function and the "JOB name" in "PRED FOR JOB" field. This will list all the jobconn holds that are active for this job. Type "UPD" in function and the "JOB name" in "PRED FOR JOB" field. Then type "A" in "OPT" and the comments indicating the reason for the hold in the field "*--- MEMO-FORM USER PREDECESSOR ---* ". --------------------- CA-7 USER MEMO-FORM PREDECESSORS --------------------FUNCTION: UPD (FORMAT,LIST,UPD) PAGE 0001 PRED FOR JOB: GDBAROL1 LIST-SCHID: OPT SCHID *--- MEMO-FORM USER PREDECESSOR ---* NEXT-RUN A CICSGD0 AROC FIRST OPTION YES

What to do when u need to run job from override …….. If the requirement is to run a job from the override just once then put a "Y" in the field "USEOVRD-LIB". By doing this CA7 does the following: • • •

Picks up the JCL from the override library for the next run only. Resets the value of the field "USE-OVRD-LIB" to a "N". Deletes the JCL from the override library.

------------------------- CA-7 CPU JOB DEFINITION -------------------------FUNCTION: LIST (ADD,DELETE,DD,DELPRRN,FORMAT,LIST,UPD) JOB: GCIARDL1 GENERAL: SYSTEM: VISION JOBNET: OWNER: UID: 61 JCL:

ID: 255 MEMBER: GCIARDL1 RELOAD: N EXEC: Y RETAIN-JCL: N LIB: &GCP REQUIREMENTS: HOLD: N JCL-OVRD: N USE-OVRD-LIB: Y VERIFY: N MAINT: Y SATISFACTION LEAD-TIME: JOB: 0 DSN: 0 ARFSET: EXECUTION: MAINID: ALL INSERT-RMS: Y COND-CODE: 0 RO: LT DONT SCHEDULE -- BEFORE: 00000 0000 AFTER: 99999 0000 MESSAGES: LTERM: REQUIREMENT-LIST: Y PROMPTS: N ERROR MSGS -- RQMTS NOT USED: Y DSN NOT FOUND: Y RESOURCES: REGION: 2048 CLOCK-TIME: 0059 CPU-TIME: 00422 CLASS: PRTY: 000 MSGCLASS: S TAPE DRIVES...TYPE1: 000 M 001 C TYPE2: 000 M 000 C PROGRAM: SM20 MSG-INDX: 00 -- DB.1 MESSAGE: LIST SUCCESSFUL

-- 01.135 / 11:22:17

This way we can just make the change once and forget about it (we don't need to reset the job to run from normal after the first run).

Version: 1.0, 24 September, 2010 ©Learning & Development

Uncontrolled if Copied / Printed

Page 3/8

CA7 COMMANDS

If you want to hold a Job which has already in CA-7 queue In the event that you are unable to perform a JOBCONN hold, try this In CA7 type this command ADDRQ,JOB= jobnumber, USR=comments

How to add jobs in triggering list ie if a triggers b then how u define it go to ca7 type SCHD then u will get following screen --------------------------- CA-7 SCHEDULING MENU ------------FUNCTION ===> DATE/TIME SCHEDULING FOR: 1 - CPU JOB 2 - INPUT NETWORK 3 - OUTPUT NETWORK TRIGGER SCHEDULING FOR: 4 - JOB TRIGGERING OTHER CPU JOB(S) 5 - INPUT NETWORK TRIGGERING CPU JOB(S) 6 - DATA SET TRIGGERING CPU JOB(S) OTHER FUNCTIONS AVAILABLE: 7 - MODIFICATION TO RESOLVED SCHEDULE DATES 8 - BASE CALENDAR MAINTENANCE type 4 in front of function line then u will get following screen --------------------------- CA-7 JOB TRIGGERING ---------------FUNCTION: (FORMAT,LIST,UPD) JOB: OPT SCHID TRGD-JOB TRGID DOTM QTM LDTM SBTM *---- EXCEPTIONS Give function and job name For example --------------------------- CA-7 JOB TRIGGERING -----FUNCTION: LIST (FORMAT,LIST,UPD) JOB: G6ZAROL3 OPT SCHID TRGD-JOB TRGID DOTM QTM LDTM SBTM *---000 G6ZAR4A1 0100 000 G6ZAR5A 0100 000 G6ZAR6A1 0100 000 G6ZAR7A1 0100 000 G6ZAR7C1 0100 000 G6ZAR8A 0100 000 G6ZAR8B 0100 000 G6ZAR8C 0100 000 G6ZAR8D 0100 to add do like below and press enter Version: 1.0, 24 September, 2010 ©Learning & Development

Uncontrolled if Copied / Printed

Page 4/8

CA7 COMMANDS FUNCTION: upd (FORMAT,LIST,UPD) JOB: G3ZAROL3 OPT SCHID TRGD-JOB TRGID DOTM QTM LDTM SBTM *---- EXCEPTIO 000 G3ZAR4A1 0100 000 G3ZAR5A 0100 000 G3ZAR6A1 0100 000 G3ZAR7A1 0100 a g3zar7c1 0100

To add job in batch ie if job is not found in ca7 type job in ca7 following screen will come ------------------------- CA-7 CPU JOB DEFINITION --------------------FUNCTION: (ADD,DELETE,DD,DELPRRN,FORMAT,LIST,UPD) JOB: GENERAL: SYSTEM: JOBNET: OWNER: UID: JCL:

ID: MEMBER: RELOAD: EXEC: RETAIN-JCL: LIB: REQUIREMENTS: HOLD: JCL-OVRD: USE-OVRD-LIB: VERIFY: MAINT: SATISFACTION LEAD-TIME: JOB: DSN: ARFSET: EXECUTION: MAINID: INSERT-RMS: COND-CODE: DONT SCHEDULE -- BEFORE: AFTER:

RO:

MESSAGES: LTERM: REQUIREMENT-LIST: PROMPTS: ERROR MSGS -- RQMTS NOT USED: DSN NOT FOUND: RESOURCES: REGION: CLOCK-TIME: CPU-TIME: CLASS: PRTY: MSGCLASS: TAPE DRIVES...TYPE1: M C TYPE2: M C PROGRAM: SM20 MSG-INDX: 00 -- DB.1 -- 01.220 / 11:48:32 MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE Select function and job name and press enter For example ------------------------- CA-7 CPU JOB DEFINITION ---------------------FUNCTION: ADD (ADD,DELETE,DD,DELPRRN,FORMAT,LIST,UPD) JOB: G3ZNBMO3 GENERAL: SYSTEM: G6Z JOBNET: OWNER: UID: 61 JCL:

ID: 255 MEMBER: G3ZNBMO3 RELOAD: X EXEC: Y RETAIN-JCL: N LIB: &GCP REQUIREMENTS: HOLD: N JCL-OVRD: N USE-OVRD-LIB: N VERIFY: N MAINT: Y SATISFACTION LEAD-TIME: JOB: 0 DSN: 0 ARFSET: EXECUTION: MAINID: ALL INSERT-RMS: Y COND-CODE: 1 RO: LT DONT SCHEDULE -- BEFORE: 00000 0000 AFTER: 99999 0000 MESSAGES:

LTERM:

REQUIREMENT-LIST: Y PROMPTS: N

ERROR MSGS -- RQMTS NOT USED: Y DSN NOT FOUND: Y Version: 1.0, 24 September, 2010 ©Learning & Development

Uncontrolled if Copied / Printed

Page 5/8

CA7 COMMANDS RESOURCES: REGION: 2048 CLOCK-TIME: 0003 CPU-TIME: 00004 CLASS: PRTY: 000 MSGCLASS: S TAPE DRIVES...TYPE1: 000 M 000 C TYPE2: 000 M 000 C PROGRAM: SM20 MSG-INDX: 00 -- DB.1 -- 01.220 / 11:56:00 MESSAGE: ADD SUCCESSFUL, DEFAULTJOB USED FOR DEFAULT VALUES

If requirment is to be added go to ca7 type JOBCONN Following screen will come : ------------------- CA-7 JOB PREDECESSOR/SUCCESSOR MENU ---FUNCTION ===> EXECUTION REQUIREMENTS DEFINED BY: 1 - DATA SET PREDECESSORS 2 - CPU JOB PREDECESSORS OR MUTUALLY EXCLUSIVE JOBS (CAN NOT RUN AT SAME TIME) 4 - INPUT NETWORK PREDECESSORS OR OUTPUT NETWORK SUCCESSORS 6 - USER MEMO-FORM PREDECESSORS 7 - REPORT IDS CREATED select fuction 4 following screen will come --------------------- CA-7 INPUT/OUTPUT NETWORK TASKS ---------------------FUNCTION: (FORMAT,LIST,UPD) PAGE 0001 TASK FOR JOB: LIST-SCHID: OPT SCHID LEADTM NETWORK SUB-ID NWK-SCHID DESCRIPTION NEXT-RUN

Version: 1.0, 24 September, 2010 ©Learning & Development

Uncontrolled if Copied / Printed

Page 6/8

CA7 COMMANDS

Type function and job and press enter -------------------***** *****-------------------

EXPERIAN LTD (TALBOT HOUSE)

PLEASE ENTER LOGON DATA OR PRESS PF3 TO DISCONNECT ***** WELCOME TO THE TALBOT HOUSE CA7D R3.1 SYSTEM **** ***** ANY PROBLEMS CONTACT OPERATIONS CONTROL ***** USERID PASSWORD NEW PASSWORD UID RESOURCE PARMS

: : : : :

ramakrk

TERMINAL NAME : VTM005 VTAM APPLID : CA72 LUNAME : VTERZK0

DATE : 00.217 TIME : 19:12:53 LEVEL : V3L2 (9906)

ca70215 CCCCCCCCCCC AAAAAAAAAA CCCCCCCCCCC AAAAAAAAAA CCC AAA AAA CCC AAAAAAAAAA 0000 CCC AAAAAAAAAA 0000 CCC AAA AAA CCCCCCCCCCC AAA AAA CCCCCCCCCCC AAA AAA

77777777777 77777777777 7777 7777 7777 7777 7777 7777

COPYRIGHT (C) 1988, 1996 COMPUTER ASSOCIATES INTERNATIONAL, INC.

--------------------- CA-7 INPUT/OUTPUT NETWORK TASKS ---------------------FUNCTION: lIST (FORMAT,LIST,UPD) PAGE 0001 TASK FOR JOB: G6ZARSAV LIST-SCHID: OPT SCHID LEADTM NETWORK SUB-ID NWK-SCHID DESCRIPTION NEXT-RUN

The Login Screen – USAGE of the UID: The UID resource is required to perform any DEMAND , CANCEL etc. within CA7. CA7 will allow you login if you do not put this in, but you will not be able to run any jobs.

To Customise CA-7 For Your Ease The use of the PF1 and PF2 keys will be described later on in the guide. Customise the PF4 key as follows /PF04,MSG=(LQ,SYS=GEMSXPR9) This will define the PF4 key to show the list of jobs currently queued in all of the queues. The difference between this and the PF2 key is that this will show jobs from out schedule only, making it easier to monitor. Once this is done, this can be saved into the profile using /PROF,KEYS=SAVE The UID Resource can be permanently embedded into your respective profiles as follows: /PROF,R=CA70215 Once this is executed you can see your respective profiles by typing Version: 1.0, 24 September, 2010 ©Learning & Development

Uncontrolled if Copied / Printed

Page 7/8

CA7 COMMANDS /PROF The following display will show when this is done.

CA7 queues Ca7 has 3 queues. REQ = this is the request queue. Any job waiting to be run will be in the request queue. A job will enter the request queue once the job that triggers it completes normally. It will wait in this queue until all requirements for it to run are satisfied. This queue can be viewed using the PF1 function key. RDY = This is the ready queue. All job that have been submitted to JES will enter this queue. This queue can be viewed using . If a job returns with a JCL error in the job card, it will remain in this queue. ACT = All jobs that start execution will enter this queue. PF2 will display jobs in all the queues. PF4 is the customised version of this queue as described before.

/PROF * CA-7 PROFILE: ID=RAMAKRK 0001 PF04

R=CA70215

MAINT=00.217/19:20 BY RAMAKRK

PAGE

LQ,SYS=GEMSXPR9

SCMP-00 DISPLAY COMPLETE AT 19:20:23 ON 00.217.

COMPUTER ASSOCIATES INTERNATIONAL, INC.

Version: 1.0, 24 September, 2010 ©Learning & Development

Uncontrolled if Copied / Printed

Page 8/8