Reporting logset information
You can execute a REXX EXEC to display the time span of data of each log file in a specific output group. The information can also be displayed on the MVS console by issuing the LIST LOGSET command. For more information, see NGL commands.
The syntax is:
NGLBATCH dbcId nglId command logsetName
In this syntax:
dbcId is the DBC subsystem ID
nglId is the piid of the NGL agent
command can be LIST LOGSET or STATUS LOGSET
logsetName follows the template of thedbc-id, followed by the letter L followed by the output group number
For example, the logsetName of Data Collector DC01 and output group 001 is DC01L001.
The REXX EXEC and the JCL to execute it are contained in the SAMP library (XXSAMP or NGLSAMP) in members NGLBATCH and NGLBCMD respectively.
Sample JCL to execute REXX EXEC
//NGLBATCH JOB ....
//TSOB EXEC PGM=IKJEFT01,DYNAMNBR=10
//SYSPRINT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//STEPLIB DD DSN=your.loadlib,DISP=SHR | DBC/NGL loadlib
//SYSPROC DD DISP=SHR,DSN=your.NGL.SAMP | NGL SAMP library
//SYSTSIN DD *
%NGLBATCH DC01 NGL1 LIST LOGSET DC01L001
In this sample:
DC01 is the DBC subsystem ID
NGL1 is the NGL piid
DC01L001 is the DBC subsystem ID (DC01) and 001 is the logset number.
Example of output
----- Output for command: LIST LOGSET DC01L001 -----
NGL MESSAGE RC: 00000000 RSN: FFFFFFFF
BMCNGL59704I RESPONSE FROM JOB:DBCPROC2 NGL:NGL1 DBCID:DC01 ASID:0X0178
BMCNGL59695I LOGSET STATUS DSNAME
BMCNGL59696I START TIME ENDTIME
BMCNGL59700I RECORDS DATA BYTES COMP BYTES PERCENT
BMCNGL59697I DC01L001 ACT/INU-C NGL.GRP1.DC01.NGLC.C0000003
BMCNGL59698I 20120517 13:54:40.940 20120517 13:55:51.581
BMCNGL59701I 249268 96.73MB 25.19MB 26
BMCNGL59697I DC01L001 ACTIVE -C NGL.GRP1.DC01.NGLC.C0000002
BMCNGL59698I 20120517 12:58:28.938 20120517 13:54:40.940
BMCNGL59701I 390260 151.14MB 37.17MB 24
BMCNGL59697I DC01L001 ACTIVE -C NGL.GRP1.DC01.NGLC.C0000001
BMCNGL59698I 20120517 12:28:54.442 20120517 12:58:28.938
BMCNGL59701I 393155 152.15MB 37.27MB 24
READY
END
Related topic
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.