Date Form - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Date Form

Usage Notes

Date Form specifies whether dates are stored in Teradata or ANSI format.

 

Language

Variable Name

COBOL:

DATE‑FORM

C: DBCAREA.H:

date_form

 

Routine

Action Taken

DBCHINI:

writes

DBCHCL:

reads (CON)

 

Used by

Action Taken

application program

writes

Date Form is initialized to the default value provided for Date Form in the site’s CLISPB. If the value is not appropriate for the application, the application, before calling DBCHCL for Connect, may set Change Options to Y and Date Form to one of the following values:

  • D, if dates are stored in default format
  • T, if dates are stored in Teradata format
  • A, if dates are stored in ANSI format.
  • Note: T may always be specified, but A will be rejected if the server does not support ANSI date format.

    It is recommended that mnemonics be used for the codes. Mnemonics are provided in the language definition file for the DBCAREA.