You are on page 1of 6
CA7 DOCUMENTATION AND QUICK REFERENCE FOR DB2 TEAM WHEN TRYING TO FIND SOMETHING IN THIS MEMBER PLEASE DO A FIND ON THE KEYWORD YOU ARE LOOKING FOR, IF THERE IS A CONTROLM EQUIVALENT AND IT IS NOT IN THIS MEMBER PLEASE FEEL FREE TO ADD IT. THE FOLLOWING IS THE WEB PAGE FOR THE CONVERSION ACTIVITY FOR CA7/11 http://www.osg.eds.com/ossu/tipm/caactiv/ca7£tp.htm THIS MEMBER CAN BE REFERENCED FOR STANDARDS AND USEFULL INFORMATION. ACCESSING CA-7 FROM ISPF E.7.7 THEN 1 FOR ONLINES. THIS WILL TAKE YOU TO THE QUEUE MANAGEMENT SCREEN, WHERE YOU CAN CHOOSE THE QUEUE MANAGEMENT COMMANDS OR GO INTO OPTION E.7.P FOR PSI AND USE THE PANELS FOR PSI. *I£ you are to choose option 1 for Onlines you have to be in the same image as ca7. *PSI will only list the jobs in the following queues: ** REQUEST -- jobs which have been scheduled into the queue, but their Preexecution requirements have not been met. ** READY -- job is ready to run. ** active -- Job is currently running. JEU III I III III IIIT I TOTO TT TIT TTI ATI TAS TIAA SII ** Requests to make any kind of changes to the scheduling library ** ** are still submitted thru controlm job order request (e.cm.6.j) ** ** until further notice. + JUHU IGS JIS IAI IIIT IIIT TAIT III I AAAI CA-7 BASIC COMMANDS TO MONITOR A CYCLE USING THE LIST CMDS TO DETERMINE JOB/CYCLE STATUS XQ,JOB= jobname This cmd will display jobs in the Request queue and allow the status of those jobs to be updated 1Q,JOB= jobname Shows the status on all production activity in ca7. 1Q, ST=ABND, JOB=* This cmd will show you all the abended jobs.This cmd is very helpful in determining the queue in which a job currently resides. LJOB,JOB= jobname ,LIST=ALL It will show all the information on a particular job such in-conditions and prose information. PLACING JOBS ON HOLD There are two ways of placing a job on hold. You can use the Hold command or go through the XQ screen. HOLD, JOB=jobname CA7 will prompt you for text and the job will be held. XQ, JOB=jobname Move the cursor down to the job you want to place on hold and type # in front if it. CA7 will prompt you for text and the job will be held. FORCING A JOB INTO THE CA7 REQUEST QUEUE *#When forcing a job in CA7 is very important to know if there are any jobs that are going to be triggered. It is a good idea to always force the job on hold and then release. DEMANDH, JOB=jobname DEMANDH, JOB=jobname, SCHID=xx (xx schedule id of the job) This cmd will force a job on hold with a specific Schedule id. DEMANDh , JOB=jobname, SET=NTR This cmd will demand a job without any triggers DETERMINING WHO PLACED A JOB ON HOLD ** List the job — XQ,JOB=xxxxx Tab down to the jobname and put an H (for hold), after you hit enter it will display a box with the information of who, and why was the job put on hold. DELETING A JOB FROM CA7 There are two ways of deleting a job. You can use the cancel command or go through the XQ screen. CANCEL, JOB: jobname,REASON=(text up to 40 alphanumeric) jobnumber Becareful when using this cmd because if you have more than one job with the same name it will cancel all of them, the best way to cancel the job will be by the ca7 job number. XQ, JOB=jobname Move the cursor down to the job you want to cancel and type C in front if it. CA7 will prompt you for text and the job will be cancel. POSTING A CONDITION TO A JOB Use the XQ screen to add a condition to a job in CA-7 or you can use the Cnd. XQ, JOB=jobname Move the cursor down to the job you want to add a condition to and place an X in front of it. Move cursor down to the condition that is to be posted and put an X in front of it. ADDING A CONDITION ADDRQ, JOB=Kxxxxx , DEPJOB=2222222 Where Xxxxx is the job name in the queue, and Zzz2z is the job you want to add to Xxxxx as an additional dependency. These added requirements apply only to the current run of the job. LISTING DOCUMENTATION FOR A JOB Use the LPROS cmd to list documentation for a particular job. LPROS,JOB= jobname This cmd will show you the documentation that the scheduler/programmer has provided. FORECAST CMD The FORECAST cmd will give you the forecast schedule work for a given period of time. Successor jobs triggered by predecessor jobs or any jobs triggered by datasets created in the predecessor jobs may also be included. FJOB, FROM= (mmddyy ,hhmm) , 70=(mmddyy-hhmm) ,JOB= jobname ,SYS= System id This cmd will show you all the jobs that will run for a specific period of time by JOBNAME or the SYSTEM ID FRJOB , JOB=jobname Shows a reverse job flow(reverse trigger flow) based upon information from the database. PSTRUC, JOB=Kxx , SCHID=NN This command will show you the cycle flow from the job and schid you specify. *#Xxx is the job you want to forecast from and NN is the schedule ID you are forecasting from. This cmd will show you the cycle flow from the job you specify. USING THE LIST LOG AND LIST PRIOR RUN CMDS LRLOG , SPAN=* , JOB=jobname This cmd will list information from the CA7 Run log. These events include job and network completions and exception events such as restarts,force complete,and cancels. **Where SPAN=* is the amount of days or time you want to list for the job you are serching for. LPRRN, JOB=jobname Lists job information from the prior run queue. The prior run queue contains information about the last successful completion of each job. CA7 COMMANDS AND '=TERMID 7DISPLAY , T=ALL /LOGON MASTER ADDRQ, JOB=## , USR=XXXXXX CANCEL , JOB=### , REASON=PERSE, FORCE=YES TH SAME NAME. HOLD , JOB=PLIPICRM HOLD ,Q=REQ JOB, JOBNAME LQ LACT LACT, SEQ=JOB LARF , ARFSET=PLIPIC* ,LIST=ALL LIST LICL JO LICL JO LJOB JO! LJOB JO! ]OBNAME JOBNAME , JCLIB### XXXX , LIST=ALL jOBNAME, LIST=TRIG OMT STR ATE, JO) ATE , LIST= ATE , SEQ=DOTM LRDYP, LIST=STATUS LREQ LRLOG LPROS , JOB=JOBNAME LRLOG, JOB=JOBNAME , DATE=* LSCHD, JOB=XXXX, LIST=CALS LSTP JOBNAME LWLB REQUEUE, JOB=JOBNAME RELEASE , Q=RDY EXPLANATIONS CLOSE LOGGED-ON TERMINAL CLOSE TERMINAL BY ID DISPLAY ALL REGION DATA SETS DISPLAY ALL PF KEYS DISPLAY ALL TERMINALS LOGON AS MASTER CONSOLE OPEN TERMINAL SETUP PF KEY RESET TERMINAL SHUTDOWN REGION START TERMINAL STOP TERMINAL SEND MESSAGE TO THE MASTER CONSOLE ADD A JOB DEPENDENCY ADD A USER REQUIREMENT - CANCEL JOB FROM SCHEDULE** SCHEDULE A JOB TO RUN FORCE OR DEMAND IN JOB ON HOLD DEMAND JOB AND BYPASS TRIGGERING DEMAND JOB AND SKIP NEXT SCHED. RUN DISPLAY ALL JOBS TRIGGERED BY THIS JOB PUT JOB ON HOLD THAT HAS NOT SCANNED IN YET, PUTS A JOB ON KOLD PREVENTS CA7 FROM RELEASING JOBS FROM THE REQUEST QUEUE DATABASE UPDATE SCREEN FOR A JOB DISPLAY THE LIST QUEUES, INCLUDES: REQUEST, READY, ACTIVE AND ABEND DISPLAY JOBS THAT ARE ACTIVE LIST ACTIVE JOBS IN JOBNAME ORDER LISTS SHOUT/ARF INFORMATION IN FULL **** - LIST JOBS THAT REQUIRE RESTART eee et ie a LIST THE MASTER JCL FROM THE DATABASE DISPLAY THE JCL FOR THE JOB LISTS ALL INFORMATION ON THIS JOB DISPLAY A JOB AND WHAT IT TRIGGERS OR IS TRIGGERED BY DISPLAY A JOB SHOWING REQUIREMENTS LIST THE LAST RUN OF THE JOB LIST A JOB AND ITS UNMET REQUIREMENTS LIST JOBS WITH AN ABNORMAL STATUS LIST LATE JOBS IN JOB NAME ORDER LIST LATE JOBS AND INCLUDE THE REQMTS LIST LATE JOBS IN DUE OUT ORDER LIST JOBS IN READY QUEUE LIST REASON JOBS ARE IN READY QUEUE DISPLAY THE REQUEST QUEUE DISPLAY THE SYSTEM LOG FOR THE DAY LIST PROSE (RESTART) INSTRUCTIONS LIST RUN HISTORY FOR LAST 5 DAYS LIST JOB SCHEDULE AND CALENDAR LIST STEPS OF JOB AND IF CAll WILL ALLOW YOU TO RESTART IN PARTICULAR STEP LIST WORK LOAD BALANCING REQUEUE JOB INTO REQUEST QUEUE RELEASES READY QUEUE HELD PREVIOUSLY RELEASE, Q=REQ - RELEASES REQUEST QUEUE HELD PREVIOUSLY. S$ UCC7ONL ~ START CA7 FROM THE MVS CONSOLE (P330) SSCAN - DISPLAY SCAN TIMES SSCAN, TIME=16:00 - RESET THE SCAN TIME TO 16:00 XQ - LIST JOBS WAITING TO EXECUTE XQ, JOB=BI* - EDIT JOBS WITH PREFIX OF 8g XQ, JOB=JOBNAME - AFTER LOCATING JOB, CHOOSE X FROM FUNCTION MENU AND THIS WILL SHOW YOU WHAT THE JOB IS WAITING ON AND YOU CAN POST THE REQUIREMENTS BY PLACING AN X BYSIDE EACH ONE. 0 FORCE COMPLETE AN ABENDED JOB, TYPE F NEXT TO IT AND PUT AND X BESIDES FORCE COMPLETE OPTION AND HIT ENTER. THIS OPTION ALLOWS YOU TO DO MOST OF THE THINGS THAT YOU WILL NEED T0 DO. XRQ, JOB=JOBNAME - JOB REQUIRMENTS SCREEN - JOB RESTART SCREEN = QUEUE RECORD INFORMATION SCREEN - EDIT WORK LOAD BALANCING PLACING A JOB ON HOLD 10 HOLD ABENDED JOB OR JOB IN REQUEST QUEUE. TYPE XQ TAKES YOU TO THE (XQJ- ARRANGES JOBS IN ALPHABETIC ORDER). CHOOSE H FROM FUNCTION MENU 10 VIEW JOB STATUS (HOLD/NON HOLD) FROM XQ SCREEN, TYPE U IN THE FUNCTIO EDITING EXECUTABLE JCL XQ TAKES YOU TO THE CA-7 QUEUE MAINTENANCE SCREEN, LOCATE JOB, TYPE E FOR EDIT. RESTARTING A JOB XQ TAKES YOU TO THE CA-7 QUEUE MAINTENANCE SCREEN, LOCATE JOB, TYPE F FOR RESTART AND USE WHICH RESTART SCREEN YOU NEED. ZOOMING A JOB LQ, JOB=JOBNAME, LIST=ALL - ONLY COMMAND SIMILAR TO CONTROL-M ‘This command will list everything you want to know about the job, from how the job was brought into the system, requirements, JCL etc. CA-7 SCHEDULE ID REQUIREMENTS SCHEDULE 1 01 THRU 24 ~- Use for hour scheduling EXAMPLE: og - 08:00 schedule (8 A.M.) 16 - 16:00 schedule (4 P.M.) WEEKLY SCHID: 30 - MONDAY thru FRIDAY job runs every day of the calendar DAILY SCHID: 31 - Job runs on MONDAY only 32 - Job runs on TUESDAY only 33 - Job runs on WEDNESDAY only 34 - Job runs on THURSDAY only 35 - Job runs on FRIDAY only 36 - Job runs on SATURDAY only SYMETRIC SCHID: MONTHLY SCHID: QUATERLY SCHID: SEMIANNUAL SCHID: YEARLY SCHID: ON-REQUEST SCHID: MONTH END SCHID: EXAMPLE: MONTH BY MONTH 37 40 THRU 47 50 51 52 53 54 61 THRU 64 70 80 101 THRU 131 101 102 130 131 201 THRU 212 213 THRU 252 Job runs on SUNDAY only Alternate daily schdules (IPC RESERVED) Runs MONTHLY only Runs QUATERLY only Runs SEMIANNUALLY only Runs YEARLY only Alternate schedules (IPC RESERVED) As required jobs - anytime customer requests Alternate (IPC RESERVED) Used for workday of MONTH First workday of the month Second workday of the month Day before last workday of the month (-1 day) Last workday of the month (-0 day) JANUARY thru DECEMBER (IPC RESERVED)

You might also like