Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 73
UPSHIFT Clause
UPSHIFT Clause
The UPSHIFT clause specifies that ASCII characters entered into a field must be
upshifted
.
UPSHIFT Clause Guidelines
The following points are guidelines for using the UPSHIFT clause:
•
Requesters generated by the Pathmaker product translate lowercase characters
entered into this field to uppercase characters; user-written programs must be
coded to enforce UPSHIFT.
•
You cannot use the UPSHIFT clause for numeric or computational fields. If a
definition or description for such a field contains UPSHIFT, DDL sends an error
message and does not enter the definition or record into the dictionary.
•
UPSHIFT can be associated only with elementary items in RECORD or
DEFINITION statements.
•
A field can have a MUST BE clause and an UPSHIFT clause. If these clauses are
used together, the MUST BE string must be upshifted.
•
A field can have both a VALUE clause and an UPSHIFT clause. If these clauses
are used together, you must specify any alphabetic characters in the VALUE
clause as uppercase.
•
An UPSHIFT clause cannot be specified in a definition or record that includes the
REDEFINES clause.
•
If a definition refers to a definition that includes the UPSHIFT clause, the referring
definition inherits the UPSHIFT attribute.
•
You cannot specify the upshift clause for a national data item.
UPSHIFT Clause Example
The following example shows UPSHIFT used in a DEFINITION statement:
DEF name.
02 first PIC X(20)
UPSHIFT .
02 middle PIC X(15)
UPSHIFT .
02 last PIC X(20)
UPSHIFT .
END
UPSHIFT
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...