CA 7 Cheat Sheet

Embed Size (px)

Citation preview

  • 7/23/2019 CA 7 Cheat Sheet

    1/41

    Title: CA7 Commands and Explanations

    /CLOSE - Close logged-on terminal/CLOSE,T=termid - Close terminal by ID/DISPLAY,ST=JCL - Display all region data sets

    /DISPLAY,ST=KEY - Display all PF keys/DISPLAY,T=ALL - Display all terminals

    /LOGON MASTER - Logon as master console/OPEN,T=termind - Open terminal/PF##,M=(ca7 command) - Setup PF key/RESET,T=termid - Reset terminal/SHUTDOWN,Z3 - Shutdown region/START,T=termid - Start terminal

    /STOP,T=termid - Stop terminal/WTO,MSG=messagetext - Send message to the master console

    ADDRQ,JOB=##,DEPJOB=xxxx - Add a job dependencyADDRQ,JOB=##,USR=xxxxxx - Add a user requirement

    CANCEL,JOB=###,REASON=PERSE,FORCE=YES - Cancel job from schedule****use job number to cancel specific job, jobname will cancel all jobs with same name.DEMAND,JOB=jobname - Schedule a job to runDEMANDH,JOB=jobname - Force or demand in job on hold

    DEMANDH,JOB=xxxx,SET=NTR - Demand job and bypass triggeringDEMANDH,JOB=xxxx,SET=SKP - Demand job and skip next scheduled run

    DEMANDH,JOB=xxx,SCHID=## - Demand job with schidFSTRUC,JOB=xxxx,SCHID=## - Display all jobs triggered by this jobJOBCONN - Put job on hold that has not scanned in yet.HOLD,Q=RDY - Prevents CA7 from releasing jobs from the

    ready queue

    HOLD,Q=REQ - Prevents CA7 from releasing jobs from therequest queue

    JOB,jobname - Database update screen for a job

    LQ - Display the list queues, includes: request, ready, active and abend queuesLACT - Display jobs that are active

    LACT,SEQ=JOB - List active jobs in jobname orderLIST - List jobs that require restartLJCL,JOB=jobname - List the master JCL from the databaseLJCL,JOB=jobname,JCLIB### - Display the JCL for the jobLJOB,JOB=xxxxx,LIST=ALL - List all jobs dependent on this jobLJOB,JOB=jobname,LIST=TRIG - Display a job and what it triggers

    or is triggered byLJOB,JOB=jobname,LIST=RQMT - Display a job showing requirements

    LPRRN,JOB=jobname - List the last run of the jobLQ,JOB=jobname - List a job and its unmet requirementsLQ,ST=RSTR - List jobs with an abnormal statusLQ,ST=LATE,JOB=* - List late jobs in job name orderLQ,ST=LATE,LIST=RQMT - List late jobs and include the requirementsLQ,ST=LATE,SEQ=DOTM - List late jobs in due out order

    LRDY - List jobs in ready queue

  • 7/23/2019 CA 7 Cheat Sheet

    2/41

    LRDYP,LIST=STATUS - List reason jobs are in ready queueLREQ - Display the request queueLRLOG - Display the system log for the dayLPROS,JOB=jobname - List prose (restart) instructionsLRLOG,JOB=jobname,DATE=* - List run history for last 5 days

    LSCHD,JOB=xxxx,LIST=CALS - List job schedule and calendarLSTP jobname - List steps of job and if CA11 will

    allow you to restart in particular stepLWLB - List work load balancingREQUEUE,JOB=jobname - Requeue job into request queueRELEASE,Q=RDY - Releases ready queue held previouslyRELEASE,Q=REQ - Releases request queue held previously.S UCC7ONL - Start CA7 from the MVS console (P330)

    SSCAN - Display scan timesSSCAN,TIME=16:00 - Reset the scan time to 16:00

    XQJ - List jobs waiting to executeXQ,JOB=BJ* - Edit jobs with prefix of BJ

    XRQ,JOB=jobname - Job requirements screenXRST,JOB=jobname - Job restart screenXUPD,JOB=jobname - Queue record information screenXWLB - Edit work load balancing

    #### = job numberjobname = name of jobXXXX = job name

    Explanations

    To log onto CA-71. From ISFP menu type E.7, then 7 for CA-7 Product Job Scheduling which takes you to the CA-7

    Primary Option Menu.2. Type 1 for Onlines which takes you to the CA-7 title screen. At this screen you can (a)press enter for

    next menu to select a help tutorial or (b) type a top line command.

    Note. Commands commonly require the first character(s) to identify the screen you want to be viewing.Example: LQ takes you to the list queue or XQ takes you to the execute queue. String commandstogether to receive specific information, XQ,job=jobname. The screen identifier must be entered inconjunction with all commands. Jobname or job number may be used to display information. Retype

    command (or at least first character) to refresh screen.

  • 7/23/2019 CA 7 Cheat Sheet

    3/41

    PSI Production Scheduling Interface

    This is another way for us to view some of the queues. We can only VIEW the CA7 jobs, we cannotRESTART jobs from here. Before using PSI you need to set your ID's up for access. Log onto yoursystem and type E.7.P. From here go to option S - System Authority, then type an A for add requirement

    type *ALL . This will bring you to the Authorization Screen. Here you should have thefollowing information at the bottom,

    SYSTEM NAME PRIVILEGE

    *ALL READ,WRITE

    CA-7 Commands

    Previous Runs of Jobslprrn,job=jobname Displays in and out times and status of last run only

    Group or system name

    ljob,job=jobname Displays basic job information including date and time of last run, elaspe time(elaptm), group or system name used to find SE information.

    ljob,job=jobname,list=all Then press enter, this will show job specific information if any has been

    provided

    Determining Who Placed a Job on HoldXQ,JOB=JobnameType H next to job. This will show who put the job on Hold.

    Placing a Job on Hold

    To hold abended job or job in request queue. Type XQ takes you to the CA-7 QueueMaintenance

    (XQJ arranges jobs in alphabetic order). Choose H from function menu on the right and type in front ofdesired job. Then fill out the panel (like ControlM).

    To view job status (hold/non hold) from XQ screenType U in the function column in front of the job. Or type LQ,job=jobname to see job requirements.

    To Demand in (or force in) a job on Hold

  • 7/23/2019 CA 7 Cheat Sheet

    4/41

    Use top line command demandh,job=jobname. Then to release job from hold status go to XQ screen andplace an R in front of the job. May include schid or other options in the demand command, seecommands list.

    Editing Executable JCL

    XQ takes you to the "CA-7 Queue Maintenance" screen, locate job, type E in command column to editQJCL, make changes, PF3 to backout and save.

    Restart of a Job (rerun)

    XQ takes you to the "CA-7 Queue Maintenance" screen, from function menu on the right type F for

    restart in front of desired job. Complete screen information by typing in a REASON and by placing anX in desired field. Place an X in front of CA-11 Restart/Rerun. Complete Reason field on top line, and

    START field with JS.PS and then press enter. Pseudo field is used to restart with no data setmaintenance

    Additional options on this screen includes: resubmit for production (rerun from the top), force complete

    Restart of Job in next step (by passing abending step)

    Same as restarting of a job but must complete additional fields on Restart screen. LRTCD is use to

    indicate the abending step. = field is completed with abending return code. Complete JS.PS with nextstep to be run.

    Delete a job from CA-7 (cancel)

    Top line command: cancel,j=####,force=yes,reason=perse. Should use job number because if there areduplicate jobnames, all jobs will be canceled.

    Force complete a job

    From XQ screen select job and then type F beside desired job, and complete next screen with REASON

    code, and indicate type of action using an X.

  • 7/23/2019 CA 7 Cheat Sheet

    5/41

    Late jobsTo check the system for late jobs type the following top of the line command: LQ,job=*,st=late

    Adding job dependencies

    Type ADDRQ,job=##,depjob=jobname This command makes "jobname" a prerequisites for "###"

    Can also issue user requirements by replacing depjob with usr

    Viewing SYSOUT for a JobUse WSF2 / SAM

    Removing in-conditions from a Job To Display Predecessors

    Type XQ,job=jobname, after locating job, choose X form Function Menu at right side of screen.Complete the operation by typing X under the F in command column which will post that specific in

    condition.

    Check for Abends

    E.7.7 then 1 for onlines. At command line type LQ which will take you to list queue screen. This willdisplay all jobs and their status.

    Another top line command is LQ,ST=RSTR which is show only abended jobs.

    Zooming a Job

    Only command similar in CA-7 is: LQ,job=jobname, this will show a specific job and why the job iswaiting to run.

    L,JOB,JOB=Jobname,List=* (List ALL(*) will list DD Information)List

    CA-7

  • 7/23/2019 CA 7 Cheat Sheet

    6/41

    INTRODUCTIONDOCUMENTATION

  • 7/23/2019 CA 7 Cheat Sheet

    7/41

    Table of contents

    1. Intro to CA-7 12. Authorization 23. Getting into basic CA-7 / PSI 34. Viewing the jobs in the queue 45. How to view a jobs requirements 66. How to put a job on hold 77. Take a job off of hold /

    posting a user requirement 98. How to identify jobs stuck in ready queue 119. How to rezoom or reset a zoom error,

    also long term overrides 1210. Viewing abends jobs 1511. Edit JCL for abended jobs 1712. Restarting a job / forcing a job complete 1913. Requeue a job (stuck in READY Queue) 20

    14. Demanding a job (FORCE) 2115. One time scheduling changes to jobs not in queues 2216. Appendix A Quick reference sheet 2317. Appendix B Cheat sheet basic & advanced 24

  • 7/23/2019 CA 7 Cheat Sheet

    8/41

    INTRO. TO CA-7.

    CA-7 is the Computer Associates scheduling product. It works quite differently from Control-M, so there willbe quite a learning curve in using CA-7. As opposed to Control-M, CA-7 is a very command oriented system,

    that relies heavily on the use of queues.. Lets explain the bare essentials of the queues.

    A schedule scan job wakes up every hour, and forecasts what jobs it thinks will run in the next 2 1/2 hours. Thistiming is a SAIPC option. These jobs are put in the request queue. When the requirements are met the job willgo to the ready queue, and then the active queue. Abended jobs will return to the request queue. Completedjobs will pass through the request queue on their way to the prior run log.

    Jobs are either Scheduled in by time, or are triggered by a completed job. Either way, additional requirement canexist. For example Job A, is scheduled in for 2300 hours. When Job A finished, it Triggers Job B to start. Butif Job B has a requirement of Job C then it will not start until Job C is finished.

    Before the jobs even get to CA-7s control they are intercepted by ZOOM. This is an EDS utility that resolvesall parms. The parms are defined as anything that has the format of |S001| or |Z001|. If the ZOOM failsand the Parm is not resolved then the job is put in the request Queue with a zoom failed message. Resolving

    this error is covered inside.

    REQUEST QUEUE

    request to run job hasbeen made

    READY QUEUEwaiting for initiators/drives

    ACTIVE QUEUErunning

    PRIOR RUNQUEUE (log)

    Schedule Scan

    Demanded jobs

    Load

    Run

  • 7/23/2019 CA 7 Cheat Sheet

    9/41

    AUTHORIZATION

    Do once and forget.

    From TSO type E.7;P;S. (Dont ask why, just do it.) You should get the screen below.

    Type an A in the command line.Then hit enter. The screen below should appear.

    Type in the system name (MSS6HAMM). Enter. you should return to the previous screen,but with updates.

    Currently you only have authorization to Model Office.

    . . . . . . . . . . . . . . . . . . . . . . . . . . .------------------------------ Authorization List ----------- ROW 1 TO 2 OF 2

    COMMAND ===> A SCROLL ===> PAGE

    Line Commands: Primary Commands:D Delete System Name A Add System Name

    SystemName Privilege----------------------------------------------------------------------------

    ******************************* BOTTOM OF DATA ********************************

    ---------------------------- Add Privilege Request ----------------------------

    COMMAND ===>

    System Name ===> MSS6HAMM

    Press ENTER to add request Enter END to cancel and exit

    . . . . . . . . . . . . . . . . . . . . . . . . . . .------------------------------ Authorization List -------------- ADD COMPLETEDCOMMAND ===> SCROLL ===> PAGE

    Line Commands: Primary Commands:D Delete System Name A Add System Name

    SystemName Privilege----------------------------------------------------------------------------

    _ MSS6HAMM READ,WRITE******************************* BOTTOM OF DATA ********************************

  • 7/23/2019 CA 7 Cheat Sheet

    10/41

    1. GETTING INTO BASIC CA-7 / PSI (PSI is an EDS supplemental upgrade to CA-7)

    The Production Scheduling Interface (PSI) is a TSO ISPF application that provides the user with standardinterface to the production environment. PSI provides an interface to CA-7 that lets a user determine the statusof a job, change the status of a job, and display information about a job.

    PSI also interfaces with the EDS product Zparm and Override Options Manager (ZOOM). ZOOM wasdeveloped to handle EDS' need to process ZPARMs, SPARMs, and overrides. PSI provides the functions tomaintain the ZPARMs and overrides to be processed for a job by ZOOM.

    All PSI access is controlled by CA-7 system ID. Rules must be written to let a user access jobs within aparticular system ID. Two types of authority, READ and WRITE, are allowed. In general, READ authority letsa user display information about a job, and WRITE authority lets a user alter the status or definition of a job.

    Due to security concerns, the TSO commands HOLD, SUSPEND, TSO, BR, and ED are disabled in PSI.

    A. type in E.7 on the TSO command line. Enter.------------------------------------------------------------------------------

    ISPF Primary Option Menu

    Option ===> E.7

    0 Settings Terminal and user parameters User ID . : BZWDF11 View Display source data or listings Time. . . : 07:542 Edit Create or change source data Terminal. : 32783 Utilities Perform utility functions Screen. . : 14 Foreground Interactive language processing Language. : ENGLISH5 Batch Submit job for language processing Appl ID . : ISR6 Command Enter TSO or Workstation commands TSO logon : WAAALOGN

    7 Dialog Test Perform dialog testing TSO prefix: BZWDF19 IBM Products IBM program development products System ID : SA19A Account Apps Display Account Applications MVS acct. : YFMVZL,MC Changes Display Summary of Changes Release . : ISPF 4.2E EDS Apps EDS Corporate ApplicationsL Local Apps Display IPC Local ApplicationsS SAM System Activity ManagerU User Apps Display User Applications11 Workplace ISPF Object/Action Workplace

    Enter X to Terminate using log/list defaults

  • 7/23/2019 CA 7 Cheat Sheet

    11/41

    The menu below should appear.7 will get you into the CA-7 product. P will get you into PSI.

    ------------------------- Scheduling Products MENU --------------------OPTION ===>

    Select Product:

    7 CA-7 - Production Job Scheduling UserID - BZWDF111 CA-11 - Production Job Restart Date - 98/04/20

    P PSI - Production Scheduling Interface Julian - 98.110J PRO-J - Production Job Reporting Time - 07:58OC ON-CALL - On-Call Support Application Terminal - 3278

    X EXIT - Return to Previous Menu

    Enter END to Exit

  • 7/23/2019 CA 7 Cheat Sheet

    12/41

    2. VIEWING THE JOBS IN THE QUEUE.

    Every hour CA-7 will wake up and determine what work will be worked on in the next 2 1/2 hours.

    Get to the Scheduling Menu as in number 1 above.Put a P in the MENU command line. Hit Enter

    ------------------------- Scheduling Products MENU --------------------OPTION ===> P

    Select Product:

    7 CA-7 - Production Job Scheduling UserID - BZWDF111 CA-11 - Production Job Restart Date - 98/04/20

    P PSI - Production Scheduling Interface Julian - 98.110J PRO-J - Production Job Reporting Time - 08:04OC ON-CALL - On-Call Support Application Terminal - 3278

    X EXIT - Return to Previous Menu

    Enter END to Exit

    This will bring up the screen below. Fill in the Job Name and System Name as needed. Please note that ifthe System Name field is left blank, or is * then a plethora(many) of ACF2 violations will take place behindthe scenes as CA-7 will attempt to get you into systems where you dont belong. This will cause your managergrief.

    Select option 1. Enter.----------------------- Production Scheduling Interface -----------------------

    OPTION ===> 1 04/20/1998 - 08:09Julian Date: 1998.110

    Job Name ===>MSS6*System Name ===>MSS6HAMM

    Queue Activity1 QUEUES - Request, Ready, and Active queue information2 ABENDS - Production abends, fails, errors, and requeues3 PRIOR RUN - Prior Run queue information

    Data Base Activity4 RESOLVE - SPARM/ZPARM/Override JCL Resolution5 DB MAINTENANCE - ZPARMs, overrides, resdates, job requests, user

    Special ActivityL LOG DISPLAY - Browse CA7 on-line logS SYSTEM AUTHORITY - Add, delete, and list system ID authorityT TUTORIAL - Display information about PSI V4.1X EXIT - Terminate this session

  • 7/23/2019 CA 7 Cheat Sheet

    13/41

    This screen will appear.-------------------------------- Queue Display ----------- NO RECORDS SELECTEDCOMMAND ===> SCROLL ===> PAGE

    Job Name ===> MSS6* System Name ===> MSS6HAMMQueue ===> * Status ===> *

    Line Commands:A Add requirement B Browse JCL R Refresh queue JCLS Display requirements Z Reset ZOOM error

    System CA-7 Schd Entry Start StartJob Name Name Num ID Que Late Job Status Mode Date Time--------------------------------------------------------------------------->

    The screen above lists all the jobs that CA-7 thinks will be running in the next 2 1/2 hours. From this screen wecan check requirements, put jobs on hold, free them. (more on these options later).

  • 7/23/2019 CA 7 Cheat Sheet

    14/41

    3. HOW TO VIEW A JOBS REQUIREMENTS

    From the QUEUE DISPLAY screen in number 2 above, put a S in the job line. Enter.

    -------------------------------- Queue Display ----------- NO RECORDS SELECTEDCOMMAND ===> SCROLL ===> PAGE

    Job Name ===> MSS6* System Name ===> MSS6HAMMQueue ===> * Status ===> *

    Line Commands:A Add requirement B Browse JCL R Refresh queue JCLS Display requirements Z Reset ZOOM error

    System CA-7 Schd Entry Start StartJob Name Name Num ID Que Late Job Status Mode Date Time-------------------------------------------------------------------------->

    S MSS6BD10 MSS6HAMM 9999 030 REQ NO WAIT TIME SSCN 98.110 12:00******************************* Bottom of data *******************************

    The screen below should appear.

    Note the requirement Type field above. This job is waiting on a TIME requirement. Other requirement typeswould be USER and JDEP . A USER requirement is roughly equivalent to an SE hold, and JDEP, or jobdependancy, is like an in-condition. The Post field indicates whether that requirement has been met or not.

    PLEASE NOTE THAT THE ONLY REQUIREMENT THAT AN SE CAN ADD OR POST IS A USERTYPE REQUIREMENT.

    --------------------------- Job Requirements Display -------- ROW 1 TO 1 OF 1COMMAND ====> SCROLL ====> PAGE

    Job Name ===> MSS6BD10 System Name ===> MSS6HAMMCA-7 Number ===> 9999 Schedule ID ===> 030

    Outstanding Requirements: 0001

    Line Commands:P Post requirement

    Post Type Neg Requirement-------------------------------------------------------------------------------_ NO TIME NO WAITING FOR SUBMIT TIME 12:00 ON 98.110******************************* BOTTOM OF DATA *******************************

  • 7/23/2019 CA 7 Cheat Sheet

    15/41

    4. HOW TO PUT A JOB ON HOLDIn CA-7 putting a job on hold is done by adding a User requirement.

    From the QUEUE DISPLAY screen in number 2 above, put an A in the job line. Enter.

    The screen below should appear. Fill in your information and hit enter.

    The User requirement has now been added.

    *********************** QUEUE DISPLAY ************************COMMAND ===>SCROLL ===> PAGE

    Job Name ===> MSS6* System Name ===> MSS6HAMMQueue ===> * Status ===> *

    Line Commands:A Add requirement B Browse JCL R Refresh queue JCLS Display requirements Z Reset ZOOM error

    System CA-7 SchdEntry Start Start

    Job Name Name Num ID Que Late Job Status Mode Date Time-------------------------------------------------------------------------->

    A MSS6XXXX MSS6HAMM 8885 030 REQ NO WAIT TIME SSCN 97.195 13:00******************************* BOTTOM OF DATA *******************************

    ----------------------------- Add User Requirement ----------------------------COMMAND ===>

    Job Name ===> MSS6BD10 System Name ===> MSS6HAMMCA-7 Number ===> 9999 Schedule ID ===> 030

    User Name ===> JMEADOR

    User Phone ===> 972 604 2431

    Requirement ===> test hold I will release

    Press ENTER to add requirement Enter END to cancel add and exit***********************************************************************

  • 7/23/2019 CA 7 Cheat Sheet

    16/41

    If you wish to review your user requirement (hold), follow the procedures in number 3 above. You should findthat the hold has been added as a requirement, as below.

    --------------------------- Job Requirements Display -------- ROW 1 TO 5 OF 5COMMAND ====> SCROLL ====> PAGE

    Job Name ===> MSS6BD10 System Name ===> MSS6HAMMCA-7 Number ===> 8914 Schedule ID ===> 030

    Outstanding Requirements: 0005

    Line Commands:P Post requirement

    Post Type Neg Requirement-----------------------------------------------------------------------------_ NO TIME NO WAITING FOR SUBMIT TIME 15:10 ON 97.195.

    _ NO USER NO TEST HOLD I WILL RELEASE JMEADOR 972 604 2431_ NO JDEP NO MSS6BD10

    _ NO JDEP NO MSS6BD23_ NO JDEP NO MSS6BD25******************************* BOTTOM OF DATA ******************************

  • 7/23/2019 CA 7 Cheat Sheet

    17/41

    5. TAKE A JOB OFF OF HOLD/ POSTING A USER REQUIREMENTPosting a user requirement: effectively removes it. It is simular to freeing in Control-M.

    View the requirements as in number 3 above. Put a P in the requirements line.

    This should bring you to the comfirmation screen. Enter to confirm.

    The requirement is now posted ( fulfilled)

    --------------------------- Job Requirements Display -------- ROW 1 TO 5 OF 5

    COMMAND ====> SCROLL ====> PAGE

    Job Name ===> MSS6BD10 System Name ===> MSS6HAMMCA-7 Number ===> 8914 Schedule ID ===> 030

    Outstanding Requirements: 0005

    Line Commands:P Post requirement

    Post Type Neg Requirement-----------------------------------------------------------------------------_ NO TIME NO WAITING FOR SUBMIT TIME 15:10 ON 97.195.

    PNO USER NO TEST HOLD I WILL RELEASE JMEADOR 972 604 2431_ NO JDEP NO MSS6BD10_ NO JDEP NO MSS6BD23_ NO JDEP NO MSS6BD25******************************* BOTTOM OF DATA ******************************

    ------------------------ Post Requirement Confirmation ------------------------COMMAND ====>

    Job Name ===> MSS6BD10 System Name ===> MSS6HAMMCA-7 Number ===> 8914 Schedule ID ===> 030

    Request Type ===> USER

    Negative ===> NO

    Requirement ===> TEST HOLD I WILL RELEASE

    SE Name ===> JMEADOR

    SE Phone ===> 972 604 2431

    Press ENTER to post requirement Enter END to cancel post and exit

  • 7/23/2019 CA 7 Cheat Sheet

    18/41

    View the requirements again, as per Number 3 above. The Post field for the user requirement should now beYES. Please note again that the only requirement that SE s can add or post are USER requirements. You mustcontact Batch Scheduling or the cycle monitor to add or post TIME or JDEP requirements.

    --------------------------- Job Requirements Display -------- ROW 1 TO5 OF 5COMMAND ====> SCROLL ====>PAGE

    Job Name ===> MSS6BD10 System Name ===> MSS6HAMMCA-7 Number ===> 8914 Schedule ID ===> 030

    Outstanding Requirements: 0004

    Line Commands:P Post requirement

    Post Type Neg Requirement------------------------------------------------------------------------_ NO TIME NO WAITING FOR SUBMIT TIME 15:10 ON 97.195._ NO JDEP NO MSS6BD10_ NO JDEP NO MSS6BD23_ NO JDEP NO MSS6BD25

    _ YES USER NO TEST HOLD- I WILL RELEASE JMEADOR 972 604 2431******************************* BOTTOM OF DATA *************************

  • 7/23/2019 CA 7 Cheat Sheet

    19/41

    6. HOW IDENTIFY JOBS STUCK IN READY QUEUE

    From the QUEUE DISPLAY screen in number 2 above.

    There are only two cases where you will see jobs in the READY (RDY) queue. The first, and more common,case is where a job is ready to run but it is waiting for an initiator from the system. A job in this case usuallystays in the READY queue for only a few moments. Looking in SAM and seeing that the job is waiting for aninitiator is the easiest way to verify that there is no problem with the job.

    The second case for a job in the READY queue is where the job was submitted for batch, but a sever JCL erroroccurred before any processing CPU was used. A restart step not found, would be a good example of this. AJOB STUCK IN THE READY QUEUE WILL REQUIRE SE INTERVENTION. Resolution will be discussedlater.

    -------------------------------- Queue Display --------------- Row 1 to 2 of 2COMMAND ===> SCROLL ===> PAGE

    Job Name ===> MSS6* System Name ===> MSS6HAMMQueue ===> * Status ===> *

    Line Commands:A Add requirement B Browse JCL R Refresh queue JCLS Display requirements Z Reset ZOOM error

    System CA-7 Schd Entry Start StartJob Name Name Num ID Que Late Job Status Mode Date Time-------------------------------------------------------------------------->

    _ MSS6BD10 MSS6HAMM 9026 001 RDY NO READY TO RUN DMND 98.013 07:32_ MSS6BD23 MSS6HAMM 8809 032 REQ YES ABENDED TRIG 98.013 07:31

    ******************************* Bottom of data *******************************

  • 7/23/2019 CA 7 Cheat Sheet

    20/41

    7. HOW TO REZOOM OR RESET A ZOOM ERROR, ALSO LONG TERM OVERRIDES.

    From the QUEUE DISPLAY screen in number 2 above, you may encounter this situation.

    This job had an unresolvable parameter. Either the JCL was updated, or a long term overide was addedincorrectly. This is a PSI failure, so the JCL never got to CA-7. The best short-term solution to running the jobnow is to create or fix the PSI override, and manually resolve the parms. However, a permanent solution mustdone.

    First, find out why the PSI bombed. Put B on the line command. Enter.

    You will bring up the JCL. search the JCL for the error messages by entering F //* W . Enter.

    -------------------------------- Queue Display --------------- Row 1 to 2 of 2COMMAND ===> SCROLL ===>

    Job Name ===> MSS6* System Name ===> MSS6HAMMQueue ===> * Status ===> *

    Line Commands:A Add requirement B Browse JCL R Refresh queue JCLS Display requirements Z Reset ZOOM error

    System CA-7 Schd Entry Start StartJob Name Name Num ID Que Late Job Status Mode Date Time-------------------------------------------------------------------------->

    B MSS6BD10 MSS6HAMM 9146 001 REQ NO Z-JCL FAIL TRIG 00.000 00:00_ MSS6BD23 MSS6HAMM 8809 032 REQ YES ABENDED TRIG 98.013 08:25

    ******************************* Bottom of data *******************************

    BROWSE -- PSYS3.WAZMA.ZOOMJCL(Z0003081) ------------ Line 00000000 Col 001 080COMMAND ===> f '//* w' SCROLL ===> PAGE********************************* Top of Data ********************************

    //MSS6BS10 JOB (BSGAB4,WCBS),'TRAINING JOB 2 ',// CLASS=H,// MSGCLASS=Y START=JS010.PS030//* RESDATE=01/13/1998 BIAS INIDICATOR IS -1//*IN=01/13/1998,OUT=01/14/1998,SE=MYNAME 00010001//*//*LOGONID MSS6BD1 ** ACF2 LOGONID **//*/*JOBPARM RESAFF=D2M1//*//NONPRINT OUTPUT DEST=NONPRINT,et cetera

  • 7/23/2019 CA 7 Cheat Sheet

    21/41

    In this example the date Parm SZZZ couldnt be found. Since we have found the specific problem we can fix it

    Hit PF3, to bring you to the Production Scheduling interface as in number 2 above.

    Put in option 5. Enter.

    // DISP=(NEW,CATLG,DELETE),// UNIT=SYSDA,// SPACE=(TRK,(0),RLSE)//SYSIN DD DSN=PWCBS.HRBCH.SYSIN(RB2IRERR),// DISP=(SHR,KEEP,KEEP)//SYSPRINT DD SYSOUT=*//*//*// PEND * SYSTEM GENERATED *//JS010 EXEC WCBSTST2,PARM='|SZZZ|'//* WAZ4101E - SPARM CONTAINS INVALID CHARACTERS.//******************************** Bottom of Data ******************************

    ----------------------- Production Scheduling Interface -----------------------OPTION ===> 5 01/13/1998 - 08:36

    Julian Date: 1998.013Job Name ===> MSS6*

    System Name ===> MSS6HAMM

    Queue Activity1 QUEUES - Request, Ready, and Active queue information2 ABENDS - Production abends, fails, errors, and requeues

    3 PRIOR RUN - Prior Run queue information

    Data Base Activity4 RESOLVE - SPARM/ZPARM/Override JCL Resolution5 DB MAINTENANCE - ZPARMs, overrides, resdates, job requests, rqmts

    Special Activity

    L LOG DISPLAY - Browse CA7 on-line logS SYSTEM AUTHORITY - Add, delete, and list system ID authorityT TUTORIAL - Display information about PSI V4.1X EXIT - Terminate this session

  • 7/23/2019 CA 7 Cheat Sheet

    22/41

    You will get the screen below. use option 6. Enter

    The screen below should appear. put an S by the correct system name. Enter.

    ------------------------ PSI CA-7 Data Base Maintenance -----------------------OPTION ===> 6

    Job Name ===> MSS6* System Name ===> MSS6HAMM

    1 USER RQMTS - Add, delete, and list user requirements.2 JOB SCHEDULING - Add, delete, update, and list job requests.3 ZPARM/OVERRIDE - Update and list ZPARM and override flags.4 ZPARM VALUE - Add, delete, update, and list ZPARMs.5 RESOLUTION DATE - Add, delete, update and list resolution dates.6 OVERRIDE EDIT - Edit or browse override and reset override flag.

    Enter END command to terminate function

    --------------------------- Override Selection List ---------- Row 1 to 1 of 1COMMAND ===> SCROLL ===> PAGE

    Job Name ===> MSS6* System Name ===> MSS6HAMM

    Line Commands:S Select Override Library

    SystemName Override Library---------------------------------------------------------------------------

    S MSS6HAMM PMSS6.HAMLIB.OVERRIDE******************************* Bottom of data *******************************

  • 7/23/2019 CA 7 Cheat Sheet

    23/41

    The srceen below should appear. If the job name appears on the line, put an E on the line and enter. Otherwiseput A WCBSXXXX on the command line and enter.

    A TSO edit screen will appear. Copy in JCL if needed. Fix the JCL by manually resolving the date parameters.Date parameters are considered any item between bars, |. Examples are |S001| and |zwtw|. Add the first line asbelow. Use cycle Date. PF3 to exit.

    You have entered the override. We now have to apply it. Get back to the QUEUE DISPLAY screen as innumber 2 above. Put a Z in the job line. Enter. PSI will bring in the override and send the JCL onto CA-7.

    ----------------------------- List Override Member -----COMMAND ===>A MSS6XXXXXX SCROLL ===> PAGE

    Override Library ===> PMASS6.HAMLIB.OVERRIDE

    Line Commands: Primary Commands:B Browse Override E Edit Override A Add Override MemberD Delete Override

    Name Created Changed Time User ID---------------------------------------------------------------------------

    _ MSS6BD10 01/13/1998 01/13/1998 07:26 BZWDF1_ MSS6BD23 01/02/1998 01/02/1998 14:15 BZWDF1******************************* Bottom of data *******************************

    ------------------------------------------------------------------------------EDIT PWCBS.HRBSC.OVERRIDE(WCBSTST2) - 01.00 Columns 00001 00072Command ===> Scroll ===> CSR****** ***************************** Top of Data *****************************000100 //*in=mm/dd/yyyy,out=mm/dd/yyyy,se=myname000110 //WCBSTST2 JOB (BSGAB4,WCBS),'TRAINING JOB 2 ',000200 // CLASS=H,000300 // MSGCLASS=Y START=JS010.PS030000400 //*

    000500 et c.

    -------------------------------- Queue Display --------------- Row 1 to 2 of 2COMMAND ===> SCROLL ===> PAGE

    Job Name ===> MSS6* System Name ===> MSS6HAMMQueue ===> * Status ===> *

    Line Commands:

    A Add requirement B Browse JCL R Refresh queue JCLS Display requirements Z Reset ZOOM error

    System CA-7 Schd Entry Start StartJob Name Name Num ID Que Late Job Status Mode Date Time------------------------------------------------------------------------->

    Z MSS6BD10 MSS6HAMM 9146 001 REQ YES Z-JCL FAIL TRIG 00.000 00:00_ MSS6BD23 MSS6HAMM 8809 032 REQ YES ABENDED TRIG 98.013 08:37******************************* Bottom of data ******************************

  • 7/23/2019 CA 7 Cheat Sheet

    24/41

    8. VIEWING ABENDED JOBS

    This only lists the jobs. No action can be done from this screen.Select P in the MENU command line. Enter.

    This will bring up the screen below. Fill in the Job Name and System Name as needed.

    Select option 2. Enter.

    ------------------------- Scheduling Products MENU -------------------------OPTION ===> P

    Select Product:

    7 CA-7 - Production Job Scheduling UserID - BZWDF111 CA-11 - Production Job Restart Date - 98/04/21P PSI - Production Scheduling Interface Julian - 98.111J PRO-J - Production Job Reporting Time - 14:57OC ON-CALL - On-Call Support Application Terminal - 3278

    X EXIT - Return to Previous Menu

    Enter END to Exit

    ----------------------- Production Scheduling Interface ----------------------OPTION ===> 2 7/14/1997 - 11:00

    Julian Date: 1997.195Job Name ===>MSS6*System Name ===>MSS6HAMM

    Queue Activity1 QUEUES - Request, Ready, and Active queue information2 ABENDS - Production abends, fails, errors, and requeues3 PRIOR RUN - Prior Run queue information

    Data Base Activity4 RESOLVE - SPARM/ZPARM/Override JCL Resolution5 DB MAINTENANCE - ZPARMs, overrides, resdates, job requests, rqmts

    Special Activity

    L LOG DISPLAY - Browse CA7 on-line log

    S SYSTEM AUTHORITY - Add, delete, and list system ID authorityT TUTORIAL - Display information about PSI V4.1X EXIT - Terminate this session

  • 7/23/2019 CA 7 Cheat Sheet

    25/41

    This screen will appear .

    As stated before this screen is for viewing only, we cant fix the job here.

    -------------------------------- ABEND Display -------------- ROW 1 TO 1 OF 1COMMAND ===> SCROLL ===> PAGE

    Job Name ===> MSS6* System Name ===> MSS6HAMM

    Abend Code ===> *

    System CA-7 Schd Abend Due DueJob Name Name Num ID Que Code Step Error Date Time----------------------------------------------------------------------------->MSS6BD10 MSS6HAMM 8920 001 REQ U2400 NPS020 97.195 13:33******************************* BOTTOM OF DATA *******************************

  • 7/23/2019 CA 7 Cheat Sheet

    26/41

    9. EDIT JCL FOR ABENDED JOBS.

    For this action we need to get to the CA-7 system instead of the PSI system. Get to the Scheduling Productmenu as in step number 1 above. Select option 7. Enter. The screen below should appear.

    Select option 1. Enter. The screen below should appear.Note: from TSO the command E.7;7;1 will also bring us here.

    ------------------------- CA-7 PRIMARY OPTION MENU -------------------------OPTION ===> 1

    USERID - BZWDF1PREFIX - BZWDF1TIME - 13:57

    0 PF KEYS - Specify CA-7/TSO-ISPF PF keys DATE 97/07/141 ONLINE - CA-7/TSO-ISPF Terminal Session APPLID - CA7

    - UID Resource =>

    X EXIT - Terminate CA-7/TSO-ISPF Interface

    Enter END command to terminate CA-7/TSO-ISPF.

    MENU-----------------------------ELECTRONIC DATA SYSTEMS-------------------------

    CA-7.023 LOGON ACCEPTED, PRESS ENTER FOR MENU OR ENTER COMMAND

    USERID : BZWDF1 TERMINAL NAME : CA7004 DATE : 97.195VTAM APPLID : AFFCA7A TIME : 13:58:16LUNAME : CA719001 LEVEL : V3L2 (9610)

    CCCCCCCCCCC AAAAAAAAAA 77777777777CCCCCCCCCCC AAAAAAAAAA 77777777777CCC AAA AAA 7777CCC AAAAAAAAAA 0000 7777

    CCC AAAAAAAAAA 0000 7777CCC AAA AAA 7777CCCCCCCCCCC AAA AAA 7777CCCCCCCCCCC AAA AAA 7777

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

  • 7/23/2019 CA 7 Cheat Sheet

    27/41

    All CA-7 commands can be entered from this screen. All further CA-7 commands will assume that we havegotten to this point.

    On the command line overwrite the word Menu with the command XQ,JOB=WCBS*. Enter. The screenbelow should appear.

    If you notice the list of functions to the right above you will see that we could also use this panel to hold andrelease (free) jobs. Or to view their requirements. However the PSI panels listed in numbers 3, 4 and 5 above

    are clearer and easier to use. Use them until you are very familiar with CA-7.Select E in the function field next to the job you wish to edit. Enter. The JCL will appear in a normal TSO editmode, as below. Edit the JCL as you normally would.

    ----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS -----------------F-JOBNAME--CA7#E MSS6BD10 8920 JOB: MSS6*MSS6BD23 8929 SEQ: ENTRYMSS6BD24 8912 QUEUE: REQMSS6BD25 8913 LIST: ALLMSS6BD26 8914

    FUNCTIONS:C=CANCELF=RESTARTH=HOLDJ=JCLOVRDP=RSVP

    Q=REQUEUER=RELEASES=SUBTM OFFU=UPDATEV=VERIFYX=RQMT POST

    PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- 97.195 / 13:58:55MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE

  • 7/23/2019 CA 7 Cheat Sheet

    28/41

    Note that JEM works from this screen.

    EDIT ----- SYS97195.T135925.RA000.TWCJPCM.CA7EDIT.H01 ------- COLUMNS 001 072COMMAND ===> SCROLL ===> PAGE****** ***************************** TOP OF DATA ******************************==MSG> IF DATA IS SAVED, A CA7 SR WILL BE EXECUTED000001 //WCBSTST1 JOB (BSGAB4,WCBS),'TRAINING JOB 1 ',000002 // CLASS=H,000003 // MSGCLASS=Y START=JS10.PSXXX000004 //*000005 //*LOGONID WCBSRBM ** ACF2 LOGONID **000006 //*000007 /*JOBPARM SYSAFF=ANY000008 //*000009 //NONPRINT OUTPUT DEST=NONPRINT,000010 // CLASS=*,000011 // FORMS=STD,000012 // ROOM=SCHD,000013 // JESDS=ALL,000014 // DEFAULT=Y000015 //*000016 //*UCC7RESTART UCC7

    000017 //WCBSTST1 PROC PARM20I='0001',000018 // PARM20D='0001'

  • 7/23/2019 CA 7 Cheat Sheet

    29/41

    10. RESTARTING A JOB / FORCING A JOB COMPLETE

    Get to the CA-7 Queue Maintenance screen as in number 6 above..Select F ( yes f) in the function field next to the jobname . Enter.

    The screen below should appear.

    ----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS ----------------F-JOBNAME--CA7#F MSS6BD54 8935 JOB: MSS6*

    SEQ: ENTRYQUEUE: REQLIST: ALL

    FUNCTIONS:C=CANCELF=RESTARTH=HOLDJ=JCLOVRDP=RSVPQ=REQUEUE

    R=RELEASES=SUBTMOFFU=UPDATEV=VERIFYX=RQMTPOSTE=EDITQJCL

    PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- 97.196 / 07:51:02MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE

    01 PROCESSED

  • 7/23/2019 CA 7 Cheat Sheet

    30/41

    Type in a reason in the REASON field, type X in the RESUBMIT line. Enter. The job has now beenresubmitted. Just as we never used the Control-R option in Control-M ,we will not use the CA-11 automaticrestart options in CA-7. CA-11 automatically reset the pgens for you to what it thinks they need to be.

    Typing an X in theFORCE COMPLETE field will NOT run the job, but mark it as complete and allow thefollow on jobs to run.

    ------------ CA-7 QUEUE MAINTENANCE - CPU JOB IN RESTART STATUS -----------JOB: MSS6BD54 CODE: S00C1 LAST-STEP: NPS20 MCNT: 002CA-7#: 8935 JES#: 10474 NODE-NAME: LOCAL

    REASON: no particular reason at all

    -- x -- RESUBMIT FOR PRODUCTION

    -- -- FORCE COMPLETE

    -- -- CA-11 RESTART/RERUN PSEUDO:START: END:CC: BYPGDG: USAGE: LRTCD: = 0CMT STATUS: JOB NOT FOUND IN CMT

    -- -- SET PARM DATA FOR RMS AND RESUBMITPARM:

    -- -- DO NOT INSERT RMS PROC BUT RESUBMIT

    PROGRAM: QM50 MSG-INDX: 00 -- QM.4-X -- 97.196 / 07:52:50MESSAGE: 'X' THE DESIRED FUNCTION OR ENTER A COMMAND ON THE TOP LINE

    *WARNING* - NOT USING CA-11, RESUBMIT OR FORCE COMPLETE

  • 7/23/2019 CA 7 Cheat Sheet

    31/41

    11. REQUEUE A JOB (stuck in READY Queue)

    From any command line in CA7 use the following command to Requeue a job. This means the job will beremoved from the READY Queue and placed on the REQUEST Queue.

    If you went back to PSI (E.7;P;1) you would see that the job is now in the REQUEST Queue. The JCL can nowbe fixed, and the job restarted.

    REQUEUE,JOB=WCBSTST1

    ----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS -----------------F-JOBNAME--CA7#MSS6BD54 9026 JOB: MSS6*

    SEQ: ENTRYQUEUE: RDYLIST: ALL

    FUNCTIONS:C=CANCELF=RESTARTH=HOLDJ=JCLOVRDP=RSVP

    Q=REQUEUER=RELEASES=SUBTM OFFU=UPDATEV=VERIFYX=RQMT POSTE=EDIT QJCL

    PROGRAM: QM20 MSG-INDX: 22 -- QM.1-X -- 98.013 / 08:07:12

    -------------------------------- Queue Display --------------- Row 1 to 2 of 2COMMAND ===> SCROLL ===> PAGE

    Job Name ===> MSS6* System Name ===> MSS6HAMMQueue ===> * Status ===> *

    Line Commands:A Add requirement B Browse JCL R Refresh queue JCLS Display requirements Z Reset ZOOM error

    System CA-7 Schd Entry Start StartJob Name Name Num ID Que Late Job Status Mode Date Time-------------------------------------------------------------------------->

    _ MSS6BD54 MSS6HAMM 9026 001REQ NO REQUEUED

    DMND 98.013 07:32_ MSS6BD10 MSS6HAMM 8809 032 REQ YES ABENDED TRIG 98.013 08:17******************************* Bottom of data *******************************

  • 7/23/2019 CA 7 Cheat Sheet

    32/41

    12. DEMANDING A JOB (FORCE)

    From any command line in CA7 use the following command to force a job out into the request queue. Usingthe keyword RUN instead of DEMAND will also work, but RUN will cause the job to bypass requirementsand actually run.

    By adding the keyword DEPJOB the job WCBSBBBB will be added, and it will depend on, or wait for job WCBSAAAA tocomplete before it will kick off.

    13. ONE TIME SCHEDULING CHANGES TO JOBS NOT IN QUEUES

    DEMAND,JOB=MSS6BD54-----------------------------ELECTRONIC DATA SYSTEMS---------------------------

    CA-7.023 LOGON ACCEPTED, PRESS ENTER FOR MENU OR ENTER COMMAND

    USERID : BZWDF1 TERMINAL NAME : CA7002 DATE : 97.168VTAM APPLID : AFFCA7A TIME : 07:59:11LUNAME : CA719002 LEVEL : V3L2 (9610)

    CCCCCCCCCCC AAAAAAAAAA 77777777777

    CCCCCCCCCCC AAAAAAAAAA 77777777777CCC AAA AAA 7777

    CCC AAAAAAAAAA 0000 7777CCC AAAAAAAAAA 0000 7777

    CCC AAA AAA 7777CCCCCCCCCCC AAA AAA 7777

    CCCCCCCCCCC AAA AAA 7777

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

    . . . . . . . . . . . . . . . . . . . . . . . . . . .------------------------- CA-7 PRIMARY OPTION MENU ------------------------OPTION ===> DEMAND,JOB=MSS6BD10,DEPJOB=MSS6BD54

    USERID - BZWDF1PREFIX - BZWDF1TIME - 08:08

    0 PF KEYS - Specify CA-7/TSO-ISPF PF keys DATE -97/07/151 ONLINE - CA-7/TSO-ISPF Terminal Session APPLID - CA7

    - UID Resource =>

    X EXIT - Terminate CA-7/TSO-ISPF Interface

    Enter END command to terminate CA-7/TSO-ISPF.

  • 7/23/2019 CA 7 Cheat Sheet

    33/41

    By MSS6BD10 finishing. Here is how we could force MSS6BD54 to wait until 18:00 to run, even ifMSS6BD10 finishs before that.

    Go to a TSO command line. Type TSO TEMPCHNG. Enter . You will get the screen below.

    Type ADD. Enter. You should get the screen below.

    Follow the directions and save the member.

    ---------------------- SAIPC Temp Change Facility - MAIN ----- Row 1 to 1 of 1COMMAND ===> ADD SCROLL ===> CSR

    Account Line Opts Command Line Options:V - View Request ADD - Enter a new Temp ChangeE - Edit Request REFRESH - Update listingD - Delete Request VL - View LOG

    * Current *Date Time

    98/01/27 13:59

    Userid or 1st DateOpt JobName Sys Name Requestor Status Effective Opened==============================================================================_ MSS6BD10 MSS6HAMM MEADOR, JEFFREY S OPEN 98/01/27 13:38

    ******************************* Bottom of data *******************************

    -------------------------- SAIPC Temp Change Facility ------------------------COMMAND ===> SCROLL ===> CSR

    PLEASE READ THIS INFORMATION

    DAILY REQUESTS MUST BE SUBMITTED NO LATER THAN 15:45(PT), MON-FRI, IN ORDERFOR THE REQUEST TO BE PROCESSED THAT DAY. PLEASE ALLOW TWO HOURS FOR REQUESTS TOBE PROCESSED

    IF YOU NEED A REQUEST PROCESSED AFTER 15:45(PT), PLEASE DO NOT OPEN A REQUEST. CONTACTTHE OAC AT 916-636-3080.

    IF YOU ARE CHANGING MORE THAN ONE JOB IN A CYCLE, ENTER THE CONTROL-M USERIDOR THE CA7 SYSTEM NAME IN THE JOBNAME FIELD. IF REQUESTING MORE THAN ONE JOBPER MASK, THE JOBS MUST HAVE THE SAME USERID OR SYSTEM NAME. ONLY ONE PERMASK.

    CONTROL-M REMINDER: IF YOU ARE ADDING A JOB TO TODAY'S CYCLE, VERIFY THAT YOURODATE.EXECJCL LIBRARY CONTAINS THE PROPER JCL. TO MERGE YOUR JCL, USECONTROL-M OPTION '6.M'.

    IF YOU ARE RERUNING A CYCLE, ENSURE CONDITIONS FROM THE FIRST RUN ARE DELETEDFROM THE CONDITIONS RESOURCE MAP.

    Press ENTER to continue or PFK3 exit.

  • 7/23/2019 CA 7 Cheat Sheet

    34/41

    APPENDIX A

    QUICK REFERENCE CHEAT SHEET

    View jobs in the queues E.7;P;1

    View a jobs requirements E.7;P;1line option S

    Hold a job in the queue E.7;P;1line optiion A

    Free/Post user requirement of a job E.7;P;1line option S line option P

    Overrides E.7;P;5;6 A WCBSXXXX

    View abended jobs in the queues E.7;P;2

    Edit execution JCL E.7;7;1XQ,JOB=WCBS* line function E

    Restart abended job E.7;7;1XQ,JOB=WCBS* line function F

    Force (demand) a job E.7;7;1 DEMAND,JOB=WCBSXXXX

    Requeue a job E.7;7;1REQUEUE,JOB=WCBSXXXX

  • 7/23/2019 CA 7 Cheat Sheet

    35/41

    APPENDIX B

    This cheat sheet of CA-7 functions contains both basic and advanced commands. It is assumed that the userhas at least a rudimentary knowledge of how CA-7 functions. Hhighlighted commands corresponds toCONTROL-M

    View jobs in the queues E.7;P;1View abended jobs in the queues E.7;P;2

    View job requirements in queue (?Why) E.7;P;1 line option Snot in queue (option 2) E.7;7;1 LJOB,JOB=WCBSXXXX,LIST=ALL

    LJOB,JOB=WCBSXXXX,LIST=RQMTLJOB,JOB=WCBS*,LIST=ALL @@

    Hold a job--- in the queue E.7;P;1 line option A--- not in queue E.7;P;5;1 Header option A

    Also See long term overrides-insert a #hld line.

    POST- user requirement of a job - (Free) E.7;P;1 line option S line option P

    time, jobdep, user, etc E.7;7;1 XQ,JOB=WCBS* line function X-post dataset E.7;7;1 POST,JOB=WCBSXXXX,DSN=PWCBS.HRBSC.WCBSXXXX.OK

    POST,JOB=WCBSXXXX,DEPJOB=WCBSXXXX

    Cancel a job E.7;7;1 CANCEL,JOB=WCBSXXXX,FORCE=YES,REASON=xxxxxxxxE.7;7;1 XQ,JOB=WCBS* line function C

    (ALL triggered jobs will be cancelled too! POWERFUL!!!)

    Restart abended job - (Rerun) E.7;7;1 XQ,JOB=WCBS* line function F

    Demand a job - (Force) E.7;7;1 DEMAND,JOB=WCBSXXXXDEMAND,JOB=WCBSXXXX,DEPJOB=WCBXWWWW

    (add an in-condition)DEMAND,JOB=WCBSXXXX,TIME=1300

    (add start time)DEMAND,JOB=WCBSXXXX,SET=NTR Set no triggers

    (good for rerunning successfully completed jobs)DEMANDH,JOB=WCBSXXXX

    (add an automatic user hold)* all the DEMAND commands are powerful, use carefully.

    Run a job E.7;7;1 RUN,JOB=WCBSXXXX(Just like running outside of CA-7- no triggers/requirements)

    Edit execution JCL E.7;7;1 XQ,JOB=WCBS* line function E& override when job in queues

    Long term overrides (OPTION 6.O) E.7;P;5;6 S elect system WCBSHRBV thenA WCBSXXXX to add a new thencopy the JCL, add override thenadd //*IN=00/00/0000,OUT=00/00/0000,SE=RAT JR. as first line. thenSave JCL. //*in=11/11/.......----this line will hold the job automatically #hld----this line marks job complete w/o running jcl #nox

    //WCBS000 .....HELP E.7;7 HELP

    For jobs stuck in the READY QUEUE E.7;7;1 REQUEUE,JOB=WCBSXXXX-puts the job back in Request q. REQUEUE,JOB=1234

  • 7/23/2019 CA 7 Cheat Sheet

    36/41

    Add requirements -1 time for job in Qs E.7;7;1 ADDRQ,JOB=WCBSXXXX,DEPJOB=WCBSAAAA.SUBTM,JOB=WCBSXXXX,TIME=HHMMSUBTM,JOB=WCBSXXXX (*Removes time requirement*)

    ZOOM problems-- if problems with the JCL occur in ZOOM, the JCL doesnt make it to CA-7 for you to edit. follow thesedirections. E.7;P;1 identify Z-JCL fails

    line option B To browse JCL (note that this is NOT execution JCL)Find F //* W To find all error messagesE.7.P;5;6 To add override w/ correction (Note that job isnt really in CA-7

    queue yet so we ad the override this way)E.7;P;1 line opt. Z run through zoom again.

    Below are specific, unique functions that will never be used by the general SE community.

    View prior run information (Stat) E.7;7;1 LPRRN,JOB=WCBSXXXX orE.7;J

    Display cycle flow E.7;7;1FSTRUC,FROM=(MMDDYY,hhmm),JOB=WCBS*,TYPE=ALL @@

    Reverse job flow E.7;7;1 FRJOB,JOB=WCBS**** . Finds how this job will get inqueues.

    Pro -J, Job reporting (TSO CMR) E.7;J Use just like CMR . Job stats and abends.

    Request schedule changes (OPTION 6.J) E.7;P;5;2 Fairly straight forward. Remember when setting up conflict that bothjobs need to contain conflict.

    Inquire on calendars (OPTION 8) E.7;7;1 /DISPLAY,FM=SCAL (doesnt work)PRINT,YEAR=YY,SCAL=XX

    Find SCHIDs for a job E.7;7;1 LJOB,JOB=WCBSxxxx,LIST=SCHD

    Update/list ZPARM and override flags E.7;P;5;3 Use carefully. Dont use * in job or system name because commandwill take a long time to respond.

    Update BIAS E.7;P;5;5 Use A on header command line. Self explanatory.Please see my intro to CA-7 sheets to understand why Bias is needed.

    Inquire how SPARMS resolve E.7;P;3;6 Self explanatory. Try S081 as an example.This function shows what specific Sparms will be on Specific dates.

    Forecast jobs E.7;7;1 FJOB,FROM=(MMDDYY,hhmm),SPAN=24,SYS=WCBSHRBV @@FJOB,FROM(MMDDYY,hhmm),TO=( ........),SYS=WCBSHBRV @@

    List all jobs that will run today E.7;P;3 Use * in job name.

    Select option 3.This will bring up a list of all jobs that will run from 0759 thismorning to 0759 tomorrow morning.

    One day scheduling changes TSO TSO TEMPCHNG. Follow the directions.

    Auto edit simulator E.7;P;3;4 This will resolve parms. Fill the fields as below:System Name ===> MSS6HAMMSelection type:

    CA-7 Data Base ===> NO (YES,NO)

  • 7/23/2019 CA 7 Cheat Sheet

    37/41

    orData Set Name ===> PWCBS.HRBCH.JCLPDS

    Resolution information:Due Date ===> 06/24/1997(MM/DD/YYYY)SCHID ===> 030 (001 - 255)ZPARM/SPARMs ===> YES (YES,NO, or ASIS)Overrides ===> YES (YES,NO, or ASIS)

    Job Names:1) MSS6BD10 2) ________ 3) ________ 4) ________ 5) ________6) ________ 7) ________ 8) ________ 9) ________ 10) ________

    Once all field are complete hit enter.

    Other helpful items.Please contact me to get JCL for jobs to run these commands in a BATCH environment.Library SYS3.WASMA.DATEVAR will show the values for every valid Sparm for any day this year.Library SYSREAD.CA7.INFO has various information about CA-7 and the conversion.Member SYS4.ACCOUNT.FORECAST(ALLJOBS) contains facts about every job that will run in SAIPC1A between 0759 thismorning and 0759 tomorrow morning.

    AND COMMAND COMMAND FORMATS COMMAND RESULTS

    demand,job=jobname,schid=nnn job is entered in the request queue in ca-7 with the assigneschid.

    demand,job=jobname,schid=nnn,time=hhmm job is entered in the request queue in ca-7 with the assigneschid and a requirement of the assigned submit time (the ti

    parameter assigns a submit time to the job which then becoa job requirement. If the time parameter is not used with tdemand command, then the job enters the request queue wno assigned submit time even if the job has a pre-definedsubmit time on its normal schedule.)

    demandh,job=jobname,schid=nnn job enters into the request queue on hold. When you use th

    command format, a screen will come up asking for requireinformation (i.e. your name, phone number, reason for put

    job on hold)

    Demand,job=jobname,schid=nnn,set=ntr This command will schedule a job in ca-7s request queueall requirements will be ignored, triggering will be by-passand no post-processing will occur which means no prior rurecord will be created. Using the SET=NTR parameter like running a job outside of ca-7 but still have the batch

    processing authorization.

    fjob,sys=systemid,from=(mmddyy,hhmm),to=(mmddyy,hhmm)

    NOTE: You can also use job=jobname in place of thesys=systemid. (i.e. job=msp3*)

    DOES NOT SHOW OTHER (INDIRECT

    REQUIREMENTS !!

    the systemid needs to be replaced by a valid ca-7 systemid(i.e. mss3hamp); the date and time needs to be supplied fo

    both the from and to parameters. This is the command thaused to forecast the jobs that will run during the dates andtimes specified. You can do forecasts on cycles for an entiryears worth of dates providing that the calendars have bee

    built for that year.

    fjob,sys=systemid,from=(mmddyy,hhmm),to=(mmddyy,hhmm),seq=job

    same information as above but with the addition of seq=jthe results will be forecasted in jobname sequence. The deforecast is in time sequence.

    Fjob,sys=systemid,span=nn this command will provide a forecast of what will run for tspecified systemid for the supplied span time interval. In owords, fjob,sys=mss3hamp,span=24 would show you whawould run for the nationwide production cycle from midni

  • 7/23/2019 CA 7 Cheat Sheet

    38/41

    to midnight for todays date. Without a specified date, theassumed date is today date.

    Fqjob,sys=systemid,span=nn This command will forecast what remains to run for thespecified systemid based upon what is currently in ca-7srequest queue at the current time. For example, if during tnight you wanted to take a snapshot of what remains to runa particular cycle, you would want to issue this command fthe systemid of that cycle and supply the time span interva

    be forecasted. (i.e. fqjob,sys=mss3hamp,span=8) would syou what remains to run for the nationwide production cycfor the next 8 hours from the current time.

    Fqjob,sys=systemid,span=nn,seq=job This command will produce the same results only in jobnasequence because you are using the seq=job parameter.

    Fqjob,sys=systemid,from=(mmddyy,hhmm),to=(mmddyy,hhmm) This command will show you what will run for the specifiesystemid for the period of time specified based upon what jare currently in ca-7 queues. You can also use the seq=jo

    parameter with this command format.

    frjob,job=jobname this command will show you how the job gets into the systFor example, if a job msp3db10 is triggered in somewherethe cycle and you want to see how that sequence looked, yo

    can issue this command and it will show you a reversejobflow (reverse trigger flow)

    frjob,job=jobname,schid=nnn this will show you the reverse jobflow for the specified jobschid.

    frqjob,job=jobname shows how the specified job (currently in ca-7s queue gotthe system today (shows a reverse trigger based upon the jorecord that is currently in ca-7s queue.

    Lact This command shows you all jobs that are currently runninthe operating system for which you are authorized to view.

    Lact,job=jobname (you can also specify sys=systemid wheresystemid is replaced by the userid for the cycle; instead ofspecifying a specific job)

    This command shows all jobs running with the specifiedjobname (you can use masking and * is the maskingcharacter

    Lact,job=*,st=late Shows you all active jobs with a late status which simplemeans that they missed their calculated due out tiime as

    defined by ca-7. There are various values for the st optionthey are found on page 2-188 of the CA-7 3.2 MVSCommands Guide

    Ljcl,job=jobname Shows you the jcl for any job defined to ca-7 and the librarwhere the jcl was found.

    Ljob,job=jobname,list=all Shows how the job is defined in ca-7. This command showany schedules, triggers, follow-ons, requirements, or conflthat the specified job has.

    Ljob,job=jobname,list=rqmt Shows only what this job will wait on. Once again, thisinformation is from the ca-7 database. It is NOT listing hothe job appears in the request queue right now if, indeed th

    job is in the request queue.

    Ljob,job=jobname,list=depj Shows only the jobs that are dependent on the completion the specified job.

    Ljob,job=jobname,list=schd Shows only the scheduling information for the specified jo

    Ljob,job=jobname,list=rqusr Shows only the user requirements information

    Ljob,job=jobname,list=trig Shows all the triggering information pertaining to the specjob (what job will trigger this one and what this job trigger

    Ljob,job=jobname,list=rqvrm Shows virtual resource requirements only (this is conflictinformation; in other words, it shows the jobs that cannot rwith the specified due to contention problems)

  • 7/23/2019 CA 7 Cheat Sheet

    39/41

    Lprrn,job=jobname Shows information about the last successful completion ofspecified job. There is only ONE prior run record for anygiven job providing that the job has run successfully at leaone time in ca-7.

  • 7/23/2019 CA 7 Cheat Sheet

    40/41

    Lq,job=jobname Shows all the jobs in ca-7 primary queues (request, ready, active) for which you have authorization. You can use the

    parameter with this command as well.

    Lrdy,job=* Show all the jobs in ca-7 which whose job records currentlreside in ca-7s ready queue. Jobs should not be in the quefor very long (maybe a couple of seconds). If they stay in tqueue for an excessive period of time, there may be a syntaerror pertaining to the jobcard. Check the output queue inSAM. More than likely, the job will show as awaiting prinSelect the output and you will see the errror. You can use tST parameter with this command as well.

    Lreq,job=* Shows all jobs waiting in ca-7s request queue. Jobs will bdisplayed in this queue if they are abended or waiting onrequirements. These requirements must be satisfied before

    job can be submitted for execution. You can use the STparameter with this command, too.

  • 7/23/2019 CA 7 Cheat Sheet

    41/41

    Lschd,job=jobname,list=schd This command will list all the schedule information fromca-7 database for the specified job.

    Lschd,job=jobname,list=cals Shows a month-by-month calendar using the schedule dataselected. This command is valid only for jobs with resolvescheduled; in other words, the jobs must have a definedschedule or must be scheduled jobs. An example of this tyof job is any DA00 job.

    Lschd,job=jobname,list=sidnnn This command will display a month-by-month schedule dacalendar for one schedule ID specified by the nnn value.Again, this command is only valid for jobs where the schidare defined (i.e. DA00).

    Lschd,job=jobname,list=bysid This command will display a month-by-month calendar foeach schedule ID. Again, this command is only valid for jwhere the schids are defined (i.e. DA00).

    E Requeue,job=jobname Puts job back in ca-7s request queue. Usually used whenjob is sitting in the RDY queue due to a jcl syntax error onjobcard.

    Hold,job=jobname Places job on hold. Use this command only when the job ica-7s request queue. This will keep the job from being

    submitted after all its requirements have been satisfied.Release,job=jobname Removes the job from hold status