15.10 - Period-as-Struct - 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

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

PERIOD‑AS‑STRUCT

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'

  • DBRIPASN for Assembler
  • DBC_periodAsStructNo for C
  • DBC‑NO for COBOL
  • DBC_PERIOD_AS_STRUCT_NO for PL/I
  • indicates that Period data types are treated as Structured UDTs in honoring the Transforms‑off option.

    'Y'

  • DBRIPASY for Assembler
  • DBC_periodAsStructYes for C
  • DBC‑YES for COBOL
  • DBC_PERIOD_AS_STRUCT_YES for PL/I
  • The default setting is "N".