Create a record-level exit program in Assembler, C, COBOL, or PL/I to call a user-defined program to process data in a record in a data map before data retrieval.
For example, set up a record-level exit to call a program that decompresses compressed data in a record before data retrieval.
You can define a record-level exit program for a data map that uses any of the following access methods:
DATACOM
DL/1 BATCH
ESDS
IDMS
IMS ODBA
KSDS
MQSERIES
SEQ
TAPE
To define a record-level exit program, specify the attributes of the record-level exit program on the
Record Level Exit
tab in the
Data Map Properties
dialog box. Include the name of the compiled DLL or shared library for the record-level exit program, the calling convention of the program, and parameters to pass to the program. PowerExchange calls the record-level exit program repeatedly to process the data in the record until all of the data is processed.
PowerExchange provides example record-level exit programs with headers files and JCL. These files, named
urle
*
.
*
, are located in the examples directory in the PowerExchange Navigator installation directory. Customize and compile these example programs for your environment.