Programming Structure | Teradata FastLoad - Programming Structure - FastLoad

Teradata® FastLoad Reference - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
FastLoad
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-11-17
dita:mapPath
dlf1641281592734.ditamap
dita:ditavalPath
vax1619194969834.ditaval
dita:id
wzs1478610185776
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