22.8 NAME FOR BASIC Clause
BASIC supports the CDDL and CDO field attribute clause
NAME FOR BASIC.
The field attribute clause NAME FOR BASIC declares a
facility-specific name for a field. For example:
name for basic is "subject_name$"
When you assign a name using the NAME FOR BASIC
clause in a CDDL or CDO data definition, BASIC recognizes
only this name when you refer to the field. Note that when
you use the NAME FOR BASIC clause, you can place dol-
lar sign ( $ ) and percent sign ( % ) suffixes in your RECORD
statement field names.
The following example is a CDDL data definition containing
the NAME FOR BASIC clause and the corresponding BASIC
RECORD statement.
CDDL Definition
EXAMPLE: Click to display example.
Translated RECORD Statement
EXAMPLE: Click to display example.
Caution
For more information about the CDDL NAME FOR BASIC
field attribute clause, see the CDD/Repository documentation.