Step 14A: Installation of the TSO REXX Function Package INGTXFPG

Add INGTXFPG to the function package table in the appropriate TSO module below. TSO/E provides the following samples in SYS1.SAMPLIB that you can use to code your load modules:
Table 1. TSO Load Modules for INGTXFPG
Sample name Load module name
IRXREXX1 ( IRXPARMS for MVS)
IRXREXX2 ( IRXTSPRM for TSO/E)
IRXREXX3 ( IRXISPRM for ISPF)
There are various considerations for providing your own parameters modules. For further details, see the chapter "Function Package" of the TSO REXX Reference. The different considerations are based on whether you want to change a parameter value for an environment(s) initialized:
  • for ISPF
  • for both TSO/E and ISPF sessions
  • in a non-TSO/E address space
Select the appropriate sample parameters modules, for example IRXREXX2 for TSO/E and batch PGM=IKJEFT01 and make the highlighted and underlined changes similar to the example both:
PACKTB_SYSTEM_FIRST DC A(PACKTB_ENTRIES)        /* Address of the first*/
*                                               /* System Entry        */
PACKTB_SYSTEM_TOTAL DC F'3'                     /* Total number of     */
*                                               /* system entries      */
PACKTB_SYSTEM_USED DC F'3'                      /* Number of System    */
*                                               /* entries in use      */
PACKTB_LENGTH DC F'8'                   /* Length of each PACKTB entry */
PACKTB_FFFF DC X'FFFFFFFFFFFFFFFF       /* Set the PACKTB end marker   */
PACKTB_ENTRIES EQU *                    /* System Package Table entries */
PACKTB_ENTRY_MVS EQU *                   /* The MVS-PACKTB              */
PACKTB_NAME_MVS DC CL8 'IRXEFMVS'       /* 1. Set function package name */
PACKTB_NAME_MVS DS 0C                   /* Point to the next entry     */
PACKTB_ENTRY_TSO EQU *                   /* The TSO PACKTB entry        */
PACKTB_NAME_TSO DC CL8 'IRXEFPCK'       /* 2. Set function package name */
PACKTB_NEXT_TSO DS 0C                   /* Point to the next entry      */
PACKTB_ENTRY_SAM EQU *                  /* The SAM PACKTB entry         */
PACKTB_NAME_SAM DC CL8 'INGTXFPG'       /* 3. Set SA function package   */
PACKTB_NEXT_SAM DS 0C                   /* Point to next entry          */
  1. Link-edit the REXX default parameters module with the corresponding names. For example, the load module for the sample IRXREXX2 must have the name IRXTSPRM.
  2. Place the resultant REXX default parameter module in the LPALST.
  3. Make sure that the function package INGTXFPG resides in the LinkList.