17.10 - ElicitFile - Call-Level Interface Version 2

Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems

Product
Call-Level Interface Version 2
Release Number
17.10
Release Date
October 2021
Content Type
Programming Reference
Publication ID
B035-2418-061K
Language
English (United States)

Purpose

For MultipartIndicator mode responses, elicits a User Defined Function.

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.

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