15.10 - ElicitFile - Call-Level Interface Version 2

Teradata Call-Level Interface Version 2 Reference for Mainframe-Attached Systems

prodname
Call-Level Interface Version 2
vrm_release
15.10
category
Programming Reference
featnum
B035-2417-035K

Purpose

For MultipartIndicator mode responses, elicits a User Defined Function.

Parcel Data

The following table lists field information for ElicitFile.

 

Flavor

Parcel Body Length

Parcel Body Fields

151

6 to maximum body size

SourceLanguage: 1 byte

 

 

FileType: 1-byte unsigned integer

 

 

FileSupplied: 1 byte

 

 

Pad Byte: 1 byte

 

 

FilenameLength: 2-byte unsigned integer

 

 

Filename: variable number of characters

Usage Notes

SourceLanguage identifies the language in which the User Defined Function is programmed, as one of the following:

 

0 = Not supplied

1 = C

2 = C++

3 = Java

FileType identifies the type of file, chosen as one of the following:

 

0 = Not supplied

1 = A source file

2 = An included file

3 = An object file

FileSupplied identifies what name was supplied for the file, chosen as one of the following

  • 0 = Name without location
  • 1 = Name and location
  • A pad byte (a single, unused byte)
  • FilenameLength specifies the length, in bytes, of the filename.

    Filename specifies the name of the file in characters of the session character set.