Transcription

SrinimfCA7 Screens - MainframePowered by:www.srinimf.com

1CA-7 LOGON/LOGOFF:OPTION UCC7---------------------------*** M&S CA7 (3.2) HC01 ***------------------------PLEASE ENTER LOGON DATA OR PRESS PF3 TO DISCONNECTCA-7 REL 3.2 WAS RELEASED TO HC01 ON 03/08/97USERID:PASSWORDDSR013TERMINAL NAME : VTM002:VTAM APPLID : UCC7TIME : 16:05:53LUNAMELEVEL : V3L2 (9802)NEW PASSWORD :: A20MT267DATE : 99.166UID RESOURCE :PARMS:CCCCCCCCCCCAAAAAAAAAACCCCCCCCCCC CCCCCCCCCCC AAAAAA7777CCCCCCCCCCC AAAAAA7777COPYRIGHT (C) 1988, 1996COMPUTER ASSOCIATES INTERNATIONAL, INC.MENU---------------------------*** M&S CA7 (3.2) HC01 ***-------------------------CA-7.023 LOGON ACCEPTED, PRESS ENTER FOR MENU OR ENTER COMMANDCA-7 REL 3.2 WAS RELEASED TO HC01 ON 03/08/97

USERID: DSR013TERMINAL NAME : VTM002DATE : 99.166VTAM APPLID : UCC7TIME : 16:09:44LUNAMELEVEL : V3L2 (9802): 7AAAAAAAAAACCCAAACCC77777777777AAA7777AAAAAAAAAA 0000CCCAAAAAAAAAA CCCCCCCAAAAAA7777COPYRIGHT (C) 1988, 1996COMPUTER ASSOCIATES INTERNATIONAL, INC.LOGON IS COMPLETE!!!!To LOGOFF:Topline command – “/logoff”/logoff------------------------- CA-7 CPU JOB DEFINITION -------------------------FUNCTION: LIST(ADD,DELETE,DD,DELPRRN,FORMAT,LIST,UPD)JOB: YSRWCP2GENERAL:SYSTEM:JOBNET:OWNER: DSR000JCL:ID: 145 MEMBER: YSRWCP2UID: 0RELOAD: N EXEC: Y RETAIN-JCL: NLIB:REQUIREMENTS: HOLD: N JCL-OVRD: N USE-OVRD-LIB: N VERIFY: N MAINT: NSATISFACTION LEAD-TIME: JOB: 0 DSN: 0EXECUTION: MAINID: SY1ARFSET:INSERT-RMS: N COND-CODE: 0RO: NEDONT SCHEDULE -- BEFORE: 00000 0000 AFTER: 99999 0000

MESSAGES:LTERM: MASTERREQUIREMENT-LIST: Y PROMPTS: NERROR MSGS -- RQMTS NOT USED: Y DSN NOT FOUND: YRESOURCES: REGION: 960CLOCK-TIME: 0004 CPU-TIME: 00004CLASS: A PRTY: 000MSGCLASS: QTAPE DRIVES.TYPE1: 000 M 000 C TYPE2: 000 M 000 CPROGRAM: SM20MSG-INDX: 00-- DB.1-- 99.166 / 16:14:47MESSAGE: LIST SUCCESSFUL---------------------------*** M&S CA7 (3.2) HC01 ***------------------------CA-7.024 /LOGOFF SUCCESSFULCA-7 REL 3.2 WAS RELEASED TO HC01 ON 03/08/97USERID:PASSWORD:TERMINAL NAME : VTM002NEW PASSWORD :DATE : 99.166VTAM APPLID : UCC7TIME : 16:16:14LUNAMELEVEL : V3L2 (9802): A20MT267UID RESOURCE :PARMS:CCCCCCCCCCC AAAAAAAAAACCCCCCCCCCC AAAA 00007777CCCAAAAAAAAAA 00007777CCCAAAAAACCCCCCCCCCC AAAAAA7777CCCCCCCCCCC AAAAAA7777COPYRIGHT (C) 1988, 1996COMPUTER ASSOCIATES INTERNATIONAL, INC.77777777

2Commonly used Commands:CommandPurposeNotesLJOB,JOB *******Listing of job information.LPRRN,JOB *******Listing of last successful runXQJGives list of jobs in queueLRDYLists jobs awaiting executionCANCEL,JOB Y****Cancels job off the queue/LOGON & /LOGOFFLogs on and off CA-7.HELPGives help on commands, syntax, Once HELP has been typed,etc.user should then type Þ Y and1 to allow access to thecorrect screen.DEMAND(H),JOB Y*** Demands (hold[H] is optional)Should be used in conjuctionjob into CA7. If [H] is used then it with SCHID 0xx if job is to bewill wait in the XQJ screen untilrun on a particular day.released.2.1Other Useful Commands:CommandPurposeNotes/DISPLAY,Q ALLShows informationon the queue. LIST ALL LIST NODD LIST TRIG LIST SID***Shows everything forthat jobShows everythingexcept DDShows triggerinformation onlyShows triggers under1 schedule ID onlyFormat:LJOB,JOB PID****,LIST NODDLSCHD,JOB DID****Lists every job on thedatabase with asummary of scheduleinformation.Can also add Status, soST EXP (expired schedules)FSTRUC,SCHID ***,JOB *******Gives the order oftriggered jobs undera given structure.Please note that there can be more thanone schedule ID for each job and for eachday.

LRLOGDetails of previousruns since midnightAdd date * which gives the last five daysworth. Can also find out which jobs ranlate or were cancelled by usingST LATE/CANCLJCL,JOB Y****Lists JCL deck to beused by job ”x”,regardless ofwhether it’s in thequeue (XQJ).LISTDIR,DSN library,MEM memberLists members ofPDSLQ/LQUELists queueinformationLISTLists jobs which havefallen over/DISPLAY,ST JCLListing of all JCLID’sand their associatedlibrary.LJESLists jobs that havebeen sent to JESHOLD,JOB Y****Holds job in CA-7queue (XQJ)LQP,JOB Y*****Lists job informationfrom the Requestand LRDY queuesDisplays the current status of the job.Thiscommand shows you why a job may notbe executingPOST,JOB Y*****Satisfiesrequirements forjobs.Command followed by type ofrequirement to be met. IE.DSN xx.xxxx.xxxxx orJOB *******.REQUEUE,JOB Y****Puts job back in XQJwhen it’s sitting inLRDY or LJES queues.SUBTM,JOB Y*****Allows you to makeyour job run at aparticular time onceCan add Status, egST HELD,LATE,SUBM,ABNDGenerally displays information about alljobs that are on the CA-7 queue includingthe current status of the jobs.Followed by TIME hhmm

already on the XQJqueue./PROF(S)3Lists and updatesCA-7 user profiles.Resources & Profiles:As part of it’s security mechanism for jobs, CA7 uses userId resources and has profiles thatcan be set to allow access to those resources. This security is used to restrict access to jobsfrom users that do not have authority for the necessary profile.Each of the systems have a userId (UID) resource set (e.g. UID 158) for the majority of it’sjobs so that they can only be browsed, updated or demanded by authorized users. Thosejobs that interface or relate to another application, and hence require more open security toallow that application access to the jobs, have their UID set to 000 effectively having nosecurity.In order to access jobs with a non-zero UID the user must have RACF access to the relevantprofile. As authority to multiple profiles is possible the user must also change the ‘active’profile for viewing different applications. This can be done in UCC7 by entering thecommand: /PROF,R CA7NNNN where NNNN is the UID number for the required applicationNote: Once a resource has been ‘activated’, for a userId, it must be specified every timewhen logging on to UCC7, until such time as it is reset or changed – it is entered on theUCC7 logon panel in the UID resource field as CA7NNNN, where NNNN is the UID lastactivated.An active resource can be reset by entering the /PROF,R CA7NNNN command, replacingNNNN with zeros (i.e. UID 0000). This will mean that the userId no longer has an activeprofile and hence does not need to specify that resource at logon.Important: If a list of all jobs for an application is requested in CA7, but no resource (or therelevant resource) for that user is active, those jobs with a non-zero UID will notappear. More importantly, CA7 will provide no information that any jobs are missing fromthe listing. In effect, if the relevant resource for an application is not active, no informationon ‘secure’, non-zero UID jobs, will be provided.4 Triggering:A trigger is a form of scheduling and is by far the most economical, efficient method toschedule jobs to run under CA-7 control. In an ideal situation, the very first job in a SYSTEMshould always be scheduled by date/time There are two forms of triggering:·COMPLETION of a job (job triggering)

·CREATION of a dataset (dataset triggering)**NOTE**The Marks & Spencer standard specified that dataset triggers should only beused where absolutely necessary, for recovery work or to trigger a job based on a ReturnCode from a particular step!Triggers are controlled by Schedule ID’s. Whatever SCHID the job doing the trigger orcreating the dataset is using will be propagated to any triggered job. This is true in all casesexcept when TRIGID is specified.The following is an example of a typical use of TRIGID:The “BACKUP” job runs twice in this sequence, it’s the same job both times becauseremember that triggered jobs propagate their SCHID to following jobs, this is where aTRIGID is very useful, without it this sequence would LOOP.BACKUPruns using SCHID 1, under this ID it triggers UPDATE. UPDATEassumes SCHID 1 from BACKUP, under this SCHID triggers REPORT. REPORTassumes SCHID 1 from UPDATE, under this SCHID triggers BACKUP. BACKUPassumes SCHID 1 from REPORT, under this SCHID triggers UPDATE.UPDATE triggers REPORT and so on.To avoid this LOOP a TRIGID can be used. When REPORT triggers BACKUP it uses a TRIGID of99.BACKUPruns using SCHID 1, under this ID it triggers UPDATE. UPDATEassumes SCHID 1 from BACKUP, under this SCHID triggers REPORT. REPORTwith a TRIGID of 99.assumes SCHID 1 from UPDATE, under this SCHID triggers BACKUP BACKUP4.1runs using SCHID 99, under this SCHID it triggers nothing.Getting to the JOB TRIGGERING screens:The methods by which you can get to the CA-7 Job Triggering screens are:1.Topline command – ‘SCHD.JTRG’2.Topline command – ‘DB.2.4’3.Select function 2 from the Data Base Maintenance Menu, then function 4.

--------------------- CA-7 DATA BASE MAINTENANCE MENU ---------------------FUNCTION 2DATA BASE DEFINITION FOR:1 - CPU JOB2 - SCHEDULING3 - JOB PREDECESSOR/SUCCESSOR4 - WORKLOAD DOCUMENTATION5 - INPUT/OUTPUT NETWORK6 - DATA SETOTHER FUNCTIONS AVAILABLE:7 - JCL LIBRARY MAINTENANCE8 - TEXT EDITOR9 - CLEAR THE TEXT EDITOR ACTIVE AREAACTIVE AREA NOW CONTAINS 0000 LINES OF TEXTPROGRAM: SDM0MSG-INDX: 00-- DB-- 99.166 / 10:17:37MESSAGE: SPECIFY DESIRED OPTION OR ENTER A COMMAND ON THE TOP LINE--------------------------- CA-7 SCHEDULING MENU --------------------------FUNCTION 4DATE/TIME SCHEDULING FOR:1 - CPU JOB2 - INPUT NETWORK3 - OUTPUT NETWORKTRIGGER 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 DATES8 - BASE CALENDAR MAINTENANCEPROGRAM: SM70MSG-INDX: 00-- DB.2-- 99.166 / 10:25:23MESSAGE: ENTER OPTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE--------------------------- CA-7 JOB TRIGGERING ---------------------------FUNCTION: LIST(FORMAT,LIST,UPD)PAGE 0001JOB: YSRWCP2OPT SCHID TRGD-JOB TRGID DOTM QTM LDTM SBTM *---- EXCEPTIONS ----*000 YSRWCP300100010OPTIONS: A ADD,D DELETE,U UPDATE,* PROCESSED,? ERRORPROGRAM: SM75MSG-INDX: 00-- DB.2.4-- 99.166 / 10:27:06MESSAGE: LIST FUNCTION SUCCESSFULEND OF DATA REACHEDWhen wanting to change or add a trigger, under the “OPT” field, you have the option ofplacing an “A” or a “D” (ADD & DELETE respectively) on the respective line. So if you wantedto change the trigger from YSRWCP2 YSRWCP3 to YSRWCP2 YSRWCP4, for example,you would do the following:--------------------------- CA-7 JOB TRIGGERING ---------------------------FUNCTION: upd(FORMAT,LIST,UPD)PAGE 0001JOB: YSRWCP2OPT SCHID TRGD-JOB TRGID DOTM QTM LDTM SBTM *---- EXCEPTIONS ----*d000YSRWCP30010 0010a000YSRWCP40010 0010

OPTIONS: A ADD,D DELETE,U UPDATE,* PROCESSED,? ERRORPROGRAM: SM75MSG-INDX: 00-- DB.2.4-- 99.166 / 11:46:37MESSAGE: LIST FUNCTION SUCCESSFULEND OF DATA REACHED5CPU Job Definition:Each job to be controlled by CA-7 must first be defined in its database, the easiest methodto do this is to “ADD” the job using the JOB SCREEN, Panel “DB.1” or just use the Toplinecommand “JOB”.------------------------- CA-7 CPU JOB DEFINITION REQUIREMENTS: HOLD:JCL-OVRD:USE-OVRD-LIB:SATISFACTION LEAD-TIME: JOB:DSN:VERIFY:ARFSET:MAINT:

EXECUTION:MAINID:INSERT-RMS: COND-CODE:DONT SCHEDULE -- BEFORE:MESSAGES:LTERM:RO:AFTER:REQUIREMENT-LIST: PROMPTS:ERROR MSGS -- RQMTS NOT USED:DSN GCLASS:TAPE DRIVES.TYPE1:PROGRAM:CPU-TIME:MSG-INDX: 00M-- DB.1C TYPE2:MC-- 99.166 / 10:56:47MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE------------------------- CA-7 CPU JOB DEFINITION -------------------------FUNCTION: LIST(ADD,DELETE,DD,DELPRRN,FORMAT,LIST,UPD)JOB: YSRWCP2GENERAL:JCL:SYSTEM:JOBNET:ID: 145 MEMBER: YSRWCP2OWNER: DSR000UID: 0RELOAD: N EXEC: Y RETAIN-JCL: NLIB:REQUIREMENTS:HOLD: N JCL-OVRD: N USE-OVRDLIB: N VERIFY: N MAINT: NSATISFACTION LEAD-TIME: JOB: 0EXECUTION: MAINID: SY1DSN: 0ARFSET:INSERT-RMS: N COND-CODE: 0 RO: NEDONT SCHEDULE -- BEFORE: 00000 0000 AFTER: 99999 0000MESSAGES:LTERM: MASTERREQUIREMENT-LIST: Y PROMPTS: NERROR MSGS -- RQMTS NOT USED: Y DSN NOT FOUND: YRESOURCES: REGION: 960CLOCK-TIME: 0004 CPU-TIME: 00004CLASS: A PRTY: 000MSGCLASS: Q

TAPE DRIVES.TYPE1: 000 M 000 C TYPE2: 000 M 000 CPROGRAM: SM20MSG-INDX: 00-- DB.1-- 99.166 / 11:01:09MESSAGE: LIST SUCCESSFULA brief description of the Functions and Fields on this screen can be found in the “CA-7 UserGuide – Version 3.0” (see Zak Broome-Levett or Ken Stowers for its location).6Dataset Definition:CA-7 keeps information on its database on ALL DATASETS used by jobs run under its control.Dataset information can either be added manually using the DSN SCREEN, pnael “DB.6”, orautomatically through LOAD PROCESSING (CA-7 recognises NEW Datasets).------------------------- CA-7 DATA SET DEFINITION T,LIST,RENAME,UPD)DSN:DSNBR:NEWNAME:TYPE:GDG:SMF FEEDBACK REQUIRED:POST AT CLOSE TIME:DEVICE:DSORG:RECFM:LRECL:BLKSIZE:PROGRAM: SM30MSG-INDX: 00-- DB.6-- 99.166 / 11:13:47

MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE6.1Internal Datasets:These are datasets which are created by a CA-7 controlled job (DISP NEW). As the job runsit generates SMF information on the datasets it uses, hence CA-7 can keep track of wheneach dataset is created and AUTOMATICALLY satisfy dataset dependencies and triggers.6.2External Datasets:These are datasets that are not created by a CA-7 controlled job and for which no SMFinformation is received. This being the case, CA-7 cannot satisfy any dependencies on thesedatasets, hence, if any jobs have EXTERNAL DATASET REQUIREMENTS these would needMANUAL intervention to run (ie. An operator would need to satisfy these requirements witha command)Examples of these datasets are STEPLIBS, USER CATALOGS, SORTLIBS and PDS librarieswhich may hold SYSIN data.In order to avoid this, all external datasets should be made PERManently available.NORM:A NORM dataset (default) means that ANY JOB which INPUTS THAT DATASET willautomatically have the dataset flagged as a dataset requirement.NB: As this is the default, any datasets ADDed by LOAD PROCESSING will be flagged asNORM, this includes INTERNAL & EXTERNAL datasets.PERM:A PERM dataset (permanently available, means that ALL dependencies on this dataset areignored.You can make a dataset PERM by using the JOBCONN, DSN screen or on a system level byusing the DSN SCREEN (below).Command “DB.6”------------------------- CA-7 DATA SET DEFINITION T,LIST,RENAME,UPD)DSN:DSNBR:NEWNAME:TYPE:GDG:

SMF FEEDBACK REQUIRED:POST AT CLOSE TIME:DEVICE:DSORG:RECFM:LRECL:BLKSIZE:PROGRAM: SM30MSG-INDX: 00-- DB.6-- 99.166 / 11:13:47MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE7Job Predecessor/Successor:Job Predecessors/Successors (Dependencies) are used in combination with Schedulingcriteria to control job sequencing in CA-7.When a job is scheduled, be it triggered or Schedule Scan, the job enters the request queuealong with a copy of its pre-execution requirements, which can include:·Successful completion of a predecessor job/s (Job dependency)·Creation of a dataset/s (Dataset dependency)·Free form Text (User Requirement)·JCL Override (specified on job screen)·Submit time (specified as part of the scheduling criteria)The job will not be submitted until all its requirements have been satisfied, manually orautomatically, to ensure correct job sequencing. Dependencies are defined by SCHID, and afurther qualification called Satisfaction lead-time. To get to the CA7 CPU Job Predecessorpanel you can use:·Topline command – ‘JOBCONN,JDEP’·Topline command – ‘DB.3.2’·Select function 3 from the CA7 Database Maintenance Menu (DBM), and then function2 from the CA7 Job Predecessor/Successor menu.--------------------- CA-7 DATA BASE MAINTENANCE MENU ----------------------

FUNCTION 3DATA BASE DEFINITION FOR:1- CPU JOB2- SCHEDULING3- JOB PREDECESSOR/SUCCESSOR4- WORKLOAD DOCUMENTATION5- INPUT/OUTPUT NETWORK6- DATA SETOTHER FUNCTIONS AVAILABLE:7- JCL LIBRARY MAINTENANCE8- TEXT EDITOR9- CLEAR THE TEXT EDITOR ACTIVE AREAACTIVE AREA NOW CONTAINS0000LINES OFTEXTDBPROGRAM: SDM0-- 99.166MSG-INDX:00--/ 12:28:11MESSAGE: SPECIFY DESIRED OPTION OR ENTER A COMMAND ON THE TOP LINE------------------- CA-7 JOB PREDECESSOR/SUCCESSOR MENU ------------------FUNCTION 2EXECUTION REQUIREMENTS DEFINED BY:

1- DATA SET PREDECESSORS2- CPU JOB PREDECESSORS ORMUTUALLY EXCLUSIVE JOBS (CAN NOT RUN AT SAMETIME)4- INPUT NETWORK PREDECESSORS OROUTPUT NETWORK SUCCESSORS6PREDECESSORS- USER MEMO-FORM7DB.3- REPORT IDS CREATEDPROGRAM: SM60-- 99.166MSG-INDX:00--/ 12:29:13MESSAGE: SPECIFY OPTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE------------------------ CA-7 CPU JOB PREDECESSORS ------------------------FUNCTION:PAGE 0001(FORMAT,LIST,UPD)PRED FOR JOB:OPT SCHIDLEADTMLIST-SCHID:PRED-JOBNEXT-RUN

OPTIONS: A ADD,D DELETE,U UPDATE,* PROCESSED,? ERRORPROGRAM: SM61DB.3.2-- 99.166MSG-INDX:00--/ 12:29:45MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOPLINEFor more detailed information regarding Satisfaction Lead Time, look in the “CA-7 UserGuide - version 3.0”. This will demonstrate how to use this parameter effectively.A job can be dependent on any number of other jobs completing beforehand. If thetriggering job is the only requirement for the job then NO DEPENDENCY is needed, since thejob will not be initiated until the triggering job completes.7.1Mutually Exclusive Jobs:You can define to CA-7 that jobs are not to be run concurrently. These jobs are notdependent on each other, they simply cannot run at the same time (maybe they update thesame files). This is also known as negative dependency.The same screen is used to define a mutually exclusive job as with predecessor. Keep in mindthat with MUTUALLY EXCLUSIVE jobs, if one job abends the other will still run.------------------- CA-7 JOB PREDECESSOR/SUCCESSOR MENU ------------------FUNCTION 2EXECUTION REQUIREMENTS DEFINED BY:1- DATA SET PREDECESSORS2- CPU JOB PREDECESSORS ORMUTUALLY EXCLUSIVE JOBS (CAN NOT RUN AT SAMETIME)4- INPUT NETWORK PREDECESSORS OROUTPUT NETWORK SUCCESSORS6PREDECESSORS- USER MEMO-FORM

7DB.3- REPORT IDS CREATEDPROGRAM: SM60-- 99.166MSG-INDX:00--/ 14:11:32MESSAGE: SPECIFY OPTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE------------------------ CA-7 CPU JOB PREDECESSORS ------------------------FUNCTION: upd(FORMAT,LIST,UPD)PRED FOR JOB: JOB123OPT SCHID LEADTMa00PAGE 0001LIST-SCHID:PRED-JOB NEXT-RUN/JOBXYZOPTIONS: A ADD,D DELETE,U UPDATE,* PROCESSED,? ERROR

PROGRAM: SM61MSG-INDX: 00-- DB.3.2-- 99.166 / 14:38:18MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINEIn the above example, JOBXYZ has been made mutually exclusive with JOB123. When CA-7goes to submit this job it will first check to see whether JOB123 is in either the READY orACTIVE queues. If so, then JOBXYZ will be held back until JOB123 either completes orabends.Currently, the reverse is not true, if JOBXYZ was running and JOB123 came along it wouldrun, which is why both jobs must be updated, i.e. JOB123 must also be made mutuallyexclusive to JOBXYZ, as follows:------------------------ CA-7 CPU JOB PREDECESSORS ------------------------FUNCTION: upd(FORMAT,LIST,UPD)PRED FOR JOB: JOBXYZPAGE 0001LIST-SCHID:OPT SCHID LEADTMPRED-JOB NEXT-RUNa/JOB12300OPTIONS: A ADD,D DELETE,U UPDATE,* PROCESSED,? ERRORPROGRAM: SM61MSG-INDX: 00-- DB.3.2-- 99.166 / 14:38:18MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE

8Dataset Predecessors:A job can be dependent on the creation of a dataset/s before being released to run, this iscalle