Export Events into ARC Format for z/OS
The following figure illustrates the export of events into an ARC format file on z/OS.
//STEP1 EXEC PGM=UECLOAD,PARM='ENVAR(TZ=EST5EDT)/' //STEPLIB DD DISP=SHR,DSN=#HLQ.UNV.SUNVLOAD //* //UNVCONF DD DISP=SHR,DSN=#HLQ.UNV.UNVCONF(UECCFG00) //* //UNVTRACE DD SYSOUT=* //ARCFILE DD DSN=APP.UEC.ARCH, // DISP=(,CATLG),UNIT=3390,VOL=SER=STG001, // SPACE=(CYL,(5,5)), // DCB=(RECFM=FB,LRECL=200,BLKSIZE=8000) //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //CEEDUMP DD SYSOUT=* //SYSIN DD * -export EVENTS -port 8778 -userid joe -pwd akkSdiq -level audit -stime 2008/04/29,10:00:00 -etime 2008/04/30,10:00:00 -format ARC -deffile ARCFILE
SYSIN Options
The SYSIN options used in this example are:
Option | Description |
---|---|
Output the described broker definition in a format to be used by a broker definition file. | |
TCP/IP port number of the UEC. | |
UEC user ID/account with which Brokers will be modified. | |
Password associated with -userid. | |
Level of messages written. | |
Start time of exported data. | |
End time of exported data. | |
Format of the output from the -export EVENTS action. | |
File containing multiple broker definitions to be added or deleted in the UEC database. |
Retrieve Archived File and Export into XML for z/OS
The following figure illustrates the retrieval of an archived file and its export into XML on z/OS.
//STEP1 EXEC PGM=UECLOAD,PARM='ENVAR(TZ=EST5EDT)/' //STEPLIB DD DISP=SHR,DSN=#HLQ.UNV.SUNVLOAD //* //UNVCONF DD DISP=SHR,DSN=#HLQ.UNV.UNVCONF(UECCFG00) //OUTPUT DD SYSOUT=* //UNVTRACE DD SYSOUT=* //ARCFILE DD DSN=APP.UEC.ARCH,DISP=SHR //DEFFILE DD DSN=APP.UEC.DEFFILE,DISP=SHR //SYSOUT DD SYSOUT=* //CEEDUMP DD SYSOUT=* //SYSIN DD * -export EVENTS -arcfile ARCFILE -level audit -format XML -deffile DEFFILE
SYSIN Options
The SYSIN options used in this example are:
Option | Description |
---|---|
Output the described broker definition in a format to be used by a broker definition file. | |
Archived file to retrieve for export. | |
Level of messages written. | |
Format of the output from the -export EVENTS action. | |
File containing multiple broker definitions to be added or deleted in the UEC database. |