Testing BMC AMI Datastream


You can test that BMC AMI Datastream is working correctly by performing the following procedures. Before you begin, ensure that the data set in the //STEPLIB DD of the CZAGENT procedure is APF authorized.

Related topic

Testing BMC AMI Datastream as a job

To test that BMC AMI Datastream as a job, perform the following steps:

  1. Open amihlq.SAMP(CZAGENT) and customize according to the instructions provided in the data set member.

    The amihlq variable represents the high-level qualifier that you used for installation.

  2. Open amihlq.SAMP(CZAGNJOB) and customize according to the instructions provided in the data set member.
  3. Ensure that the //CZAPARMS DD statement references the correct parameter data set.
  4. Submit the CZAGNJOB job.
    • If the job does not end, check the job log for errors.
    • If you receive a JCL error or if CZAGNJOB completes immediately, see the messages in the CZAPRINT SYSOUT data set to resolve the error. If you cannot resolve the problem, contact BMC Support.
  5. In the SDSF, enter the following command:

    /F <jobName>,STATS(SEND) 

    The jobName variable is the name that you chose for the CZAGNJOB job statement.

  6. Check your server or syslog console or server for syslog messages with BMC AMI Datastream statistics. Also check for TSO logon messages and security violation messages.
    If no TSO logon or security violation messages appear, exit your TSO session and log in again. If a message reporting your logon still does not appear on the syslog console or server, contact BMC Support.
  7. To stop the agent, enter the following command in SDSF:

    /P <jobname> 

    The job should end normally.

    Note

    Do not issue the “P” as a line command in SDSF.

Testing BMC AMI Datastream as a started task

To test BMC AMI Datastream as a started task, perform the following steps:

  1. Open the sample procedure in amihlq.SAMP(CZAGENT). You can see an example in the Sample-CZAGENT-JCL-for-running-BMC-AMI-Datastream-as-a-started-task topic. The amihlq variable represents the high-level qualifier that you used for installation.
  2. Replace amihlq with your high-level qualifier.
  3. Ensure that the //CZAPARMS DD statement refers to the amihlq.SAMP data set as a whole, not to a particular member.
  4. Check the CZADIAG and CZAPRINT DD statements. They should refer to a held SYSOUT class.

  5. Copy CZAMIOPS to a data set in your SYS1.PROCLIB concatenation.
  6. In SDSF, enter the following command:

    /S CZAMIOPS

    If the CZAMIOPS started task does not appear in the SDSF DA panel, enter PREFIX CZA* or OWNER *. If it does not appear, check the H and O panels. 

  7. Check the CZAPRINT data set. 

 

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