Presentation is loading. Please wait.

Presentation is loading. Please wait.

HORIZONT 1 XINFO ® The IT Information System HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com.

Similar presentations


Presentation on theme: "HORIZONT 1 XINFO ® The IT Information System HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com."— Presentation transcript:

1 HORIZONT 1 XINFO ® The IT Information System HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com XINFO IT-Charts Implementation

2 HORIZONT 2 XINFO ® Agenda Data management IT Charts Example 1 Example 2 Questions to create new charts Administration run Example 3 Example 4

3 HORIZONT 3 XINFO ® Preamble ITC is the shortcut for IT-Charts. The file ITC.INI is the parameter file for IT- Charts.

4 HORIZONT 4 XINFO ® Data management with IT-Charts All data for IT-Charts are stored in one single XINFO table. (XXRTITC) The meaning of the columns has to be specified in the ITC.INI file. All data for IT-Charts need a predefined structure.

5 HORIZONT 5 XINFO ® Data management I/IV - Table The values in the X-Column are representing full hours. The values in the Y-Column represent the quantity of jobs.

6 HORIZONT 6 XINFO ® Data management II/IV - Chart Legend Jobs quantity Hour scale

7 HORIZONT 7 XINFO ® Data management III/IV - Table The values in the X-Column represent a date. The values in the Y-Column represent a time.

8 HORIZONT 8 XINFO ® Data management IV/IV - Chart Legend Day in the month Time scale Curve 1 Curve 2

9 HORIZONT 9 XINFO ® Questions to create new charts Which kind of data should the chart represent? How should the chart looks like? What and where are the basic data for the chart? Which period should the chart represent? What is the requirement for the charts? -Yearly overview -Monthly overview -Year to year overview Does the data exist in another form? -Outside of XINFO -or in another chart in IT-Charts

10 HORIZONT 10 XINFO ® Steps for a chart Arrange the design and the database for the chart. Create the job analysing the data and test it. Include the result data into the Administration run. Create a view and include it into the DB2 system. Use XINFO‘s table manager to include the view. Create an XINFO display with the Display generator. Add the new display to the PC file ITC.INI (Must reside in the same directory as XINFO.EXE)

11 HORIZONT 11 XINFO ® Existing Examples Examples are in the ITC manual XXRDITCD.PDF, e.g. -quantity of jobs in TWS, CA7 and Control-M -SLA in percent, time and number. -Previous/actual year data. -Availabillity and usage of disc space.

12 HORIZONT 12 XINFO ® Several data files out of ITCXASQL Structure of the Administration run Administration run ITCXADMV XINFO database (DB2 ) Datei1 Datei2* Datei3 XXRTITC Protocol file Param File Save deleted records New XXRTITC Sort input files Unload XINFO table XXRTITC in PS structure

13 HORIZONT 13 XINFO ® Protocol of the Administration run **************************************************************** ***** ITC-Load Data: Administration RUN ***** ***** Protocol from ITCXADMV from 04/07/06 AT 11:11:40 ***** **************************************************************** 13 ^ TOTAL MANUAL UPDATE RECORDS. 0 ^ ARE DUPLICATE. 0 ^ DELETE, CAUSE EXPIRATION DATE WAS REACHED. 0 ^ WITHOUT VALID DISPLAY. 0 ^ WITH DELETE COMMAND. 0 ^ WITH MISSING FIELDS. 57 ^ TOTAL READ PARAMETER RECORDS. 0 ^ DUPLICATE PARAMETER RECORDS. 6242 ^ TOTAL NEW RECORDS FOR XXRTITC. 0 ^ NEW RECORDS WITHOUT VALID DISPLAY. 0 ^ DELETE, CAUSE EXPIRATION DATE WAS REACHED. 0 ^ NEW RECORDS WITH FILLUP FOR XXRTITC. 40028 ^ TOTAL READ RECORDS FROM XXRTITC. 0 ^ DELETE, CAUSE DISPLAY GROUP IS MISSING. 0 ^ DELETE, CAUSE EXPIRATION DATE WAS REACHED. 46270 ^ TOTAL WROTE RECORDS FOR XXRTITC. 0 ^ LIST OF MANUAL UPDATE RECORDS ARE DUPLICATE. 0 ^ LIST OF MANUAL UPDATE RECORDS ARE DELETE, EXPIRATION DATE. 0 ^ LIST OF MANUAL UPDATE RECORDS WITHOUT VALID DISPLAY. 0 ^ LIST OF MANUAL UPDATE RECORDS WITH DELETE COMMAND. 0 ^ LIST OF MANUAL UPDATE RECORDS WITH MISSING FIELDS.....

14 HORIZONT 14 XINFO ® Example 1 Problem Original data Definitions in DB2 Create query job Prepare the data Administration run Definitions in XINFO Definitions in ITC.INI Display chart

15 HORIZONT 15 XINFO ® Problem Count all HOST-Batchjobs of one production day. The total quantity of jobs is required. Selection is job starttime 00.01 a.m. until 12.00 p.m. (24 hours) Summary should run: -Daily to get the values for the monthly chart. -Last value of the month for the yearly chart.

16 HORIZONT 16 XINFO ® How should the chart look like? Blueprint for the daily chart.

17 HORIZONT 17 XINFO ® Original data: Alternative 1 Out of the SMF-Data in XINFO. This table contains all processed jobs. Also jobs which are not scheduled.

18 HORIZONT 18 XINFO ® Original data: Alternative 2 Out of the TWS-Runtimes in XINFO. This table contains only scheduled jobs

19 HORIZONT 19 XINFO ® How you can get the quantity? Test it with XINFO-Dialog. The commands GROUP and STAT are very helpfull. SHOW displays the SQL. Copy the SQL with CUT and PASTE directly into the job. … or create a new job with the command BATCH.

20 HORIZONT 20 XINFO ® //GET0010 EXEC PGM=XXRIWT1, // PARM='HEAP(1M,256K)/', // REGION=2M //SYSPRINT DD SYSOUT=&SYSOUT //SYSOUT DD SYSOUT=&SYSOUT //CEEDUMP DD SYSOUT=&SYSOUT //PARMIN DD DISP=SHR, // DSN=HORIZONT.TEST(XXRINF01) //WTRESO DD DISP=(,CATLG), // SPACE=(TRK,(10,50),RLSE), // DCB=(RECFM=FB,LRECL=255), // DSN=HORIZONT.WORK01 //SYSIN DD * SELECT COUNT(*) AS COUNT,XXRDATCLIENT,XXRDATENV,XXRDATINFO FROM XINFO31.XXRVSMJ WHERE (SMFJESNAME LIKE 'JOB%') AND (SMFJOBRC < 'CC 0009') AND (DATE(SMFSTARTTS) = ' 02.02.2005') GROUP BY XXRDATCLIENT, XXRDATENV, XXRDATINFO FOR FETCH ONLY The Job Selection out of SMF-Data Count delivers the quantity

21 HORIZONT 21 XINFO ® The Result *************************** Top of Data ******************* DB2 - Output generated with XINFO Date : 05.07.2006 Time : 15:28:11 SQL Command Used for this Output : SELECT COUNT(*) AS COUNT,XXRDATCLIENT,XXRDATENV,XXRDATINFO FROM XINFO31.XXRVSMJ WHERE (SMFJESNAME LIKE 'JOB%') AND (SMFJOBRC < 'CC 0009') AND (DATE(SMFSTARTTS) = '02.02.2005') GROUP BY XXRDATCLIENT, XXRDATENV, XXRDATINFO FOR FETCH ONLY COUNT XXRDATCL XXRDATEN XXRDATIN ---------------------------------------- 1260 HORIZONT PROD ************************** Bottom of Data ***************** Number of jobs Client fields

22 HORIZONT 22 XINFO ® How to use the result In this form the SQL output isn‘t loadable. Use the REXX routine ITCXASQL to convert the SQL output in the right form. The REXX ITCXASQL is part of the ITC intallation. You will find it in the **.CLIST file. You can descripe which input column should be written in which output column. The Output format according to the needs of XINFO IT Charts

23 HORIZONT 23 XINFO ® Job Control for ITCXASQL //BUILD01 EXEC PGM=IKJEFT01,COND=(4,LT),PARM=`ITCXASQL‘ //XXRMDAI DD DISP=SHR,DSN=HORIZONT.WORK01 //XXRMPRT DD DUMMY //XXRMDAO DD DISP=(,CATLG),SPACE=(TRK,(10,50),RLSE), // DCB=(RECFM=FB,LRECL=255), // DSN=HORIZONT.RESULT //SYSPROC DD DISP=SHR,DSN=XINFO.CLIST //SYSIN DD * TARGET_COL_1,LENGTH=8 ^ START=15,LENGTH=8 TARGET_COL_2,LENGTH=8 ^ START=24,LENGTH=8 TARGET_COL_3,LENGTH=8 ^ START=33,LENGTH=8 TARGET_COL_4,LENGTH=16 ^ VALUE='BATCHTOT' TARGET_COL_5,LENGTH=3 ^ VALUE='001' TARGET_COL_6,LENGTH=11 ^ VALUE='20050202' TARGET_COL_7,LENGTH=11 ^ START=3,LENGTH=11 /* //SYSTSIN DD DUMMY Output fields are mandatory. Don’t change them! Input Fields. It describes the length and position of data in the input.

24 HORIZONT 24 XINFO ® COUNT XXRDATCL XXRDATEN XXRDATIN ---------------------------------------- 1260 HORIZONT PROD ----+----1----+----2----+----3----+----4----+----5----+---- Resolve the data TARGET_COL_1,LENGTH=8 ^ START=15,LENGTH=8 TARGET_COL_2,LENGTH=8 ^ START=24,LENGTH=8 TARGET_COL_3,LENGTH=8 ^ START=33,LENGTH=8 TARGET_COL_4,LENGTH=16 ^ VALUE='BATCHTOT' TARGET_COL_5,LENGTH=3 ^ VALUE='001' TARGET_COL_6,LENGTH=11 ^ VALUE='20050202' TARGET_COL_7,LENGTH=11 ^ START=3,LENGTH=11 Name, to be used for the administration run Number of the line in the chart Date of the execution

25 HORIZONT 25 XINFO ® Result of ITCXASQL ************************** Top of Data ************************* HORIZONT PROD BATCHTOT 001 20050202 1260 ************************* Bottom of Data *********************** Result is a structure that can be used in the administration run. See manual XXRDITCE.PDF Chapter 3.2.2 for a detailed description of ITCXASQL.

26 HORIZONT 26 XINFO ® Entries in the parameter file The parameter file controls: The expiration date of the records. Usage of data in other displays. Fill time gaps automatically. The structure of the x-axis data. Note: The name of the displays must always start with ITC!

27 HORIZONT 27 XINFO ® Parameter file ------------------------------------------------------------------------ -DISPLAY CY COUNT C DATABASE KEY FP DESCRIPTION ITCABEND D 1095 2 ABEND Y,M,D N JOB ABEND OUT OF SM ITCAVLCICS01 D 1095 2 CICSAVAIL Y,M,D N CICS01 TASKS AVAILA ITCAVLLINE73 D 0730 2 AVLLIN73 Y,M,D N AVAILABILITY OF LIN ITCBATCHDAY D 1095 2 BATCHTOT Y,M,D Y DAILY BATCHJOBS ITCBATCHMONTH M 0048 2 BATCHTOT Y,M N Monthly BATCHJOBS ITCBATCHAVL D 1095 2 BATVALID Y,M,D Y DAILY BATCH AVAILAB ITCBATCHHOUR D 1095 2 BATHOURTOT H,S Y DAILY BATCH EACH HO ************************** Top of Data ************************* HORIZONT PROD BATCHTOT 001 20050202 1260 ************************* Bottom of Data *********************** Name of the display/chart D = daily M = monthly Number of days to keep the records, Name out of the analyse job

28 HORIZONT 28 XINFO ® Allocate a View in DB2 ITC data are stored in one single table. -Views are needed to select data out of the table. -Requires DB2 bind -Requires DB2 Admin Definitions should be stored in an own library to avoid that the definitions are overwritten with the next XINFO Release.

29 HORIZONT 29 XINFO ® Allocate a View in DB2 I/II SET CURRENT SQLID = 'P390M'; CREATE VIEW XINFO31.XXRVMIZ AS SELECT XXRDATCLIENT,XXRDATENV,XXRDATINFO,ITCGRAPHTYPE,ITCCURVE,ITCX,ITCY,ITCYEAR,ITCMONTH,ITCDAY,ITCQUARTER,ITCWEEK,ITCHOUR,ITCMINUTE,ITCSECOND FROM XINFO31.XXRTITC WHERE ITCGRAPHTYPE = 'ITCBATCHDAY‘ Chart Name is the selection argument.

30 HORIZONT 30 XINFO ® Allocate a View in DB2 II/II GRANT SELECT ON TABLE XINFO31.XXRVMIZ TO PUBLIC; LABEL ON TABLE XINFO31.XXRVMIZ IS 'ITC – My new Display (V); LABEL ON XINFO31.XXRVMIZ (XXRDATCLIENT IS 'Client ', XXRDATENV IS 'Environment ', XXRDATINFO IS 'DatAddInfo ', ITCGRAPHTYPE IS 'Graphik ', ITCCURVE IS 'Curve ', ITCX IS 'X ', ITCY IS 'Y ', ITCYEAR IS 'Year ', ITCMONTH IS 'Month ', ITCDAY IS 'Day ', ITCQUARTER IS 'Quarter ', ITCWEEK IS 'Week ', ITCHOUR IS 'Hour ', ITCMINUTE IS 'Minute ', ITCSECOND IS 'Second '); SET CURRENT SQLID = USER; Enter a title

31 HORIZONT 31 XINFO ® Job to create the view //JOBCARD........ //LIBS JCLLIB ORDER=(P390A.XXR.TST31.PROCLIB) //* HORIZONT (ORIGINAL) JOB NAME: XXRJDBC2 //************************************************************** //* !! ATTENTION: SYSADM RIGHTS ARE NEEDED TO SUBMIT THIS JOB !! //************************************************************** //* CREATE THE TABLES //* REMEMBER TO DROP THE TABLESPACES IF YOU //* RUN THIS JOB FOR THE SECOND TIME //************************************************************** //XXRJDBC2 EXEC XXRJ2TSO //SYSTSIN DD * DSN SYSTEM(DSN1) RUN PROGRAM(DSNTEP2) PLAN(DSNTEP71) + LIBRARY('DSN710.RUNLIB.LOAD') END //SYSIN DD * DROP VIEW XINFO31.XXRVMIZ; COMMIT; // DD DISP=SHR,DSN=MY.ITC.LIBRARY(XXRVMIZ) Execute with DB- Admin rights.

32 HORIZONT 32 XINFO ® Create a display in XINFO Use the table manager to include the view into the XINFO system (For detailed description see XINFO Administrator-Manual) Create the display with the Display- Generator. (For detailed description have a look in XINFO Administrator-Manual) The display description affects the display list on the PC (groups are formed by using a separator ‘-‘). You may need special rights to do that!

33 HORIZONT 33 XINFO ® Overview Displays HOST ‘ – ‘ creates a group in the display list of the PC-Client

34 HORIZONT 34 XINFO ® Overview Displays PC-Client 1. Step IT-Charts 2. Step Definitions 3. Step Execs

35 HORIZONT 35 XINFO ® ITC.INI descripes the charts layout. Every display needs an entry in ITC.INI, otherwise a message appears: ITC.INI must be stored in the directory where XINFO PC Client was installed. Create new record in ITC.INI

36 HORIZONT 36 XINFO ® Create new entries in ITC.INI [ITCBATCHHOST] LABEL=Daily Batch Jobs HOST TITLE=Daily Batch Jobs HOST TYPE=LINE FIELD=YEAR,Year,4,3 FIELD=MONTH,Month,2,3 ORDER=X FORMAT_X=DATE(YYYYMMDD) FORMAT_Y=NUM TITLE_X=Month,ARIAL,14 TITLE_Y=Jobs,ARIAL,14 SCALE_X=MONTH SCALE_Y=1000,100 CURVE=1,Batch Jobs zOS,8,4,5 Chart name Titel/ description Axis description Description of the line Increment of the Scale

37 HORIZONT 37 XINFO ® Display of the chart I/III New chart appears after a new LOGON

38 HORIZONT 38 XINFO ® Display of the chart II/III Year and month are the selection for a monthly chart.

39 HORIZONT 39 XINFO ® Display of the chart III/III CURVE=1,Batch Jobs zOS,8,3,0 8 = black 3 = intensity of the Line in mm 0 = form of the line

40 HORIZONT 40 XINFO ® Example 2 Problem Original data Definitions in DB2 Create query job Prepare the data Administration run Definitions in ITC.INI Display chart

41 HORIZONT 41 XINFO ® Problem To monitor service levels we need a chart with the SLA time and the real end time. Let us assume that the last jobs name of our end job is CRITJOB. The actual SLA time is 09.00 a.m. In 04/09/2004 the time was reduced to 08.45 a.m. Summary should run: -Daily to get the values for the monthly chart.

42 HORIZONT 42 XINFO ® How should the chart looks like? Blueprint for the daily chart.

43 HORIZONT 43 XINFO ® Original data: Alternative 1 Out of XINFO’s SMF-Data. This table contains all processed jobs including the end time

44 HORIZONT 44 XINFO ® Original data: Alternative 2 Out of the TWS-Runtimes in XINFO.

45 HORIZONT 45 XINFO ® How to get the needed information? Test it in XINFO-Dialogue. The commands GROUP and STAT are are helpfull. Use SHOW to display the SQL statements. Copy this statements with CUT and PASTE directly in the job. … or create a new job with the command BATCH.

46 HORIZONT 46 XINFO ® //GET0010 EXEC PGM=XXRIWT1, // PARM='HEAP(1M,256K)/', // REGION=2M //SYSPRINT DD SYSOUT=&SYSOUT //SYSOUT DD SYSOUT=&SYSOUT //CEEDUMP DD SYSOUT=&SYSOUT //PARMIN DD DISP=SHR, // DSN=HORIZONT.TEST(XXRINF01) //WTRESO DD DISP=(,CATLG), // SPACE=(TRK,(10,50),RLSE), // DCB=(RECFM=FB,LRECL=255), // DSN=HORIZONT.WORK01 //SYSIN DD * SELECT SMFJOBNAME, SMFJOBRC, SMFENDTS, XXRDATCLIENT, XXRDATENV, XXRDATINFO FROM XINFO31.XXRVSMJ WHERE (SMFJOBNAME = 'CRITJOB') AND (DATE(SMFENDTS) = '2004-09-10') FOR FETCH ONLY The Job Selection out of the SMF data Jobname

47 HORIZONT 47 XINFO ® The Result DB2 - Output generated with XINFO Date : 06.07.2006 Time : 15:34:09 SQL Command Used for this Output : SELECT SMFJOBNAME, SMFJOBRC, SMFENDTS, XXRDATCLIENT, XXRDATENV, XXRDATINFO FROM XINFO31.XXRVSMJ WHERE (SMFJOBNAME = 'CRITJOB') AND (DATE(SMFENDTS) = '2004-09-10') FOR FETCH ONLY SMFJOBNA SMFJOBR SMFENDTS XXRDATCL XXRDATEN XXRDAT -------------------------------------------------------------------- CRITJOB 2004-09-10-08.57.15.000000 HORIZONT PROD End time Client fields Jobname

48 HORIZONT 48 XINFO ® Modify Result Use REXX routine ITCXASQL...

49 HORIZONT 49 XINFO ® Job Control for ITCXASQL //BUILD01 EXEC PGM=IKJEFT01,COND=(4,LT),PARM=`ITCXASQL‘ //XXRMDAI DD DISP=SHR,DSN=HORIZONT.WORK01 //XXRMPRT DD DUMMY //XXRMDAO DD DISP=(,CATLG),SPACE=(TRK,(10,50),RLSE), // DCB=(RECFM=FB,LRECL=255), // DSN=HORIZONT.RESULT //SYSPROC DD DISP=SHR,DSN=XINFO.CLIST //SYSIN DD * TARGET_COL_1,LENGTH=8 ^ START=47,LENGTH=8 TARGET_COL_2,LENGTH=8 ^ START=56,LENGTH=8 TARGET_COL_3,LENGTH=8 ^ START=65,LENGTH=8 TARGET_COL_4,LENGTH=16 ^ START=3,LENGTH=8 TARGET_COL_5,LENGTH=3 ^ VALUE='001' TARGET_COL_6,LENGTH=11 ^ START=20,LENGTH=4 TARGET_COL_6,LENGTH=11 ^ START=25,LENGTH=2 TARGET_COL_6,LENGTH=11 ^ START=28,LENGTH=2 TARGET_COL_7,LENGTH=5 ^ START=31,LENGTH=2 TARGET_COL_7,LENGTH=5 ^ START=34,LENGTH=2 DOUBLE_COL_5,LENGTH=3 ^ VALUE='002' DOUBLE_COL_7,LENGTH=5 ^ VALUE='0900' Double copies the previous record and overwrite declared columns. Line 1 contains the end time Line 2 contains the SLA time

50 HORIZONT 50 XINFO ® SMFJOBNA SMFJOBR SMFENDTS XXRDATCL XXRDATE -------------------------------------------------------------- CRITJOB 2004-09-10-08.57.15.000000 HORIZONT PROD ----+----1----+----2----+----3----+----4----+----5----+----6-- TARGET_COL_1,LENGTH=8 ^ START=45,LENGTH=8 TARGET_COL_2,LENGTH=8 ^ START=54,LENGTH=8 TARGET_COL_3,LENGTH=8 ^ START=63,LENGTH=8 TARGET_COL_4,LENGTH=16 ^ START=1,LENGTH=8 TARGET_COL_5,LENGTH=3 ^ VALUE='001' TARGET_COL_6,LENGTH=11 ^ START=18,LENGTH=4 TARGET_COL_6,LENGTH=11 ^ START=23,LENGTH=2 TARGET_COL_6,LENGTH=11 ^ START=26,LENGTH=2 TARGET_COL_7,LENGTH=5 ^ START=29,LENGTH=2 TARGET_COL_7,LENGTH=5 ^ START=32,LENGTH=2 DOUBLE_COL_5,LENGTH=3 ^ VALUE='002' DOUBLE_COL_7,LENGTH=5 ^ VALUE='0900' Resolve the data Number of the Line in the chart SLA time

51 HORIZONT 51 XINFO ® Result of ITCXASQL ***************************** Top of Data ********************** HORIZONT PROD CRITJOB 001 20040910 0857 HORIZONT PROD CRITJOB 002 20040910 0900 **************************** Bottom of Data ******************** Result is an appropriate structure for the administration job.

52 HORIZONT 52 XINFO ® Entry in the parameter-file ------------------------------------------------------------------------ -DISPLAY CY COUNT C DATABASE KEY FP DESCRIPTION ITCSCRITJOB1 D 0730 2 CRITJOB Y,M,D N SLA JOB CRITJOB ITCABEND D 1095 2 ABEND Y,M,D N JOB ABEND OUT OF SM ITCAVLCICS01 D 1095 2 CICSAVAIL Y,M,D N CICS01 TASKS AVAILA ITCAVLLINE73 D 0730 2 AVLLIN73 Y,M,D N AVAILABILITY OF LIN ITCBATCHDAY D 1095 2 BATCHTOT Y,M,D Y DAILY BATCHJOBS ITCBATCHMONTH M 0048 2 BATCHTOT Y,M N Monthly BATCHJOBS ITCBATCHAVL D 1095 2 BATVALID Y,M,D Y DAILY BATCH AVAILAB ITCBATCHHOUR D 1095 2 BATHOURTOT H,S Y DAILY BATCH EACH HO Jobname ***************************** Top of Data ********************** HORIZONT PROD CRITJOB 001 20040910 0857 HORIZONT PROD CRITJOB 002 20040910 0900 **************************** Bottom of Data ******************** Number of days to keep the records, Name of the display/chart D = daily M = monthly

53 HORIZONT 53 XINFO ® Allocate a View in DB2 Allocate the View in DB2...

54 HORIZONT 54 XINFO ® Create a display in XINFO Use XINFO table manager Use XINFO Display generator...

55 HORIZONT 55 XINFO ® Create new record in ITC.INI [ITCCRITJOB1] LABEL=SLA CRITJOB TITLE=SLA CRITJOB TYPE=LINE FIELD=YEAR,Year,4,3 FIELD=MONTH,Month,2,3 FIELD=DAY,Day,2,3 ORDER=X FORMAT_X=DATE(YYYYMMDD) FORMAT_Y=TIME(HHMM,HH:MM) TITLE_X=Day TITLE_Y=Time SCALE_X=MONTH,YEAR SCALE_Y=1 CURVE=1,END Time,2,2,13 CURVE=2,SLA Time,3,2,0,7:1 Chart name Titele/ description Axis description Description of the lines Increment of the Scale

56 HORIZONT 56 XINFO ® Display of the chart I/III New chart appears after a new LOGON

57 HORIZONT 57 XINFO ® Display of the chart II/III Year and month are the selection for a monthly chart.

58 HORIZONT 58 XINFO ® Display of the chart III/III CURVE=1,END Time,2,2,13 CURVE=2,SLA Time,3,2,0,7:1 3 = red 2 = intensity of the line/mm 0 = form of the line 7:1 filling colour to line 1 2 = Blue 2 = intensity of the line/mm 13 = form of the line

59 HORIZONT 59 XINFO ® Example 3 Problem Original data Definitions in DB2 Create query job Prepare the data Administration run Definitions in ITC.INI Display chart

60 HORIZONT 60 XINFO ® Problem Display the quantity of the abended HOST- Batchjobs of a production day. -Abend with S* -Abend with U* -CC >1000 -CC 100 - 999 -CC 8 - 99 -CC 1 - 7 Summary should run daily to get the values for a monthly chart.

61 HORIZONT 61 XINFO ® How should the chart looks like? Blueprint for the daily chart.

62 HORIZONT 62 XINFO ® Original data: Alternative 1 Out of the SMF-Data in XINFO. This table contains all processed jobs. Including the qualified abend codes.

63 HORIZONT 63 XINFO ® Original data: Alternative 2 Out of the TWS-Runtimes in XINFO. Abend codes are in the Error Code column

64 HORIZONT 64 XINFO ® SELECT COUNT(*) AS COUNT,XXRDATCLIENT,XXRDATENV,XXRDATINFO FROM XINFO31.XXRVSMJ WHERE (SMFJESNAME LIKE 'JOB%') AND (SMFJOBRC LIKE 'U%') AND (SMFSTARTTS BETWEEN '2005-06-08-00.00.00' AND '2005-06-08-24.00.00') GROUP BY XXRDATCLIENT, XXRDATENV, XXRDATINFO..... AND (SMFJOBRC LIKE ‚S%')..... AND ((SMFJOBRC >= 'CC 1000') AND (SMFJOBRC <= 'CC 9999'))..... AND ((SMFJOBRC >= 'CC 0100') AND (SMFJOBRC <= 'CC 0999'))..... AND ((SMFJOBRC >= 'CC 0008') AND (SMFJOBRC <= 'CC 0099'))..... AND ((SMFJOBRC >= 'CC 0001') AND (SMFJOBRC <= 'CC 0007')) The Job Every “AND” represent an own Select Step Selection out of the SMF-data

65 HORIZONT 65 XINFO ® The Result DB2 - Output generated with XINFO Date : 06.07.2006 Time : 20:07:05 SQL Command Used for this Output : SELECT COUNT(*) AS COUNT,XXRDATCLIENT,XXRDATENV,XXRDATINFO FROM XINFO31.XXRVSMJ WHERE (SMFJESNAME LIKE 'JOB%') AND (SMFJOBRC LIKE 'U%') AND (SMFSTARTTS BETWEEN '2005-06-13-00.00.00' AND '2005-06-13-24.00.00') GROUP BY XXRDATCLIENT, XXRDATENV, XXRDATINFO FOR FETCH ONLY COUNT XXRDATCL XXRDATEN XXRDATIN ---------------------------------------- 12 HORIZONT PROD Client fields Number User Abends

66 HORIZONT 66 XINFO ® Modify Result Use REXX routine ITCXASQL....

67 HORIZONT 67 XINFO ® //BUILD01 EXEC PGM=IKJEFT01,COND=(4,LT),PARM=`ITCXASQL‘ //XXRMDAI DD DISP=SHR,DSN=HORIZONT.WORK01 //XXRMPRT DD DUMMY //XXRMDAO DD DISP=MOD, // DSN=HORIZONT.RESULT //SYSPROC DD DISP=SHR,DSN=XINFO.CLIST //SYSIN DD * TARGET_COL_1,LENGTH=8 ^ START=15,LENGTH=8 TARGET_COL_2,LENGTH=8 ^ START=24,LENGTH=8 TARGET_COL_3,LENGTH=8 ^ START=33,LENGTH=8 TARGET_COL_4,LENGTH=16 ^ VALUE=‚ABEND' TARGET_COL_5,LENGTH=3 ^ VALUE='002' TARGET_COL_6,LENGTH=11 ^ VALUE='20050613' TARGET_COL_7,LENGTH=11 ^ START=3,LENGTH=11 /* //SYSTSIN DD DUMMY Job Control for ITCXASQL After each selection run, the line number + 1.

68 HORIZONT 68 XINFO ® COUNT XXRDATCL XXRDATEN XXRDATIN ---------------------------------------- 12 HORIZONT PROD ----+----1----+----2----+----3----+----4----+----5----+---- Resolve the data TARGET_COL_1,LENGTH=8 ^ START=15,LENGTH=8 TARGET_COL_2,LENGTH=8 ^ START=24,LENGTH=8 TARGET_COL_3,LENGTH=8 ^ START=33,LENGTH=8 TARGET_COL_4,LENGTH=16 ^ VALUE='ABEND' TARGET_COL_5,LENGTH=3 ^ VALUE='002' TARGET_COL_6,LENGTH=11 ^ VALUE='20050613' TARGET_COL_7,LENGTH=11 ^ START=3,LENGTH=11 Name for the administration run Number of the line in the chart Date of the execution

69 HORIZONT 69 XINFO ® Result of ITCXASQL ***************************** Top of Data ********************** HORIZONT PROD ABEND 002 20050613 0012 HORIZONT PROD ABEND 003 20050613 0023 HORIZONT PROD ABEND 004 20050613 0001 HORIZONT PROD ABEND 005 20050613 0004 HORIZONT PROD ABEND 006 20050613 0042 HORIZONT PROD ABEND 007 20050613 0279 **************************** Bottom of Data ******************** Result is an appropriate structure for the administration job.

70 HORIZONT 70 XINFO ® Entry in the parameter-file ------------------------------------------------------------------------ -DISPLAY CY COUNT C DATABASE KEY FP DESCRIPTION ITCSCRITJOB1 D 0730 2 CRITJOB Y,M,D N SLA JOB CRITJOB ITCABEND D 1095 2 ABEND Y,M,D N JOB ABEND OUT OF SM ITCAVLCICS01 D 1095 2 CICSAVAIL Y,M,D N CICS01 TASKS AVAILA ITCAVLLINE73 D 0730 2 AVLLIN73 Y,M,D N AVAILABILITY OF LIN ITCBATCHDAY D 1095 2 BATCHTOT Y,M,D Y DAILY BATCHJOBS ITCBATCHMONTH M 0048 2 BATCHTOT Y,M N Monthly BATCHJOBS ITCBATCHAVL D 1095 2 BATVALID Y,M,D Y DAILY BATCH AVAILAB ITCBATCHHOUR D 1095 2 BATHOURTOT H,S Y DAILY BATCH EACH HO ***************************** Top of Data ********************** HORIZONT PROD ABEND 002 20050613 0012 HORIZONT PROD ABEND 003 20050613 0023 HORIZONT PROD ABEND 004 20050613 0001 HORIZONT PROD ABEND 005 20050613 0004 HORIZONT PROD ABEND 006 20050613 0042 HORIZONT PROD ABEND 007 20050613 0279 **************************** Bottom of Data ******************** Number of days to keep the records, Name of the display/chart D = daily M = monthly Name out of the analyse job

71 HORIZONT 71 XINFO ® Allocate a View in DB2 Allocate the View in DB2...

72 HORIZONT 72 XINFO ® Create a display in XINFO Use XINFO table manager Use XINFO Disaplay generator...

73 HORIZONT 73 XINFO ® [ITCABEND] LABEL=Batch Completion Codes TITLE=Daily Batch Completion codes TYPE=LINE FIELD=YEAR,Year,4,3 FIELD=MONTH,Month,2,3 ORDER=X FORMAT_X=DATE(YYYYMMDD) FORMAT_Y=NUM TITLE_X=Date TITLE_Y=Jobs SCALE_X=MONTH SCALE_Y=50,10,,250 CURVE=2,abend S*,3,3,6 CURVE=3,abend U*,5,3,18 CURVE=4,CC >1000,2,3,18 CURVE=5,CC 100 - 999,4,3,18 CURVE=6,CC 8 - 99,7,3,18 CURVE=7,CC 1 - 7,15,3,18 Create new record in ITC.INI Chart name Titel/ description Axis description Description of the lines Increment of the Scale

74 HORIZONT 74 XINFO ® Display of the chart I/III New chart appears after a new LOGON

75 HORIZONT 75 XINFO ® Display of the chart II/III Year and month are the selection for a monthly chart.

76 HORIZONT 76 XINFO ® Display of the chart III/III CURVE=2,abend S*,3,3,6 CURVE=3,abend U*,5,3,18 CURVE=4,CC >1000,2,3,18 CURVE=5,CC 100 - 999,4,3,18 CURVE=6,CC 8 - 99,7,3,18 CURVE=7,CC 1 - 7,15,3,18

77 HORIZONT 77 XINFO ® Example 4 Problem Original data Definitions in DB2 Create query job Prepare the data Administration run Definitions in ITC.INI Display chart

78 HORIZONT 78 XINFO ® Problem Display all disc space of the host drives. All the values should be shown in GB -Total disc space -Used disc space -Free disc space Summary should run monthly to get the values for a yearly chart.

79 HORIZONT 79 XINFO ® How should the chart looks like? Blueprint for the yearly chart.

80 HORIZONT 80 XINFO ® Original data: Alternative Out of the HOST Space Volume in XINFO. This table contains all volume informations.

81 HORIZONT 81 XINFO ® SELECT COUNT(*) AS COUNT,XXRDATCLIENT,XXRDATENV,XXRDATINFO, SUM(SPVVLCAP) AS SUM FROM XINFO31.XXRTSPV GROUP BY XXRDATCLIENT, XXRDATENV, XXRDATINFO FOR FETCH ONLY..... SUM(SPVALLOC) AS SUM..... SUM(SPVFRESP) AS SUM Job Alternative 1 Sum delivers the total value of the selection (KB). Selection out of the Space Volume Every “SUM” represent an own Select Step

82 HORIZONT 82 XINFO ® DB2 - Output generated with XINFO Date : 13.07.2006 Time : 16:50:09 SQL Command Used for this Output : SELECT COUNT(*) AS COUNT,XXRDATCLIENT,XXRDATENV,XXRDATINFO, SUM(SPVVLCAP) AS SUM FROM XINFO31.XXRTSPV GROUP BY XXRDATCLIENT, XXRDATENV, XXRDATINFO FOR FETCH ONLY COUNT XXRDATCL XXRDATEN XXRDATIN SUM ---------------------------------------------------- 28 HORIZONT PROD 73906664 Result Alternative 1 Client fields Number of Volumes Number of space (KB)

83 HORIZONT 83 XINFO ® SELECT COUNT(*) AS COUNT,XXRDATCLIENT,XXRDATENV,XXRDATINFO, SUM(SPVVLCAP / 1048576) AS SUM FROM XINFO31.XXRTSPV GROUP BY XXRDATCLIENT, XXRDATENV, XXRDATINFO FOR FETCH ONLY..... SUM(SPVALLOC / 1048576) AS SUM..... SUM(SPVFRESP /1048576) AS SUM Job Alternative 2 Sum delivers the total value of the selection (GB). Selection out of the Space Volume Every “SUM” represent an own Select Step

84 HORIZONT 84 XINFO ® DB2 - Output generated with XINFO Date : 13.07.2006 Time : 16:50:09 SQL Command Used for this Output : SELECT COUNT(*) AS COUNT,XXRDATCLIENT,XXRDATENV,XXRDATINFO, SUM(SPVVLCAP / 1048576) AS SUM FROM XINFO31.XXRTSPV GROUP BY XXRDATCLIENT, XXRDATENV, XXRDATINFO FOR FETCH ONLY COUNT XXRDATCL XXRDATEN XXRDATIN SUM ---------------------------------------------------- 28 HORIZONT PROD 52 Result Alternative 2 Client fields Number of Volumes Number of space (GB) Note: The result isn’t exactly enough

85 HORIZONT 85 XINFO ® Modify KB to GB with REXX The value of the sum-field is in KB and has to convert in GB. Use the REXX routine ITCXCNV5 to convert the SQL output in the right form. The REXX ITCXCNV5 is part of the ITC intallation. You will find it in the **.CLIST file. The Output format according to the needs of XINFO IT Charts

86 HORIZONT 86 XINFO ® //CINVERT01 EXEC PGM=IKJEFT01,COND=(4,LT),PARM=`ITCXCNV5‘ //XXRMDAI DD DISP=SHR,DSN=HORIZONT.WORK01 //XXRMPRT DD DUMMY //XXRMDAO DD DISP=SHR, // DSN=HORIZONT.WORK01 //SYSPROC DD DISP=SHR,DSN=XINFO.CLIST //SYSIN DD * CAL START=45 LEN=12 INVAL="KB" OUTVAL="GB" /* //SYSTSIN DD DUMMY Job Control for ITCXCNV5 Input is KB format Start Position Length Output has to be in GB format

87 HORIZONT 87 XINFO ® DB2 - Output generated with XINFO Date : 13.07.2006 Time : 16:50:09 SQL Command Used for this Output : SELECT COUNT(*) AS COUNT,XXRDATCLIENT,XXRDATENV,XXRDATINFO, SUM(SPVVLCAP) AS SUM FROM XINFO31.XXRTSPV GROUP BY XXRDATCLIENT, XXRDATENV, XXRDATINFO FOR FETCH ONLY COUNT XXRDATCL XXRDATEN XXRDATIN SUM ---------------------------------------------------- 28 HORIZONT PROD 70 Result of REXX ITCXCNV5 Client fields Number of Volumes Number of space (GB)

88 HORIZONT 88 XINFO ® Modify Result Use REXX routine ITCXASQL....

89 HORIZONT 89 XINFO ® DB2 - Output generated with XINFO Date : 13.07.2006 Time : 16:50:09 SQL Command Used for this Output : SELECT COUNT(*) AS COUNT,XXRDATCLIENT,XXRDATENV,XXRDATINFO, SUM(SPVVLCAP) AS SUM FROM XINFO31.XXRTSPV GROUP BY XXRDATCLIENT, XXRDATENV, XXRDATINFO FOR FETCH ONLY COUNT XXRDATCL XXRDATEN XXRDATIN SUM ---------------------------------------------------- 28 HORIZONT PROD 70 The Result Client fields Number of Volumes Number of space (GB)

90 HORIZONT 90 XINFO ® //BUILD01 EXEC PGM=IKJEFT01,COND=(4,LT),PARM=`ITCXASQL‘ //XXRMDAI DD DISP=SHR,DSN=HORIZONT.WORK01 //XXRMPRT DD DUMMY //XXRMDAO DD DISP=MOD, // DSN=HORIZONT.RESULT //SYSPROC DD DISP=SHR,DSN=XINFO.CLIST //SYSIN DD * TARGET_COL_1,LENGTH=8 ^ START=15,LENGTH=8 TARGET_COL_2,LENGTH=8 ^ START=24,LENGTH=8 TARGET_COL_3,LENGTH=8 ^ START=33,LENGTH=8 TARGET_COL_4,LENGTH=16 ^ VALUE=‚SPACECAP' TARGET_COL_5,LENGTH=3 ^ VALUE='001' TARGET_COL_6,LENGTH=11 ^ VALUE='200506' TARGET_COL_7,LENGTH=11 ^ START=45,LENGTH=11 /* //SYSTSIN DD DUMMY Job Control for ITCXASQL After each selection run, the line number + 1.

91 HORIZONT 91 XINFO ® COUNT XXRDATCL XXRDATEN XXRDATIN SUM --------------------------------------------------------- 28 HORIZONT PROD 70 ----+----1----+----2----+----3----+----4----+----5----+---- Resolve the data TARGET_COL_1,LENGTH=8 ^ START=15,LENGTH=8 TARGET_COL_2,LENGTH=8 ^ START=24,LENGTH=8 TARGET_COL_3,LENGTH=8 ^ START=33,LENGTH=8 TARGET_COL_4,LENGTH=16 ^ VALUE=‚SPACECAP' TARGET_COL_5,LENGTH=3 ^ VALUE='001' TARGET_COL_6,LENGTH=11 ^ VALUE='200506' TARGET_COL_7,LENGTH=11 ^ START=45,LENGTH=11 Name for the administration run Number of the line in the chart Date of the execution

92 HORIZONT 92 XINFO ® Result of ITCXASQL ***************************** Top of Data ********************** HORIZONT PROD SPACECAP 001 200506 0070 HORIZONT PROD SPACECAP 002 200506 0048 HORIZONT PROD SPACECAP 003 200506 0022 **************************** Bottom of Data ******************** Result is an appropriate structure for the administration job.

93 HORIZONT 93 XINFO ® Entry in the parameter-file ------------------------------------------------------------------------ -DISPLAY CY COUNT C DATABASE KEY FP DESCRIPTION ITCSCRITJOB1 D 0730 2 CRITJOB Y,M,D N SLA JOB CRITJOB ITCSPACECAP M 0048 2 SPACECAP Y,M Y VOLUME SPACE CAPACI ITCAVLCICS01 D 1095 2 CICSAVAIL Y,M,D N CICS01 TASKS AVAILA ITCAVLLINE73 D 0730 2 AVLLIN73 Y,M,D N AVAILABILITY OF LIN ITCBATCHDAY D 1095 2 BATCHTOT Y,M,D Y DAILY BATCHJOBS ITCBATCHMONTH M 0048 2 BATCHTOT Y,M N Monthly BATCHJOBS ITCBATCHAVL D 1095 2 BATVALID Y,M,D Y DAILY BATCH AVAILAB ITCBATCHHOUR D 1095 2 BATHOURTOT H,S Y DAILY BATCH EACH HO ***************************** Top of Data ********************** HORIZONT PROD SPACECAP 001 200506 0070 HORIZONT PROD SPACECAP 002 200506 0048 HORIZONT PROD SPACECAP 003 200506 0022 **************************** Bottom of Data ******************** Number of days to keep the records, Name of the display/chart D = daily M = monthly Name out of the analyse job

94 HORIZONT 94 XINFO ® Allocate a View in DB2 Allocate the View in DB2...

95 HORIZONT 95 XINFO ® Create a display in XINFO Use XINFO table manager Use XINFO Disaplay generator...

96 HORIZONT 96 XINFO ® [ITCSPACECAP] LABEL=HOST Disc Space total in GB. (monthly) TITLE=HOST Disc Space total (GB) TYPE=LINE FIELD=YEAR,Year,4,3 FIELD=MONTH,Month,2,3 ORDER=X FORMAT_X=DATE(YYYYMM,YYYYMM) FORMAT_Y=NUM TITLE_X=Month TITLE_Y=Space(GB) SCALE_X=YEAR SCALE_Y=1000,500 CURVE=1,Space(GB) total,2 CURVE=2,Space(GB) used,3 CURVE=3,Space(GB) free,58 Create new record in ITC.INI Chart name Titel/ description Axis description Description of the lines Increment of the Scale

97 HORIZONT 97 XINFO ® Display of the chart I/III New chart appears after a new LOGON

98 HORIZONT 98 XINFO ® Display of the chart II/III Selection of the client fields and the year.

99 HORIZONT 99 XINFO ® Display of the chart III/III CURVE=1,Space(GB)total,2 CURVE=2,Space(GB)used,3 CURVE=3,Space(GB)free,5 For all lines only the colour was defined. The other parameter are default values.

100 HORIZONT 100 XINFO ® Are there any questions about XINFO ITC? Info@Horizont-it.com

101 HORIZONT 101 XINFO ® Many thanks for your attention HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com The IT Information System XINFO


Download ppt "HORIZONT 1 XINFO ® The IT Information System HORIZONT Software for Datacenters Garmischer Str. 8 D- 80339 München Tel ++49(0)89 / 540 162 - 0 www.horizont-it.com."

Similar presentations


Ads by Google