16.20 - Period-as-struct - Teradata Tools and Utilities

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

prodname
Teradata Tools and Utilities
vrm_release
16.20
created_date
September 2019
category
Programming Reference
featnum
B035-2417-108K

Period-as-struct is a one-byte EBCDIC field that indicates whether to treat Period data types as Structured UDTs in honoring the Transforms-off option and return information about the constituent attributes.

In this language... The variable name for Period-as-struct is...
COBOL PERIOD-AS-STRUCT
PL/I PERIOD_AS_STRUCT
C, C++ periodAsStruct
IBM Assembler DBRIPAS
This routine... Does this for Period-as-struct...
DBCHINI writes.
DBCHCL reads (RSUP; IRQ; IWPF)
Period-as-struct is used by... To...
applications write.

One of the following values may be set before initiating a request:

If... Then set Period-as-struct to...
indicates that Period data types are treated as simple data types. 'N'
  • DBC-NO for COBOL
  • DBC_PERIOD_AS_STRUCT_NO for PL/I
  • DBC_periodAsStructNo for C and C++
  • DBRIPASN for Assembler
indicates that Period data types are treated as Structured UDTs in honoring the Transforms-off option. 'Y'
  • DBC-YES for COBOL
  • DBC_PERIOD_AS_STRUCT_YES for PL/I
  • DBC_periodAsStructYes for C and C++
  • DBRIPASY for Assembler

The default setting is "N".