Programming Structure
Table 14 defines the structure, by programming language, for communicating between Teradata FastLoad and an INMOD or notify exit routines.
Routine Language |
Programming Structure |
C |
struct {
long Status;
long 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
Table 15 shows the 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 |