Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Parameter

Syntax Rules

Usage Note

Example

CDD/Plus Dictionary Data Definition Language Utility EDIT_STRING — VMS CDD+_4.1A

 The EDIT_STRING field attribute clause provides  a  format  that  VAX
 DATATRIEVE follows when displaying a field's value.

Additional information available:

ParameterSyntax RulesUsage NoteExample

Parameter

 dtres_quoted_string

      A VAX DATATRIEVE edit string.

Syntax Rules

  o  The edit string  must  be  a  valid  VAX  DATATRIEVE  expression.
     However,  the  CDDL compiler does not check the quoted string for
     correct syntax.

  o  You can use 8-bit characters in CDDL quoted strings.


Usage Note

 Only VAX DATATRIEVE supports the EDIT_STRING clause.  Other  language
 processors ignore it.

Example

 In the following example,  VAX  DATATRIEVE  displays  the  TRANS_DATE
 field   as   a   series  of  three  2-digit  numbers  in  the  format
 month/day/year.

 TRANSACTION STRUCTURE    OCCURS 1 TO 99 TIMES
                          DEPENDING ON TRANSACTION_COUNT.
     TRANS_DATE           DATATYPE IS DATE
                          EDIT_STRING FOR DATATRIEVE
                          IS "MM/DD/YY".
     ORDER_NUMBER         DATATYPE IS UNSIGNED NUMERIC
                          SIZE IS 10 DIGITS.
     AMOUNT               DATATYPE IS UNSIGNED NUMERIC
                          SIZE IS 8 DIGITS 2 FRACTIONS
                          INITIAL VALUE IS 0.
 END TRANSACTION STRUCTURE.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026