Date Form - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

Date Form is a one-byte field that specifies whether dates are stored in Teradata or ANSI format. When Date‑Form 'A' is specified, Connect‑type 'C' must also be specified.

 

In this language...

The variable name for Date Form is...

COBOL

DATE‑FORM

PL/I

DATE_FORM

C

date_form

IBM Assembler

DBCNIDF

 

This routine...

Takes the action for Date Form...

DBCHINI

writes

DBCHCL

reads (CON)

 

Date Form is used by...

To...

applications

write

Date Form is initialized to the default value provided for Date Form in the site‘s HSHSPB. If the value is not appropriate for an application, the application may, before calling DBCHCL for Connect, change the values as follows:

1 Set Change Options to ‘Y‘.

2 Change the value for Date Form as follows:

 

If...

Then change the value for Date Form to...

dates are stored using the default setting for the user (if such a default is associated with the user) or for the server

D

date are stored in Teradata format

T

dates are stored in ANSI format

A

Note: T may always be specified, but A is rejected if the server does not support ANSI date formats.

Use mnemonics for the codes. Mnemonics are provided in the language definition file for the DBCAREA.