Programming Structure | Teradata FastLoad - 17.10 - Programming Structure - FastLoad

Teradata® FastLoad Reference

Product
FastLoad
Release Number
17.10
Published
June 2021
Last Update
2021-07-01
Content Type
Programming Reference
Publication ID
B035-2411-061K
Language
English (United States)

The following table defines the structure, by programming language, for communicating between Teradata FastLoad and an INMOD or Notify Exit routines.

Programming Structures for Teradata FastLoad/INMOD Communication 
Routine Language Programming Structure
C
struct {
  int Status;
  int RecordLength
  char buffer[32004];
}
COBOL
01 INMOD-RECORD.
   03 RETURN-CODE PIC S9(9) COMP.
   03 RECORD-LENGTH PIC S9(9) COMP.
   03 RECORD-BODY PIC X(32004).

In each structure, the records must be constructed so that the left-to-right order of the data field corresponds to the order of the field names specified in the DEFINE command.

Routine Entry Points

The following table shows the entry points for INMOD routines.

Entry Points for INMOD Routines 
Routine Language Entry Point
IBM C on z/OS platforms dynamn
C on all supported workstation platforms BLKEXIT
COBOL and PL/I BLKEXIT