La Caixa - sasCommunity.org

Transcription

La Caixa - sasCommunity.org
Reporting in OS/390 Intranet
• Antoni Canals (La Caixa)
• Esther Remiro (EDS Barcelona)
© 2001 La Caixa
Reporting in OS/390 Intranet
• “La Caixa” overview
• “La Caixa” Data Centre
• Reporting
¤
Objectives & tools
• Solution description
¤
¤
¤
¤
© 2001 La Caixa
Product & solution presentation
Used SAS Technology
Intranet improvements
Evolution lines
“La Caixa” overview
• This page is under construction
© 2001 La Caixa
“La Caixa” Data Center
Center 1
2 Production Sites:
1 PS (5 OS/390)
1 MP (1 OS/390)
6950 MIPS
17.5 TB
Center 2
4 Production Sites:
1 BS (4 OS/390)
3 MP (3 OS/390)
2 Development Sites:
1 PS (4 OS/390)
1 MP (1 OS/390)
1 Testing Site:
1 PS (2 OS/390)
5350 MIPS
31 TB
Center 3
1 Production Site:
1 MP (1 OS/390)
120 MIPS
1.35 TB
+ Fast growing UNIX, AIX, NT systems farm
© 2001 La Caixa
Reporting
• Objectives
¤
¤
¤
¤
Performance Reporting
Capacity Planning
Help on system tuning
Help on problem determination
• Tools
¤
¤
© 2001 La Caixa
Systems activity data collection (RMF, SMF,
TSOMON, IMF & User applications), stored
on MICS
SAS proccesing
Solution description
MICS
RMF, SMF registers
MICS DB
Product Logs
User Aplications
© 2001 La Caixa
SAS
OS/390
ISPF
“La Caixa”
Intranet
Solution description
Used SAS technology
• OS/390 ISPF
¤
SAS 6.09/8.00 fi DATA & PROC STEPS
• “La Caixa” intranet
¤
¤
© 2001 La Caixa
SAS 6.09 fi Web Publishing Tools
SAS 8.00 fi ODS HTML
Solution description (OS/390 ISPF)
----- CPU
Opció ==>
Llistats a disposició de l'usuari --------------- Row 1 of 8
(S) Seleccionar
(P) Imprimir
S,P OPC DESCRIPCIÓ
AUTORITZAT
----------------------------------------------------------------------------_
1 VARIABLES DE SEGUIMENT DEL MVS
SI
_
2 REPORT DE CÀRREGA DE CPUS
SI
S
3 TAULES DE CÀRREGA DE CPUS
SI
_
4 GRÀFIQUES DE CÀRREGA DE CPUS DIÀRIA
SI
_
5 GRÀFIQUES DE CÀRREGA DE MAQUINES PER SITE DIÀRIA
SI
_
6
"
"
"
3 DIES PUNTA
SI
_
7
"
"
"
MITJANA MENSUAL
SI
_
8 TAULES DE CÀRREGA DE CPUS PER PERÍODES RMF
SI
******************************* Bottom of data ********************************
© 2001 La Caixa
Solution description (OS/390 ISPF)
9740 - TECNOLOGIA DE LA INFORMACIÓ
ESTADÍSTIQUES DE RENDIMENT - DATA=30AUG00
CPU0202B: OCUPACIO ORDINADORS PER HORA I TIPUS DE CARREGA
-------------------------------- CPU/LPAR=BIU1 --------------------------------MIPS Sum
|
220 +
55
|
55
|
55
|
55
200 +
55
| 66
55 55
| 66
66 55 55 55
| 66
66
55 55 55 55
180 + 66
66
55 55 55 55
66
| 66
66
55 55 55 55
55
| 55
55
55 55 55 55
55
| 55
55
55 55 55 55 55 55
160 + 55
55
55 55 55 55 55 44
| 55
55 66 66
55 44 55 55 55 44 66
| 55
55 66 66
44 44 55 55 55 44 55
| 55
55 55 55
44 44 55 55 55 44 55
140 + 55
55 55 55
44 44 55 55 55 44 55
| 55
55 55 55
44 44 55 55 55 44 55
| 55
55 55 55
44 44 55 55 55 44 55
| 55
55 55 55
66
44 44 55 55 55 44 55
66
120 + 55
55 55 55
55
44 44 55 55 44 44 55 66
66
| 55
55 55 55
55
33 44 44 55 44 44 44 55
66
| 55
55 55 55
66
55 66 55 33 44 44 55 44 44 44 55
55
| 55 66 55 55 55
66
55 55 55 33 44 44 44 44 44 44 55
55
100 + 55 66 55 55 55
55
55 55 55 33 44 44 44 44 44 44 55
55
| 55 66 55 55 55
55
55 55 55 33 33 44 44 44 44 44 55
55
| 55 66 55 55 55 66
55
55 55 55 33 33 44 44 44 44 44 55
66 55
| 55 66 55 55 55 55 66 55
55 55 55 33 33 44 44 33 33 44 55
66 55
80 + 55 66 55 55 55 55 55 55 66 55 55 55 33 33 44 33 33 33 44 55
66 55
| 55 55 55 55 55 55 55 55 55 55 55 55 33 33 44 33 33 33 33 44 66 66 55
| 55 55 55 55 55 55 55 55 55 55 55 55 33 33 33 33 33 33 33 44 55 55 55
| 55 55 55 55 55 55 55 55 55 55 55 55 33 33 33 33 33 33 33 44 55 55 55
60 + 55 55 55 55 55 55 55 55 55 55 55 44 33 33 33 33 33 33 33 44 44 44 55
| 55 55 55 44 55 55 55 44 55 55 55 44 33 33 33 33 33 33 33 44 44 44 55
| 55 55 55 44 55 55 55 44 55 55 55 44 33 33 33 33 33 33 33 44 44 44 44
| 55 55 55 33 44 55 44 44 55 44 55 44 33 33 33 33 33 33 33 33 44 44 44
40 + 44 44 55 33 44 55 44 44 44 33 44 33 33 33 33 33 33 33 33 33 33 33 44
| 44 44 44 33 33 44 44 33 44 33 44 33 33 33 33 33 33 33 33 33 33 33 33
| 33 33 44 33 33 44 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
| 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
20 + 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
| 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
| 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
| 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
----------------------------------------------------------------------20 21 22 23 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Hour Of Day
© 2001 La Caixa
Symbol CARREGA
Symbol CARREGA
Symbol CARREGA
1
4
2
5
3
6
1 IMS ON-LINE
4 BACKGROUND
2 BATCH ENTORN
5 BATCH LLIURE
3 FOREGROUND
6 ALTRES
Solution description (OS/390 ISPF)
//*=======================================================
//* GRAFICA OCUPACIO PER HORA I CARREGA (RSI)
//*=======================================================
//DAY0202 EXEC SAS609,PARM='SYSPARM=''&DATAP'''
//SASLIST DD DSN=&&MICS,DISP=(MOD,PASS),
//
SPACE=(00255,(006735,020205),,,),AVGREC=U,
//
UNIT=(SYSALLDA,01),
//
DCB=(RECFM=VBA,LRECL=00255,BLKSIZE=0,BUFNO=2)
//INCLLIB DD DSN=MICS.C.INCLUDES.SAS,DISP=(SHR)
//TEMP1
DD SPACE=(09076,(000005,000015),,,),AVGREC=U,
//
UNIT=(VIO,01)
//CPLAN
DD DSN=MICS.C.CPLAN,DISP=(SHR)
//SYSIN
DD DSN=MICS.C.FONTS.SAS(MICS0202),DISP=(SHR)
//*------------------------------------------------------//SIS0202 EXEC PGM=SISPDSYS
//FILIN
DD DSN=&&MICS,DISP=(OLD,DELETE)
//FILLIB
DD DSN=MIC.MIC00035.MICD1161.&DATAP,DISP=(SHR)
© 2001 La Caixa
Solution description (WPT)
© 2001 La Caixa
Solution description (WPT)
© 2001 La Caixa
Solution description (WPT)
DATA _NULL;
FILE GIFCODE;
SET SITMAQ;
DSN='MICS.C.GRAFD.'||"&NIVELL"||'.GIF(CPU202'||SUBSTR(SMAQ,1,2)||')';
IF _N_=1 THEN
DO;
PUT 'GOPTIONS DEVICE=GIF GACCESS=GSASFILE VSIZE=15CM '
'CBACK=WHITE CBY=BLACK FTEXT=SWISS HTEXT=1.5 '
'COLORS=(RED,CYAN,YELLOW,WHITE,BLUE,GREEN);';
PUT 'PROC FORMAT;';
PUT 'VALUE HOURFMT -4=''20'' -3=''21'' -2=''22'' -1=''23'';';
END;
PUT 'DATA _NULL_;';
PUT 'SET GIFDATA2;';
PUT 'IF _N_=1 THEN CALL SYMPUT(''DD'',PUT(DIES,DATE7.));';
TEXT0='FILENAME GSASFILE '''||TRIM(DSN)||''' DISP=SHR;';
PUT TEXT0;
PUT 'PROC GCHART DATA=GIFDATA2;';
TEXT1='WHERE SMAQ='''||SUBSTR(SMAQ,1,2)||''';';
PUT TEXT1;
PUT 'LABEL MAQ=''MAQUINA'';';
PUT 'FORMAT HOUR HOURFMT.;';
PUT 'BY MAQ;';
PUT 'TITLE C=BLACK H=2.2 '
'''OCUPACIO ORDINADORS PER HORA I TIPUS DE CARREGA'';';
TEXT3='TITLE2 H=2.5 C=BLACK "SITE'||SITE||' MAQUINA'||MAQ||
' - &DD";';
PUT TEXT3;
PUT 'VBAR HOUR / DISCRETE SUMVAR=MIPS SUBGROUP=CARREGA';
PUT ' PATTERNID=SUBGROUP CTEXT=BLACK CAXIS=BLACK COUTLINE=BLACK';
PUT ' FRAME WIDTH=2 SPACE=0;';
PUT 'PATTERN V=S;';
PUT 'RUN;';
PUT 'QUIT;';
PUT 'FILENAME GSASFILE CLEAR;';
PUT 'RUN;';
RUN;
;
%INCLUDE GIFCODE;
© 2001 La Caixa
Solution description (WPT)
DATA _NULL;
FILE HTMLCODE;
SET SITMAQ;
IF _N_=1 THEN
DO;
DSN='MICS.C.GRAFD.'||"&NIVELL"||'.HTML';
PUT 'FILENAME LIB ''' DSN''' DISP=SHR;';
END;
MEM='(CPU202'||SUBSTR(SMAQ,1,2)||')';
PUT 'DATA _NULL_;';
PUT 'FILE LIB' MEM ';';
PUT 'PUT ''<HTML>'';';
PUT 'PUT ''<HEAD>'';';
PUT 'PUT ''<TITLE> REPORTING DE SISTEMES D''''INFORMACIÓ </TITLE>'';';
PUT 'PUT ''<STYLE TYPE="TEXT/CSS">'';';
PUT 'PUT ''H2 {TEXT-ALIGN:CENTER; COLOR: WHITE; FONT-SIZE: 110%}'';';
PUT 'PUT ''H2 {BACKGROUND: Ñ006699}'';';
PUT 'PUT ''H3 {TEXT-ALIGN:CENTER; COLOR: WHITE; FONT-SIZE: 90%}'';';
PUT 'PUT ''H3 {BACKGROUND: Ñ006699}'';';
PUT 'PUT ''</STYLE>'';';
PUT 'PUT ''</HEAD>'';';
PUT 'PUT ''<BODY BGCOLOR="ÑFFFFCC" LINK="Ñ0000FF" VLINK="Ñ800080"'';';
PUT 'PUT ''TEXT="Ñ000000">'';';
PUT 'PUT ''<FONT FACE="ARIAL"><CENTER>'';';
PUT 'PUT ''<H2>GRÀFIQUES DIÀRIES DE SISTEMES D''''INFORMACIÓ</H2>'';';
PUT 'PUT ''<H3>9740 TECNOLOGIA DE LA INFORMACIÓ</H3>'';';
TEXT='<IMG SRC="''''MICS.C.GRAFD.'||"&NIVELL"||
'.GIF(CPU202'||SUBSTR(SMAQ,1,2)||')''''"></IMG>';
PUT 'PUT ''' TEXT ''';';
PUT 'PUT ''</CENTER>'';';
PUT 'PUT ''</FONT>'';';
PUT 'PUT ''</BODY>'';';
PUT 'PUT ''</HTML>'';';
RUN;
%INCLUDE HTMLCODE;
© 2001 La Caixa
Solution description (ODS)
© 2001 La Caixa
Solution description (ODS)
© 2001 La Caixa
Solution description (ODS)
/*GRAFIQUES INTRANET CAIXA*/
filename odsout '/web/SISWSE01/apl/docs/cp/cco/mics';
ods listing close;
GOPTIONS DEVICE=GIF GACCESS=GSASFILE VSIZE=15CM
CBACK=WHITE CBY=BLACK FTEXT=SWISS HTEXT=1.5
COLORS=(RED,CYAN,YELLOW,WHITE,BLUE,GREEN);
ods html path=odsout
body='maq_body.html';
PROC GCHART DATA=GIFDATA2;
by SMAQ;
LABEL SMAQ='MAQUINA';
FORMAT HOUR HOURFMT.;
TITLE C=BLACK H=2.2
'OCUPACIO ORDINADORS PER HORA I TIPUS DE CARREGA';
VBAR HOUR / DISCRETE SUMVAR=MIPS SUBGROUP=CARREGA
PATTERNID=SUBGROUP CTEXT=BLACK CAXIS=BLACK COUTLINE=BLACK
FRAME WIDTH=2 SPACE=0 name='maquina' des='Ocupació per hora i càrrega';
PATTERN V=S;
RUN;
QUIT;
© 2001 La Caixa
Solution description (Drill down)
© 2001 La Caixa
Solution description (Drill down)
GOPTIONS GSFNAME=OUTFILES DEV=GIF FTEXT=SWISSB HTEXT=1.1
CTITLE=BLUE COLORS=(GREEN,RED,YELLOW,MAROON,MAGENTA,STEEL,ORANGE,
BLACK,CYAN);
OPTIONS ERRORABEND NONUMBER NODATE CENTER MISSING=' ';
ODS HTML BODY='DRILL.HTML'
PATH="/web/SISWSE02/apl/MICS/PROVES/U41/K" (URL=NONE)
RS=NONE; RUN;
DATA DVA;
SET ITP.TERTRN01;
TRANS=TRANS/1000000;
WHERE SUBSTR(IMS,1,3)='EXP';
DATA UNO;
SET UNO;
IF ORIGEN='P' THEN RPT='HREF="P.HTML"';
ELSE IF ORIGEN='F' THEN RPT='HREF="F.HTML"';
ELSE IF ORIGEN='C' THEN RPT='HREF="C.HTML"';
ELSE IF ORIGEN='T' THEN RPT='HREF="T.HTML"';
ELSE IF ORIGEN='A' THEN RPT='HREF="A.HTML"';
ELSE IF ORIGEN='W' THEN RPT='HREF="W.HTML"';
ELSE IF ORIGEN='S' THEN RPT='HREF="S.HTML"';
PROC GCHART DATA=UNO;
PIE ORIGEN / SUMVAR=TRANS OTHER=0 PCT=ARROW FILL=SOLID CTEXT=BLACK
MIDPOINTS= 'CAIXERS' 'ASXXI' 'INFRAESTRUCTURA (TAD,LAN,...)'
'TPV/DATAFONS' 'SS.CC./3270' 'OFICINES' 'WEB/INTERNET'
COUTLINE=BLACK NOHEADING SLICE=NONE
LEGEND=LEGEND NAME='PIECAN' HTML=RPT;
TITLE1 H=3.5 C=BLUE '
';
TITLE2 H=1.5 C=STEEL 'DISTRIBUCIO TXs REBUDES PER CANAL';
TITLE3 H=1.2 C=STEEL '(ultim mes)';
RUN;
© 2001 La Caixa
Intranet improvements
•
•
•
•
•
Wider audience for Systems reporting
More friendly interface
More clear & visual presentation
Integration with other ofimatic tools
With ODS:
¤
¤
¤
© 2001 La Caixa
“Drill Down” Pages/Graphics
Easier publication than WPT (multipage
reporting, multigif pages, etc.)
Improved information structure
Evolution lines (Future)
• Extend ODS utilization
• Substitute Lotus Notes alerts with e-mail from
within SAS programs.
• Dynamic Reporting via Browser (SAS/Intrnet)
© 2001 La Caixa

Similar documents