Testing BMC AMI Datastream
Testing BMC AMI Datastream as a job
To test that BMC AMI Datastream as a job, perform the following steps:
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.
- Open amihlq.SAMP(CZAGNJOB) and customize according to the instructions provided in the data set member.
- Ensure that the //CZAPARMS DD statement references the correct parameter data set.
- 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.
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.
- 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. To stop the agent, enter the following command in SDSF:
/P <jobname>The job should end normally.
Testing BMC AMI Datastream as a started task
To test BMC AMI Datastream as a started task, perform the following steps:
- 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.
- Replace amihlq with your high-level qualifier.
- Ensure that the //CZAPARMS DD statement refers to the amihlq.SAMP data set as a whole, not to a particular member.
- Check the CZADIAG and CZAPRINT DD statements. They should refer to a held SYSOUT class.
Copy CZAMIOPS to a data set in your SYS1.PROCLIB concatenation.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.
- Check the CZAPRINT data set.
- If errors appear, try to resolve them and restart CZAMIOPS.
- If errors do not appear, perform Testing BMC AMI Datastream as a job.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*