Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

-export

Output the described broker definition in a format to be used by a broker definition file.

-port

TCP/IP port number of the UEC.

-userid

UEC user ID/account with which Brokers will be modified.

-pwd

Password associated with -userid.

-level

Level of messages written.

-stime

Start time of exported data.

-etime

End time of exported data.

-format

Format of the output from the -export EVENTS action.

-deffile

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

-export

Output the described broker definition in a format to be used by a broker definition file.

-arcfile

Archived file to retrieve for export.

-level

Level of messages written.

-format

Format of the output from the -export EVENTS action.

-deffile

File containing multiple broker definitions to be added or deleted in the UEC database.

  • No labels