15.00 - Programming Structure - FastLoad

Teradata FastLoad Reference

prodname
FastLoad
vrm_release
15.00
category
Programming Reference
featnum
B035-2411-034K

Programming Structure

Table 14 defines the structure, by programming language, for communicating between Teradata FastLoad and an INMOD or notify exit routines.

 

Table 14: Programming Structures for Teradata FastLoad/INMOD Communication 

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.

 

Table 15: 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