Would like to use CA APAS to generate SMF records that contains Adabas related information
CA APAS provides a set of APAS requests in ADASMFR, and an output exit, ADASMFX, in the CA APAS Source library that collects the Adabas related data and writes the SMF records, respectively.
- Edit ADASMFX. There are several assembly options in ADASMFX used to build the SMF Header that can be modified such as the SMF System and Subsystem Id. The exit is set up to use Record Type 131 for TP/CICS records and 132 for Batch/TSO records; there is no standards for what Record Type numbers are to be used for Adabas so you can change the Record Type numbers any numbers you want. Review and modify the assembly options as needed.
- Edit ASMSMFX - JCL to assemble and linkedit ADASMFX, also found in the CA APAS Source library. Use the AIEDIT macro to automatically update the environmental variables in the JCL. Submit ASMSMFX to assemble and link the ADASMFX exit. The assembly and linkedit should complete with condition codes of zero.
NOTE: ADASMFX must be executed from an APF Authorized library.
- Review the source member ADASMFR. It contains two requests: ADASMFBT collects data for batch and TSO usage and ADASMFTP collects data for TP/CICS usage. Do NOT change the name of ADASMFTP because it is used in the ADASMFX exit to determine what Record Type to put the in SMF Header.
The data collected, the BY fields used, and the INTERVAL specified in the requests can be customized to meet your Adabas SMF reporting requirements.
The ADASMFR requests are just our "best guess" - a starting point of what data you might want to see in an Adabas SMF record. You can modify the requests however you want your SMF data to look. If you are not interested in a field such as Sum of ENQ-TIME then you can remove it from the request and it is eliminated from the SMF record the exit generates without you having to change anything in the exit. If you want the data collected by some other criteria such as a site derived Dept code, then you can modify the request to include Dept code and again without touching the exit, the new field is included in the SMF record.
- Include the ADASMFR requests in the CA APAS DBGIN input dataset for the Adabas MPM's that SMF records are to be generated for. By having the ADASMFR requests in DBGIN, they are automatically started each time the database is brought up.