Sample CZAMIOPS JCL for running BMC AMI Datastream for Ops as a started task
// INSTANCE=*,SET=,TYPERUN=,
// SECPFX='AMIZOS.AGT', AMI API1 security resource prefix for DATASET
// SECCLS='DATASET', AMI API1 security resource class (RACF)
//* SECCLS='APPL', AMI API1 security resource class (ACF2)
// LEOPTS=CZALEOPT, CEEOPTS member
// PARMS=CZAPAO,
// LPAUPD=COND, Add exits to LPA COND/FORCE
// ZIIP=YES, Enable zIIP $AGENT task
// TCPNAME=' ', TCP stack for ZIIP=YES
// ZADVPR=NO, Disable zAdviser interface processing
// LOAD=LOAD, Change to 'ARCH9.LOAD' for backlevel support
// AMISSID=CZDA, AMI Datastream Subsystem ID
// SOUT=*, Sysout class
// LOGFREE=DAILY, DAILY/EOJ; When to close and free CZAZOSLG
// SWITCH=
//*
//* Cataloged procedure for starting BMC AMI Datastream
//*
//* You must edit 'amihlq' below to your installed
//* high level qualifier
//*
//* If you make changes to this JCL note that AMI Datastream *must*
//* be loaded from STEPLIB, not from JOBLIB or the link pack area
//*
//CZAMIOPS EXEC PGM=CZAZOSAO,TIME=1440,REGION=0M,PARMDD=CZAPRMDD
//*
//* EXPORT must go before the symbols it exports ...
// EXPORT SYMLIST=*
// SET $DEFINES=&DEFINES
// SET $INSTALL=&INSTALL
// SET $INSTANC=&INSTANCE
// SET $PARMS=&PARMS
// SET $RUNMODE=&RUNMODE
// SET $SET=&SET
// SET $SWITCH=&SWITCH
// SET $TRACE=&TRACE
// SET $TYPERUN=&TYPERUN
// SET $VERBOSE=&VERBOSE
// SET $SSID=&AMISSID
// SET $SOUT=&SOUT
// SET $FREE=&LOGFREE
// SET $SPFX=&SECPFX
// SET $LPA=&LPAUPD
// SET $ZIIP=&ZIIP
// SET $ZADVPR=&ZADVPR
// SET $TCPNAME=&TCPNAME
// SET $SECCLS=&SECCLS
//*
//CZAPRMDD DD *,SYMBOLS=JCLONLY
&$VERBOSE,TRACE(&$TRACE),CZAPARMS(&$PARMS),DEF(&$DEFINES),
MODE(&$RUNMODE &$INSTALL),INSTANCE(&$INSTANC),SET(&$SET),
TYPERUN(&$TYPERUN),SWITCH(ON(&$SWITCH)),AMISSID(&$SSID),
SYSOUT(&$SOUT),FREE(&$FREE),SPFX(&$SPFX),LPA(&$LPA),
ZIIP(&$ZIIP),ZADVPR(&$ZADVPR),TCPNAME(&$TCPNAME),SECCLS(&$SECCLS)
/*
//STEPLIB DD DSN=amihlq.&LOAD,DISP=SHR
//CZAPARMS DD DSN=amihlq.PARM,DISP=SHR
//CZADIAG DD SYSOUT=&$SOUT
//CEEOPTS DD DISP=SHR,DSN=amihlq.PARM(&LEOPTS)
//BMCPSWD DD DISP=SHR,DSN=amihlq.BMCPSWD
// PEND
Control parameters
The following parameters provide added functionality:
Parameter | Description |
---|---|
AMISSID | Specifies the name of the BMC AMI z/OS subsystem Enter a four-character name by using A–Z or 0–9. Only one Datastream for Ops agent can use the name specified in AMISSID. If a second agent tries using the name, Datastream for Ops does not enable the BMC AMI z/OS subsystem functionality. If no value is specified, the default, CZDA is used. For more information, see BMC-AMI-z-OS-subsystem. |
LOAD | Deprecated Specifies the applicable load library for your system's architecture level If you do not know which library to use, contact your system administrator. Enter one of the following values:
|
LOGFREE | Specifies when the CZAZOSLG output log is closed Enter one of the following values:
|
LPAUPD | Installs, updates, or replaces SMF, API0, API1, Logstream, and BMC AMI DatastreamConsole exits without stopping or restarting the BMC AMI Datastream for Ops agents running on the LPAR Enter one of the following values:
If no value is specified, the default is COND. |
SECCLS | Defines the security authorization class used by SAF for the BMC AMI Datastream agent address space SECCLS can be one of the following values:
|
SECPFX | Defines the security authorization name prefix for the BMC AMI Datastream agent address space for the DATASET security class (see SECCLS) We recommend that you leave the default value for this parameter. |
SOUT | Specifies the SYSOUT class to be assigned to output log files We recommend you leave the default value for this parameter. |
TCPNAME | Specifies the name of the TCP/IP stack, other than the default, that you want to use for your connection Available to zIIP enabled customers with multiple TCP/IP stacks and a requirement that BMC AMI Datastream and CZASEND use a specific stack that is not the default stack. Most customers should not need to specify this parameter. If this parameter is used (zIIP is enabled), the TCPname parameter in the OPTIONS-statement is ignored. If zIIP is enabled and this parameter is not used, the default TCP/IP stack is used. |
ZADVPR | Enables and disables BMC AMI zAdviser interface processing
If no value is specified, the default is NO. For more information about BMC AMI zAdviser, see BMC AMI zAdviser. |
ZIIP | Enables IBM z Systems Integrated Information Processor (zIIP) YES—BMC AMI Datastream Uses zIIP for environments that are zIIP enabled. NO—Makes no change to performance. |