Customizing the ISPF edit macro
The SAUISAMP data set shipped with IBM Security Guardium S-TAP for IMS includes an ISPF edit macro to help with the editing of the rest of the SAMPLIB members to be used in the subsequent steps.
About this task
The edit macro is named AUIEMAC1 and provides a straightforward way to customize the variable values for the variables that appear in the JCL that will run. Use this edit macro as part of a command list (CLIST) to edit the other SAMPLIB members.
Procedure
- To set up the edit macro, copy AUIEMAC1 from the #HLQ.SAUISAMP to a CLIST library.
- Edit the macro by providing the appropriate values for each of the variables.
- To run the macro, type the name of the edit macro in the command line in ISPF.
Results
Example
The contents of the edit macro AUIEMAC1 included in the SAMPLIB are as follows:
ISREDIT MACRO (NP)
ISPEXEC VGET (ZUSER)
ISREDIT CHANGE ALL '#AUILOAD' AUI.IBMTAPE.SAUILOAD
ISREDIT CHANGE ALL '#AUIIMOD' AUI.IBMTAPE.SAUIIMOD
ISREDIT CHANGE ALL '#AUISAMP' AUI.IBMTAPE.SAUISAMP
ISREDIT CHANGE ALL '#AUICONFG' AUICONFG
This table describes each variable in the edit macro AUIEMAC1 included in the SAMPLIB:
Variable | Default | Instructions |
---|---|---|
#AUILOAD | AUI.IBMTAPE. SAUILOAD | Change the default value to point to the location of the SAUILOAD for IBM Security Guardium S-TAP for IMS. |
#AUIIMOD | AUI.IBMTAPE. SAUIIMOD | Change the default value to point to the location of the SAUIIMOD for IBM Security Guardium S-TAP for IMS. |
#AUISAMP | AUI.IBMTAPE. SAUISAMP | Change the default value to point to the location of the SAUISAMP data set, or copy of that data set where you will be performing the configuration and customization edits. |
#AUICONFG | AUICONFG | Change the default value to point to the member name in the configuration file that you want to use. |