Title: XINFO
1XINFO
The IT Information System
CA-7
HORIZONT Software for Datacenters
Garmischer Str. 8 D- 80339 München Tel 49(0)89
/ 540 162 - 0www.horizont-it.com
2XINFO for CA-7 offers
- XINFO Tables for
- Evaluations, queries
- How is what defined (e.g. jobs with EXECNO)
- CA-7 updated values (e.g. last run date/time)
- Cross reference
- Which jobs are using which functions (e.g.
ressources, DSN-Trigger) with which options? - XINFO Graphic
- Jobnetplan (flowchart)
3XINFO Tables for CA-7
- Job definitions
- Scheduling definitions
- Trigger
- Requirements
- Job/Step/Program informations (CA-7 JCL)
- Job/DD/DSN informations (CA-7 JCL)
- Virtual resources
- Workload documentation, Prose
- Scheduled overrids (JI, JO from JCL-Scanning)
4CA-7 - Startpanel
Select CA7 from XINFOs startpanel
5CA-7 - Displays
the displays for CA-7
6XINFO Display Job Information
------------------------- CA-7 CPU JOB
DEFINITION -------------------------- FUNCTION
LIST (ADD,DELETE,DD,PURGE,DELPRRN,FORMAT,LIST
,UPD) JOB XXRJANF
GENERAL SYSTEM XXRTAG JOBNET
OWNER UID 0
JCL ID 0 MEMBER XXRJANF
RELOAD N EXEC Y RETAIN-JCL N
LIB
REQUIREMENTS HOLD N JCL-OVRD
N USE-OVRD-LIB N VERIFY N MAINT N
SATISFACTION LEAD-TIME JOB 0 DSN
0 ARFSET
EXECUTION MAINID ALL INSERT-RMS Y
COND-CODE 0 RO 0
DONT SCHEDULE -- BEFORE 00000 0000 AFTER 99999
0000
MESSAGES LTERM REQUIREMENT-LIST
Y PROMPTS Y ERROR
MSGS -- RQMTS NOT USED Y DSN NOT FOUND Y
RESOURCES
REGION 6000 CLOCK-TIME 0001 CPU-TIME 00001
CLASS A PRTY
000 MSGCLASS T
TAPE DRIVES...TYPE1 000 M 000 C
TYPE2 000 M 000 C
PROGRAM SM20 MSG-INDX 00 -- DB.1
-- 03.165 / 101628 MESSAGE
LIST SUCCESSFUL
7XINFO Display Schedule Definition
------------------ CA-7 CPU JOB SCHEDULING
PARAMETER EDIT ------------------ FUNCTION
LIST (ADD,DELETE,EXIT,FORMAT,LIST,REPL,SAVE,S
R,SS) JOB XXRJANF SCHID 10
SCAL ROLL D INDEX 000
DOTM LDTM SBTM
0110
0010 0100
__ X __ 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 HO __ __ SYMETRIC START
SPAN SCHID-COUNT 001
PROGRAM SM72
MSG-INDX 00 -- DB.2.1-E -- 03.165 / 100246
MESSAGE LIST FUNCTION SUCCESSFUL
8XINFO Display Job Triggering
--------------------------- CA-7 JOB TRIGGERING
---------------------------- FUNCTION LIST
(FORMAT,LIST,UPD)
PAGE 0001 JOB XXRJANF
OPT SCHID
TRGD-JOB TRGID DOTM QTM LDTM SBTM ----
EXCEPTIONS ---- 010 XXRJJUP
0200 0020
010 XXRJC7L 0200 0010
010 XXRJC7
0200 0010
010 XXRJSMF 0200
0040
OPTIONS AADD,DDELETE,UUPDATE,PROCESSED,?ER
ROR PROGRAM SM75
MSG-INDX 00 -- DB.2.4 -- 03.165 / 103402
MESSAGE LIST FUNCTION SUCCESSFUL
------------------------- CA-7 DATA SET
TRIGGERING ------------------------- FUNCTION
LIST (FORMAT,LIST,UPD)
PAGE 0001 DSN P390K.DSN.TRIGGER
DSNBR 11
OPT SCHID TRGD-JOB TRGID DOTM QTM LDTM SBTM
---- EXCEPTIONS ---- 000 JOB010
010 0200 0020
000 JOB011 010 0200
0020
000
JOB012 010 0200 0020
OPTIONS AADD,DDELETE,UUP
DATE,PROCESSED,?ERROR
PROGRAM SM75 MSG-INDX 00 -- DB.2.6 --
03.165 / 105709 MESSAGE LIST
FUNCTION SUCCESSFUL
9XINFO Display Requirements
------------------- CA-7 JOB PREDECESSOR/SUCCESSO
R MENU ------------------- FUNCTION gt
EXECUTION REQUIREMENTS DEFINED BY
1 -
DATA SET PREDECESSORS
2 - CPU JOB PREDECESSORS
OR
MUTUALLY EXCLUSIVE JOBS (CAN NOT RUN AT
SAME TIME) 4 - INPUT
NETWORK PREDECESSORS OR
OUTPUT NETWORK SUCCESSORS
6 -
USER MEMO-FORM PREDECESSORS
7 - REPORT IDS CREATED
PROGRAM SM60 MSG-INDX
00 -- DB.3 -- 03.165 / 110831
MESSAGE SPECIFY OPTION, TRANSFER OR ENTER A
COMMAND ON THE TOP LINE
10CA-7 - You like to know ...
Which jobs are not running anymore?
Which jobs have EXECN?
Which jobs have lead time gt 1 hour?
Which jobs are triggered by a job?
Which jobs are triggered by a dataset?
Which jobs have user requirements?
Which jobs are using virtual resources?
Which jobs did use a resource between 0100 and
0600?
How to create job flowcharts?
How to get all successors of a job?
How does XINFO work with CA-7 SCHIDs
Whats new with XINFO 2.3?
11CA-7 - Job Information
To search for jobs...
... select Job Information
12CA-7 - Search for Jobs
Which jobs CA are not running anymore since
31.12.2000?
scroll down for more selection criteria
specify last run date and the comparison
operator LE
13CA-7 - Resulting Jobs
Job
Scroll to the right
14CA-7 - Resulting Last Run Dates
Last Run Date
Job
15Find Jobs, e.g. with ExecN
Scroll for more selection-fields
16Result Job Information"
Found jobs
Scroll for more columns
Legend for the Columns
17CA-7 - Job Triggering
To search for triggered jobs...
... select Job Triggering
18Result Job Triggering
Found Jobs
Scroll for more columns
JOB Job Trigger DSN DSN Trigger NW Network
Trigger
19CA-7 - Search for dataset triggers
Which jobs CXX are triggered by
datasets?(NB means NON BLANK)
20CA-7 - Resulting dataset triggers
JOB Job Trigger DSN DSN Trigger NW Network
Trigger
Job
Dataset triggers
21CA-7 - User Requirements
To search for requirements...
... select Requirements/Pred
22CA-7 - Search for User Requirements
Which jobs have user requirements?
23CA-7 - Resulting Jobs
Job
Scroll to the right
24CA-7 - Resulting User Requirements
User Requirements
Job
25Find jobs, e.g. with Lead Time gt 1 h
Scroll for more selection-fields
26Result Schedule Definition
Found Jobs
Scroll for more columns
27XINFO Display Prose
Find any string anywhere in the job
dokumentations
28XINFO Display Scheduled Overrides
The JCL-Scanner interprets JI, JO and resolves
the JCL for all possible SCHIDs and puts in this
table for which SCHID is the JCL-Statement
valid.
29XINFO Displays JOB/PGM/DD
30XINFO Display JOB/PGM/DD
Which Job is using which DSN (Ca-7 DSNBR-Nr. is
available too)
31CA-7 - Search for Virtual Resources
Which jobs are using Virtual Resources DB?
32CA-7 - Resulting Virtual Resources
Job
Resource
33CA-7 - Advanced Search for Virtual Resources
- Q When are virtual resources used, and which
jobs did use them? - A There is no standard display in XINFO for
that, but you can join CA-7 virtual resources
with SMF job/step information
34CA-7 - Advanced Search for Virtual Resources
Where to get more information about that XINFO
manuals "ISPF Dialog Generator" and "Tips and
Tricks for the Administrator"
DSPLTVRSMF Virtual Resources
Specify fields for SELECT- Panel
Specify fields for TABLE- Panel
JOIN VRJOBNAME ltgt SMFJOBNAME VRSTEP ltgt
SMFSTEPNAME
Generate more Line Commands with XXRJMD3
Define external Line Commands
Define Line Commands
XXRTSMFSMF - Job/Step Information
35CA-7 - Advanced Search for Virtual Resources
All jobs which used resource DB2 between 0100
and 0600
Our new display for resource history
36CA-7 - Resulting Virtual Resources
Jobs, which used Resource DB2
37CA-7 - Job Flowcharts
Go to the end of the display list to activate
XINFO's graphics
38CA-7 - Job Flowcharts
Select CA7 Job Netplan
39CA-7 - Selection for Job Flowcharts
Specify selection criteria
40XINFO Graphic CA-7 Job Netplan
not parallel
DSN Trg Jobs
Predecessor
Job Trg Jobs
All connections with the matching SCHID
USR Requirement
41CA-7 - Using Line Commands
Right mouse click on a job symbolDirect access
to all related information
42CA-7 - Successors of a Job
What happens if a job would fail?
Use the line command "Dep. Level"
43CA-7 - Resulting Successors of a Job
...to find out which jobs would not run!
44How does XINFO get CA-7 data?
- Running CA-7 Batch Terminal
- LJOB,JOB,LISTALL
- XINFO Scanner
- Read SYSPRINT of BTI
- Write the data, prepared to load in XINFO-Tables
- Find out all possible SCHIDs for every Job and
creates dependencies, to build the graphic
jobnetplan
45SCHIDs and Triggering within CA-7 Jobnetplan
- The XINFO-Scanner creates one job occurrence for
each SCHID it is running (scheduled or triggered
by) - Example
- JOBA runs Mon with 001 and Tue with 002
- JOBA triggers JOBB with SCHID000
- JOBB triggers JOBC with SCHID000
- JOBA triggers JOBD with SCHID002
46SCHIDs and Triggering within CA-7 Jobnetplan
JOBA triggers with SCHID 000, JOBB inherit 001
JOBC inherit 001 from JOBB
In that chain they inherit 002
JOBA is scheduled with SCHID 001 and once again
with 002
If running on SCHID 002, in addition, JOBA
triggers JOBD
47SCHIDs and Triggering within CA-7 Jobnetplan
XINFO creates one job occurrence for each
JOB/SCHID, to show the different trigger
chains. Cluster by Schedule ID is a useful
Option.
48SCHIDs and Job Predecessor Requirements
- Dependencies within the flowchart are build by
the scanner program with consideration of the
SCHIDs. There is no Job with SCHID000 in the
flowchart. For that, XINFO must decide which
Jobs/schids are pred/succ. That can be done in
two different ways - EXEC PGMXXRIC72,PARM(/ALLREQN
- Bulid dependencies between Jobs, if both Jobs run
with the same SCHID only. - EXEC PGMXXRIC72,PARM(/ALLREQY
- Bulid dependencies between Jobs in all
combination of SCHIDs. - Please see following Examples
49SCHIDs and Job-Pred within CA-7 Jobnetplan
Scanner run with ALLREQN
In CA-7, EGJOB0C has Pred EGJOB0B regardless of
the SCHID (0).
You can see the two trigger chains (010 020)
You can see the Req. between the Jobs with the
same SCHID only!
50SCHIDs and Job-Pred within CA-7 Jobnetplan
Scanner run with ALLREQY
Now you can see, EGJOB0C has EGJOB0B as Pred,
regardless of the SCHIDs
51SCHIDs and Job-Pred within CA-7 Jobnetplan
Scanner run with ALLREQY
Another example with one more Job which has
EGJOB0B as pred, too.
52SCHIDs and Job-Pred within CA-7 Jobnetplan
Scanner run with ALLREQN
Same example with less dependencies is more
clear. Trigger-Links are the same, but
requirements between same SCHID only. Many
customers like it, even if its not real CA-7
53SCHIDs and Job-Pred within CA-7 Jobnetplan
Naturally the same behavior if the
Pred/Succ-Function is used
54SCHIDs and Job-Pred within CA-7 Jobnetplan
If the scanner run with ALLREQN, you can see
requirements between jobs of same SCHID only.
55SCHIDs and Job-Pred within CA-7 Jobnetplan
If the scanner run with ALLREQY, requirements
between all SCHIDs are presented.
56SCHIDs and Job-Pred within CA-7 Jobnetplan
Another example, ALLREQN
Job EGJOB11 has EGJOB09 as pred, regardless of
the SCHID and EGJOB05, if running on SCHID 025
Because EGJOB05 runs not on SCHID 025, the
dependency is not shown
57SCHIDs and Job-Pred within CA-7 Jobnetplan
If ALLREQY is used, all possible dependencies
are shown.
58SCHIDs and Job-Pred within CA-7 Jobnetplan
- If you need all dependencies, simple change job
XXRJC7Vn, step XXRIC72. - It could be a good idea to run the scanner two
times (ALLREQY/N). - Use different Subsys-Names and create
Views/Displays - Or load the data into two Tables/Displays
59Problems with the Batch-Terminal
- Long duration ca. 90 min. / 10.000 Jobs
- Without JOB/PGM/DD-Table and LJOB,JOB,LISTNODD
- Duration 40 min. / 10.000 Jobs
- One terminal occupied (you can avoid this using
CCI, performance is slightly better) - CA7-Batch-Terminal-Output-File has to be
allocated new, with large space amount (requires
CA-7 stop/start)
60Whats new with XINFO 2.3
- No more dependent on Batch Terminal, the scanner
reads now CA7-VSAM files. Duration 3 min. /
10.000 Jobs - Creator job of trigger DSN are shown as
predecessors in the netplan. Info is based on - JCL (table JCL - DSN)
- CA-7 JCL (table sStep/DD Information)
- U7SVC command (Tabelle JCL - SYSIN)
- Jobs which are planned by using BTI or U7SVC
command DEMAND or RUN are displayed
graphically in the netplan. Info is based on - Table JCL - SYSIN
- Table JCL - EXEC
61CA-7 Job Netplan, DSN Trigger
Job creates Trigger-DSN
DSN triggers Job
JCL and/or CA7 Info of the jobs must be
available to XINFO
62CA-7 Job Netplan, BTI DEMANDs
- If you use Batch Terminal and CA-7 commands to
demand Jobs
//CA7STEP1 EXEC CA7BTI //SYSPRINT
DD SYSOUT //SYSIN DD
/LOGON
DEMAND,JOBDJOB011,JCLID0,SCHID10 /LOGOFF
The JCL has to be scanned by XINFO
... //SYSIN DD /LOGON
RUN,JOBTESTXXX,JCLID001
/LOGOFF
63CA-7 Job Netplan, SVC DEMANDs
- If you use CA7SVC and CA-7 commands to demand
Jobs
// EXEC CA7SVC,PARM'/LOGON
DEMAND,JOBDJOB061' //CA7DATA DD
DEMAND,JOBDJOB062
DEMAND,JOBDJOB063/LOGOFF /
DD-Name CA7DATA has to be defined as SYSIN in
the JCL scanner parameters.
64CA-7 Job Netplan, REXX DEMANDs
- If you use CA7REXX and CA-7 Commands to emand
Jobs
//CA7TSO01 EXEC PGMIKJEFT01
//STEPLIB DD DSNSYSH.CA7.V3R3.CAILIB,DIS
PSHR //SYSPROC DD DSNSYSH.CA7.V3R3.CA
ICLIB,DISPSHR //SYSTSPRT DD SYSOUT
//SYSTSIN DD
EX
'SYSH.CA7.V3R3.CAICLIB(CA7REXX)'
'DEMAND,JOBTJOB01' /
XINFO recognizes that command...
65CA-7 Job Netplan, REXX DEMANDs
//CA7TSO01 EXEC PGMIKJEFT01
//STEPLIB DD DSNSYSH.CA7.V3R3.CAILIB,DI
SPSHR //SYSPROC DD
DSNSYSH.CA7.V3R3.CAICLIB,DISPSHR
//SYSTSPRT DD SYSOUT
//SYSTSIN DD
EX 'SYSH.CA7.V3R3.CAICLIB(DJOB
051)' /
But in this case XINFO has a problem The
commands are not in the JCL
EDIT SYSH.CA7.V3R3.CAICLIB(DJOB051) - 01.02
Command gt
Top of Data 000001 / REXX /
000002
000003 ADDRESS
TSO 000004
"CALL 'SYSH.CA7.V3R3.CAILIB(U7SVC)'
000005 '/LOGON DEMAND,JOBDJOB051 /LOGOFF'
"
66CA-7 Job Netplan, REXX DEMANDs
- If you use your own REXX and CA-7 commands to
demand Jobs
//CA7TSO01 EXEC PGMIKJEFT01
//STEPLIB DD DSNSYSH.CA7.V3R3.CAILIB,DI
SPSHR //SYSPROC DD
DSNSYSH.CA7.V3R3.CAICLIB,DISPSHR
//SYSTSPRT DD SYSOUT
//SYSTSIN DD
EX 'SYSH.CA7.V3R3.CAICLIB(DJOB
051)' /
//SYSIN
DD DSNSYSH.CA7.V3R3.CAICLIB(DJOB051),DISPSHR
XINFO can alnalyze REXX if the source is
specified in the SYSIN statement.
67Job Netplan with DEMAND-Job
demand job
68XINFO
The IT Information System
Many thanks for your attention
HORIZONT Software for Datacenters
Garmischer Str. 8 D- 80339 München Tel 49(0)89
/ 540 162 - 0www.horizont-it.com