Information
Limited support BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see BMC AMI Datastream for Db2 7.1.

Invoking  CZASEND from a REXX EXEC


The following REXX EXEC shows an instance of how to execute CZASEND from REXX. It is intended to be used as a TSO command under ISPF, for an instance from ISPF Option 6. The message to be sent should be passed as a parameter. You might need to set amihlq to the high level qualifier chosen during installation, and you might have to make other edits to suit your requirements and your environment.

/* Rexx EXEC to test and demonstrate CZASEND */
/* You will need to edit <amihlq> before using */
Parse Arg Msg

"ALLOC FI(CZAPARMS) DA('<amihlq>.CZAGENT.CNTL(CZAPARMS)') SHR REUSE"
Call RCcheck "CZAPARMS"

"ALLOC FI(CZAPRINT) DA(*)"
Call RCcheck "CZAPRINT"

"ISPEXEC LIBDEF ISPLLIB DATASET ID('<amihlq>.CZAGENT.LOAD')"
Call RCcheck "ISPLLIB"

ADDRESS LINKMVS "CZASEND Msg"
RetCode = RC

"ISPEXEC LIBDEF ISPLLIB"
Exit RetCode

RCcheck:

  If RC = 0 Then Return
  Say "Error" RC "allocating" Arg(1)
  Exit 16 



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Defender for Db2 6.1