Table of Contents

Search

  1. Preface
  2. PowerExchange Navigator Introduction
  3. Data Maps
  4. Data Maps for Specific Data Sources
  5. Copybooks
  6. Registration Groups and Capture Registrations
  7. Extraction Groups and Extraction Maps
  8. Personal Metadata
  9. Database Row Test
  10. PowerExchange Navigator Examples
  11. Appendix A: PowerExchange Functions for User-Defined Fields
  12. Appendix B: User Access Method Programs
  13. Appendix C: Application Groups and Applications
  14. Appendix D: Data Map Properties
  15. Appendix E: Record, Field, and Table Properties
  16. Appendix F: DTL__CAPXTIMESTAMP Time Stamps
  17. Appendix G: Trace for Creating a Memory Map When Importing a COBOL Copybook

Navigator User Guide

Navigator User Guide

Record-Level Exit Programs

Record-Level Exit Programs

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.

0 COMMENTS

We’d like to hear from you!