Assembling your governor exit

The IBM-supplied governor is written for HLASM. To use the IBM-supplied governor, IBM supplies governor control blocks (DXEGOVA and DXEXCBA) in DSQUSERE MACLIB, which is located on the QMF production disk.

If you assemble the IBM-supplied governor, you need to issue a global maclib command for the following libraries:

  1. DSQUSERE
  2. OSMACRO
  3. TSOMAC

For example, use the following statements to assemble the QMF-supplied governor:

Address CMS "PRODUCT HLASM"
Address CMS "PRODUCT QMF"
Address CMS "GLOBAL MACLIB DSQUSERE DMSSP CMSLIB OSMACRO TSOMAC "
Address CMS "HLASM DSQUEGV2

Building a module file or creating a load library member

After you assemble your governor, a TEXT file is created. You then need to build a relocatable module file named DSQUEGV2 or create a member of a CMS LOADLIB.

Important:If you are using your own governor, the DSQUEGV2 file can run in 31-bit addressing mode. If you are using the IBM-supplied governor, DSQUEGV2 must run in 24-bit mode. For example, use the following REXX statements to build a module file for the IBM-supplied governor:

Address CMS "LOAD DSQUEGV2 (RLDSAVE AMODE 24 RMODE 24"
Address CMS "GENMOD DSQUEGV2"

If you choose to create a member of a CMS LOADLIB:

  1. Create a SYSLIN file that contains the following statements:
    INCLUDE DSQUEGV2
    ENTRY DSQUEGV2
  2. Allocate the SYSLIN and INCLUDE files using the following CMS commands:
    FILEDEF SYSLIN DISK SYSLIN CONTROL A
    FILEDEF DSQUEGV2 DISK DSQUEGV2 TEXT A
  3. Create the module as a member of a new or existing CMS load library using the following CMS command:
    LKED DSQUEGV2 (NCAL LET REUS NAME DSQUEGV2 LIBE USERLIB)
[ Previous Page | Next Page | Contents | Index ]