The QMF edit exit interface for PL/I in CMS with LE consists of these parts:
Figure 169 shows the program structure of a PL/I edit exit routine in CMS.
Before you can create your DSQUEDIT module file, ensure that you can access the IBM-supplied module DSQUXILE. This module is located on the production disk. You need to access this disk prior to creating the module file. Use the CMS LOAD and GEMOD commands as follows:
The DSQUEDIT module must be relocatable. To be relocatable, the module must be loaded with RLD entries. Do this by specifying the RLDSAVE option on the CMS/LOAD command. The entry point to the DSQUEDIT module must be DSQUXILE. LE text libraries must be made available by using a CMS GLOBAL TXTLIB command:
GLOBAL TXTLIB SCEELKED LOAD DSQUXILE DSQUXDT ( RLDSAVE RESET DSQUXILE
You can run your edit routine in either 24-bit or 31-bit addressing mode. QMF manages address switching as required. You can specify 31-bit addressing on the CMS LOAD command:
GLOBAL TXTLIB SCEELKED LOAD DSQUXILE DSQUXDT ( RLDSAVE RESET DSQUXILE AMODE 31 RMODE ANY
GENMOD DSQUEDIT
An example procedure statement specifying parameters is as follows:
DSQUXDT: PROCEDURE(DXEECSF,ECSINPTF,ECSRSLTF) OPTIONS(REENTRANT);[ Previous Page | Next Page | Contents | Index ]