Assembling your governor exit

QMF supports only assembler-language programming for a governor. This is the language, for example, in which the IBM-supplied governor is coded; the code was written for HLASM or Assembler H. You can review this code by printing certain members of the QMF720.SDSQUSRE library.

Link-editing your governor exit routine

Place the load module for the governor in a library available to all your QMF users. IBM recommends the library QMF720.SDSQLOAD, which contains the load modules for QMF. This library must be concatenated with DFHRPL in CICS.

Name the module DSQUnGV3. These are the names of the IBM-supplied modules. Placing your own governor module in the QMF720.SDSQLOAD library replaces the IBM-supplied module, because that module is a member of that library.

To avoid replacing the IBM-supplied module, you can rename it or move it to another library. Or you can place the module for your own governor in a different library in DFHRPL. For the last of these alternatives, be sure that your module's new library is ahead of QMF720.SDSQLOAD in the concatenation sequence. If it is not, QMF calls the IBM-supplied module instead of your own.

Be sure that the entry point for this module is DSQUnGV3. If your source code begins with a CSECT statement with this label, there is nothing else to do. If not, specify the entry name on the END statement for the assembler code, or place it in an ENTRY statement in the linkage editor input.

When link-editing, you must include the CICS command interface control modules DFHEAI and DFHEAI0. You must also place the control modules at the beginning of the governor load module. In CICS, the governor must run with AMODE(31) and RMODE(ANY).

INCLUDE SYSLIB(DFHEAI)
   INCLUDE SYSLIB(DFHEAI0)
   ORDER DFHEAI,DFHEAI0
   ENTRY DSQUEGV3
   MODE  AMODE(31),RMODE(ANY)
   NAME  DSQUEGV3(R)
[ Previous Page | Next Page | Contents | Index ]