Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Parameter

Syntax Rules

Usage Notes

Example

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

 The QUERY_HEADER field attribute clause provides  a  label  that  VAX
 DATATRIEVE  uses  as  a column heading for the field in printouts and
 reports.

Additional information available:

ParameterSyntax RulesUsage NotesExample

Parameter

 dtrqh_quoted_string

      The VAX DATATRIEVE query header.

Syntax Rules

  o  The quoted string must be a valid VAX  DATATRIEVE  query  header.
     The  CDDL  compiler  does not check the quoted string for correct
     syntax.

  o  Quoted strings must be separated from each other by a space, tab,
     or comma.


Usage Notes

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

  o  If you specify more than one quoted string, VAX DATATRIEVE stacks
     them.  Use multiple quoted strings to specify long query headers.

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


Example

 In the following example, the QUERY_HEADER clause specifies that  VAX
 DATATRIEVE  use  TOTAL  PRICE  as  the  column  header  for the field
 TOTAL_PRICE.

 TOTAL_PRICE             DATATYPE IS VIRTUAL FIELD
                         COMPUTED BY DTR AS
                             "UNIT_PRICE * QUANTITY"
                         QUERY_HEADER FOR DTR IS "TOTAL PRICE".

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