CA 7 Workload Automation: Best Practices. Marysue Redd

Size: px
Start display at page:

Download "CA 7 Workload Automation: Best Practices. Marysue Redd"

Transcription

1 CA 7 Workload Automation: Best Practices Marysue Redd

2 Terms of This Presentation This presentation was based on current information and resource allocations as of October 2009 and is subject to change or withdrawal by CA at any time without notice. Notwithstanding anything in this presentation to the contrary, this presentation shall not serve to (i) affect the rights and/or obligations of CA or its licensees under any existing or future written license agreement or services agreement relating to any CA software product; or (ii) amend any product documentation or specifications for any CA software product. The development, release and timing of any features or functionality described in this presentation remain at CA s sole discretion. Notwithstanding anything in this presentation to the contrary, upon the general availability of any future CA product release referenced in this presentation, CA will make such release available (i) for sale to new licensees of such product; and (ii) to existing licensees of such product on a when and if-available basis as part of CA maintenance and support, and in the form of a regularly scheduled major product release. Such releases may be made available to current licensees of such product who are current subscribers to CA maintenance and support on a when and if-available basis. In the event of a conflict between the terms of this paragraph and any other information contained in this presentation, the terms of this paragraph shall govern. 2

3 For Informational Purposes Only Certain information in this presentation may outline CA s general product direction. All information in this presentation is for your informational purposes only and may not be incorporated into any contract. CA assumes no responsibility for the accuracy or completeness of the information. To the extent permitted by applicable law, CA provides this document as is without warranty of any kind, including without limitation, any implied warranties or merchantability, fitness for a particular purpose, or non-infringement. In no event will CA be liable for any loss or damage, direct or indirect, from the use of this document, including, without limitation, lost profits, lost investment, business interruption, goodwill, or lost data, even if CA is expressly advised of the possibility of such damages. 3

4 Agenda > Scheduling tips and techniques > Requirement definitions > External communicators > VRM Virtual Resource Management > ARF Automated Recovery Facility 4

5 Scheduling Tips and Techniques > Online calendar support > RESOLV > SSCAN > Advanced scheduling techniques > External Communicators 5

6 Online Calendar Support CA-7 BASE CALENDAR MAINTENANCE FUNCTION: LIST (FORMAT,LIST,ADD,UPD,DELETE,REFRESH) CALENDAR: SCALyyTT SCHONLY: N YEAR: yy BEGIN END JAN / / 31 FEB / / 29 MAR / / 31 APR / / 30 MAY / / 31 JUN / / 30 JUL / / 31 AUG / / 31 SEP / / 30 OCT / / 31 NOV / / 30 DEC / / 31 PROGRAM: SM85 MSG-INDX: DB yy.ddd / hh:mm:ss MESSAGE: SCALyyTT LIST SUCCESSFUL 6

7 RESOLV > Global RESOLV RESOLV,JOB=*,OLDYR=*,TEST=NO,PRINT=NO 7

8 SSCAN Command CURRENT SCHEDULE SCAN VALUES SPAN = 240 INCREMENT = 120 QUEUE DWELL = 30 SKELETON RETRY = 0 REPROMPT = 10 LEAD TIME = 0 STATUS: REQQ IS ACTIVE ABR MSGS = NO RDYQ IS ACTIVE HOLD JOBS = NO NEXT SCAN WAKE-UP = AT 3679 NEXT SCAN PERIOD START TIME = yyddd AT hhmm SPO0-00 REQUEST COMPLETED AT hh:mm:ss ON yy.ddd. 8

9 Advanced Scheduling Techniques > Schedule job for Monday if Monday is first of month (any day of week can be tied to any day of month) > Schedule job to run 5 working days prior to 15 th of month > Daily job requires a weekly > Schedule job (job stream) once, have it run over and over and over and over and 9

10 Job Schedule Definition CA-7 CPU JOB SCHEDULING PARAMETER EDIT FUNCTION: (ADD,DELETE,EXIT,FORMAT,LIST,REPL,SAVE,SR,SS) JOB: SCHID: SCAL: ROLL: INDEX: DOTM LDTM SBTM REPEAT INTERVAL: TYPE: COUNT: STOP: DAILY WEEKLY SUN: MON: TUE: WED: THU: FRI: SAT: MONTHLY JAN: FEB: MAR: APR: MAY: JUN: JUL: AUG: SEP: OCT: NOV: DEC: WEEK: DAY-OF-WEEK: RDAY: ANNUAL DAY: DEFAULT SCAL: SYMETRIC START: SPAN: SCHID-COUNT: 000 PROGRAM: SM72 MSG-INDX: DB.2.1-E -- yy.ddd / hh:mm:ss MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE 10

11 Job Trigger Definition CA-7 JOB TRIGGERING FUNCTION: (FORMAT,LIST,UPD) PAGE 0001 JOB: OPT SCHID TRGD-JOB TRGID DOTM QTM LDTM SBTM *---- EXCEPTIONS ----* OPTIONS: A=ADD,D=DELETE,U=UPDATE,*=PROCESSED,?=ERROR PROGRAM: SM75 MSG-INDX: DB yy.ddd / 10:01:47 MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE 11

12 Requirement Definitions > DB CA-7 DATA SET PREDECESSORS FUNCTION: (FORMAT,LIST,UPD) PAGE 0001 PRED FOR JOB: LIST-SCHID: NEXT OPT SCHID LEADTM * DATASET NAME * DSNBR PERM -RUN > DB CA-7 CPU JOB PREDECESSORS FUNCTION: (FORMAT,LIST,UPD) PAGE 0001 PRED FOR JOB: LIST-SCHID: OPT SCHID LEADTM PRED-JOB NEXT-RUN 12

13 External Communicators > U7SVC D= > Trailer Step - SASSTRLR > Batch Terminal Interface SASSBSTR > CCI Interface > REXX interface 13

14 Virtual Resource Manager - VRM > RM CA-7 JOB RESOURCE MANAGEMENT FUNCTION ====> (FORMAT,LIST,UPD) JOB: LIST-SCHID: PAGE 0001 OPT SCHID RESOURCE NAME STEPNAME TYPE FREE OPTIONS: A=ADD D=DELETE U=UPDATE *=PROCESSED?=ERROR PROGRAM: RSC1 MSG-INDX: RM.1 -- yy.ddd/ hh:mm:ss MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE 14

15 Automated Recovery Facility - ARF > AR CA-7 ARF CONDITION DEFINITION MAINTENANCE FUNCTION: (CLEAR,DELETE,EDIT,FE,FETCH,REPL,SAVE) SET NAME: UID : 0 RESPONSE ID: DEF-COUNT: 000 PROGRAM: AR31 MSG-INDX: AR.3 -- yy.ddd / hh:mm:ss MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE 15

16 ARF Edit ARF CONDITION EDIT FUNCTION: (ADD,DELETE,EXIT,FORMAT,LIST,REPL,SAVE,SR,SS) DEFCT: 00 TYPE: SYS EQ * SID EQ 0 RSTC GE 0 EM EQ * DEFID: FROM: TO: JC, SC TST: STEP EQ * PROC EQ * PGM EQ * CC/ABENDS :??? GE 000??? GE 000??? GE 000??? GE 000??? GE 000??? GE 000 EC, EE, IS, LB, LE, LS TST: RESPONSES: 1: 2: 3: 4: 5: 6: 7: RO: GE DATE: TIME: AO:? INT/ADJ: FINAL -- DISP : N CA-11?: N BYPGDG: N USAGE: PROCESS: CC: START : END : PROGRAM: AR32 MSG-INDX: AR yy.ddd/ hh:mm:ss MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE 16

17 External Tracking > Data sets SASSXDSN > Jobs/tasks SASSEXTT & SASSEXTL 17

18 Session Summary Utilizing the various features and functions for CA 7 scheduling enhances the data center s ability to react to business needs. 18

19 Questions & Answers