You are on page 1of 3

CA7 COMMANDS CA7 Information CA7 controls and runs all production jobs on a mainframe.

The jobs are either triggered by other jobs or schedule scanned in and executed. CA7 flags any jobs that terminate unsuccessfully or terminate due to an unapproved condition code. /DISPLAY,ST=KEY Display PF keys /DISPLAY,ST=JCL Display datasets /PAGE-1 /PAGE+1 /PF01,M=(command) /PF99 Resets the PFKEYS to their defaults. ARTS CA7 restart instructions. ACT This status means the job is active or executing. CALENDARS: ROLL=F Forward, D-Drop, N-Never mind, B-Backwards CANCEL,FORCE=YES,JOB=XXXXXX Force cancel job XXXXXX DB Database DBM Database manager DEMAND,SET=NTR,JOB=XXXXXX Demand in job XXXXXX and do not trigger any dependent jobs. DEMAND,SCHID=01,JOB=XXXXXX Demand in job XXXXXX and any jobs that are triggered for schedule 01. The job will come out on hold in CA7 DEMANDH,SCHID=01,JOB=XXXXXX Demand in job XXXXXX and any jobs that are triggered for schedule 01 on hold. DEMANDH,SET=NTR FJOB,JOB=XXXXXX,SPAN=10 Forcast job XXXXXX for 10 hours ahead, enter twice. FQ JOB,JOB=XXXXXX FSTRUC,JOB=XXXXXX FQJOB,JOBNAME=XXXXXX Forecast when a job runs next. GRAPHB GRAPHJ GRAPHJ,ID=(010,330,470) List statistics for jobs running from 7AM to 6:59 AM GRAPHS JOB Display information for jobs. Any changes will be permanent. JOBCONN Predecessor and Successor menu. LACT List all the active jobs. LACT ARTS, 1 space,LSTP,JOBNAME Verify restartability. LACTR LIST List all jobs that abended. LJCL LJES,Q=PRN,JOB=XXXXXX List prior run information. LJOB,JOB=ABC*,LIST=RQMT List job requirements for all jobs starting with ABC LJOB,JOB=ABC*,LIST=DEPJ List job dependencies for all jobs starting with ABC LJOB,JOB=XXXXXX,LIST=NODD List important basic information for job XXXXXX. LJOB,LIST=DEPJ,JOB=XXXXXX List jobs dependent job XXXXXX to complete. LJOB,LIST=RQMT,JOB=XXXXXX List the requirements left for job XXXXXX. LJOB,LIST=TRIG,JOB=XXXXXX List jobs that trigger job XXXXXX and jobs that are triggered by it. LPRNN,LIST=ALL,JOB=XXXXXX List the last date and time job XXXXXX was executed. LQ List the late Q.

CA7 COMMANDS

LQ,JOB=XXXXXX Display a job with requirements. LQ,SEQ=JOB List all active jobs, plus all jobs waiting to execute in alphabetical order. LQ,ST=SKEL List the skelaton Q. LQ,SYS=XXXX,LIST=STATUS,SEQ=JOB (system1,system2,system3) LQ,SYS=XXXX,LIST=STATUS,SEQ=RQMT LQ,SYS=XXXX,LIST=STATUS,SEQ=JCL LQ,SYS=XXXX,LIST=STATUS,SEQ=ALL LQ,SYS=(CYCLE NAME),LIST=STATUS,SEQ=JOB Show one cycle, jobs currently executing, jobs waiting for an initiator, dependency, or submit time. LREQ List jobs in the request Q. LRLOG,DATE=* LRLOG,LIST=RSTR List jobs that were restarted within the last 24 hours. LSCHD,JOB=* List all scheduled jobs. NRDAY=01 Next relative working day. RDY This job status usually means the job is waiting for an initiator. REQ This job status means the job is waiting for a requirement to be met before it can start. REQUEUE,JOB=XXXXXX Use when job XXXXXX is suspended between CA7 and TSO, usually due to a JCL error. RDAY=01 Relative working day. QM 1 Q Maintenance. SCHD,JOB SCHD,JTRG SEQ=JOB When added to any command, jobs appear in alphabetical order. Without this, jobs will be displayed first with jobs that are waiting to be executed and then with jobs that are active. SKELETON The JCL for the job could not be found in the designated library and the job must be requeued. SR Save and Replace changes made in CA7. SSCAN SCHEDULE SCAN SSCAN,SCAN=HLD This makes all jobs submitted by CA7 to be submitted on hold. SSCAN,SCAN=REL This makes all jobs submitted by CA7 to be submitted not on hold. ST=ABND ST=HELD ST=LATE ST=MANV ST=RSTR START,Q=ALL Start all the Q's STOP,Q=ALL Stop all the Q's XQJ List all jobs waiting to run. The jobs are either waiting on another job to finish executing or are waiting on a time to start. XQJCL XQM Job requirements. XQM,LIST=ALL Job requirements and skeletons. XQJ List jobs waiting on a predesessor job or a start time to run. Put the cursor next to the job and enter: C Cancel the job. E Edit the JCL. F Restart the job that abended. H Put the job on hold. X Post requirements for the job or see what requirements the job has to meet.. PFK KEYS: Program Function Keys 1. LJOB,LIST=DEPJ,JOB=

CA7 COMMANDS 2. FQ JOB,JOB= 3. CANCEL, FORCE=YES,JOB= 4. LJOB,LIST=TRIG,JOB= 5. LPRRN,LIST=ALL,JOB=-List prior runs. 6. LRLOG,DATE=* 7. DEMAND,SET=NTR,JOB= 8. DEMANDH,SCHID=#,JOB= 9. FSTRUC,JOB=# 10. SCHD,JOB 11. JUMP TO XXXXXX 12. LOG OFF CA7 13. LACT 14. LQ SEQ=JOB 15. DBM 16. XQJ 17. LIST 18. LRLOG,LIST=RSTR 19. /PAGE-1 20. /PAGE+1 21. LJES,Q=PRN,JOB= 22. JOBCONN 23. JOB 24. TO BRING NEW JCL INTO CA7: 1. JCL 2. FETCH On the function line. 3. JOB NAME On the member line. 4. JCL-ID Number where the job is pulled in from. 5. FETCH SUCCESSFULL Should be on the bottom of the screen if the fetch worked. 6. QJCL 7. REPL On the function line to replace the old JCL. 8. JOB NAME On the job line. 9. REPLACE SUCCESSFULL Should be on the bottom of the screen. 10. RESTART the job with the new JCL in CA7. JCL, FETCH, JOB NAME, 123, FETCH SUCCESSFUL, QJCL, REPL, JOB NAME, REPLACE SUCCESSFUL, RESTART.

You might also like