Programming Structure | Teradata FastLoad - Programming Structure - FastLoad

Teradata® FastLoad Reference

Product
FastLoad
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-18
dita:mapPath
ije1544831946874.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2411
lifecycle
previous
Product Category
Teradata Tools and Utilities

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