Heindba
New User
Joined: 11 May 2010 Posts: 16 Location: South Africa
|
|
|
|
I am trying to compile a JCL to pull the CICS stats from SYSVIEW on CHISTORY.
Please help as I have no Idea where to start.....
Here is a sample JCL:
Code: |
//DEV16STS JOB (SDT,DB),'CICS STATS',CLASS=Q,MSGCLASS=V
// REGION=4096K,USER=PPGESP,NOTIFY=DEV16,TYPRUN
//REPORT EXEC PGM=XPFRMAIN,REGION=0M
//STEPLIB DD DISP=SHR,DSN=SYS1.SYSV127.BASE.CNM4RLOD
//ERPTPRM DD DISP=SHR,DSN=SYS1.SYSV127.BASE.CNM4RSAM
//SYSPRINT DD DISP=(,PASS),DSN=&&REP,SPACE=(CYL,(1,1)),
// DCB=(RECFM=FBA,LRECL=133,BLKSIZE=0),UNIT=339
//*SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//*
//* DAILY TRANSACTION SUMMARY
//*
//TAPSMF DD DISP=SHR,DSN=JSEDEV1.SYSVIEW.CICS.TRAN,
// SUBSYS=(LOGR,GSVXLGEX,
// 'FROM=OLDEST,TO=YOUNGEST',
// 'STATS,NORDW'),
//** 'STATS,NORDW,CNT=20000'),
// DCB=(DSORG=PS,RECFM=VB,LRECL=32756,BLKSIZE=32760)
//SYSIN DD *
OPTION(SUMMARY=NO,DATAONLY=NO,ZEROFLD=ZERO)
INPUT(TAPSMF)
FROM -1 DAYS
TO -1 DAYS
TAB DATE JOBNAME TRAN USE
EACH DAY
END
RUN
/*
//MAIL EXEC PGM=IKJEFT01,DYNAMNBR=30,REGION=4M
//SYSEXEC DD DISP=SHR,DSN=TSP.JSEDEV1.CPX.REXX
// DD DISP=SHR,DSN=TSP.JSEDEV1.CPX.STATS
//REPFILE DD DISP=(OLD,DELETE),DSN=&&REP
//SYSUDUMP DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//WKFILE DD DISP=SHR,DSN=DEV16.JCLLIB(TESTDATA)
//SYSTSIN DD *
EMAIL (HEINRICHVG@CONNECTION42.CO.ZA) FILEDD REPFILE +
FILENAME CICSDAY.TXT NOMSG SUBJECT 'DAILY CICS TRANS'
/*
//SYSIN DD * GENERATED STATEMENT
|
Please HELP!!!! |
|
Heindba
New User
Joined: 11 May 2010 Posts: 16 Location: South Africa
|
|
|
|
We are a outsourcing company. We actually specialize in Databases.
I tried getting the CICS support team at the other company to do it, but they don't want to as they have the monitoring tool in sysview, so they can monitor the stats on a daily basis.
We on the other hand have to give a report on what has been done on the systems for the month. Still don't know why we should do the CICS report but they want it.
I just thought that writing a JCL would be a better way of doing things to take the stats and write it to a sequentail file (Flat file). |
|