Application associated data sample exit program: DFH$APAD
DFH$APAD is a sample global user exit program for the application associated data exit. The program shows how you can add user information to a transaction's Associated Data Origin Descriptor or retrieve existing information found in the association data, for purposes such as auditing or accounting of workloads.
About DFH$APAD
DFH$APAD is invoked at the XAPADMGR exit point. The exit program is called, if enabled, when nonsystem tasks for which no input Origin Descriptor Record is provided are attached.
DFH$APAD performs the following processing:
- Provides addressability to the association data provided as input to the exit.
- Chooses a field from this data and places it in the output buffer.
- Adds a field to the user correlation data in the output buffer.