Using the CZASEND program


CZASEND is a program that sends a single syslog message of your choosing to your configured syslog server. CZASEND can be included in any batch job or called from a COBOL or other application program. You can specify the syslog message as a parameter or read from a file.

The CZASEND program requires a BMC AMI Defender for z/OS key.

In CEF mode, CZASEND messages have a header signature ID of the CZASEND user message, a header name of the user message, and the following extension:

cat=CZASEND cs1Label=User Message cs1=Message text

The following description assumes that you added the CZASEND procedure (PROC) to your SYS1.PROCLIB concatenation as described in Setting-up-CZASEND. If you did not add the procedure, you must add the following statement to each job that uses the CZASEND procedure:

//PROCLIB JCLLIB ORDER=<amihlq>.CZAGENT.CNTL

Alternatively, you can incorporate the JCL statements found in CZASEND directly into your jobs, which is beyond the scope of this product documentation.

CZASEND returns a completion code to the job or the calling program. For information about the possible return codes and their meanings, see Codes issued by BMC AMI Defender products.

This section provides information about the following topics:

 

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