Sample programs for a security exit

Copybooks, sample program source and JCL for the security exit are supplied for High Level Assembler and COBOL. The sample program source and JCL are distributed in HFM.SHFMSAM1, and the copybooks in HFM.SHFMMAC1. They are:
HFM1AXIT
HLASM copybook for security exit parameters.
HFM1XITA
Sample HLASM code for program HFM1SXT.
HFM1UMDS
Usermod to install an HLASM version of HFM1SXT.
HFM1CXIT
COBOL copybook for security exit parameters.
HFM1XITC
Sample COBOL code for program HFM1SXT.
HFM1SECC
Job control to install a COBOL version of HFM1SXT.

To provide your version of HFM1SXT in HLASM you use the usermod HFM1UMDS as follows:

  1. Copy the member HFM1XITA from HFM.SHFMSAM1 to your own source library.
  2. Code your version of HFM1XITA in your source library, using HFM1XITA from HFM.SHFMSAM1 as a base.
  3. Modify the usermod HFM1UMDS member in HFM.SHFMSAM1 to meet your requirements. Refer to the usermod for information about changes you might need to make.
  4. Install SMP/E usermod HFM1UMDS.

To provide your version of HFM1SXT in COBOL:

  1. Copy the member HFM1XITC from HFM.SHFMSAM1 to your own source library.
  2. Code your version of HFM1XITC in your source library, using HFM1XITC from HFM.SHFMSAM1 as a base.
  3. Modify the sample job HFM1SECC in HFM.SHFMSAM1 to meet your site's requirements. Refer to the sample job for information about any changes you might need to make.
  4. Run the job to HFM1SECC to compile and link your version of HFM1SXT. This job will link HFM1SXT into HFM.SHFMMOD1.

To implement your exit, add HFM.SHFMMOD1 to your LINKLIST or to the STEPLIB DD statement in your TSO logon procedure.

Note: If the security exit program is written in COBOL, the performance of the application may be impacted.