Directives 

DICTIONARY

Data Dictionary Access

Restricted!
Use of the DICTIONARY directive is reserved exclusively for PVX Plus Technologies' data dictionary utilities. Its use is beyond the scope of this document, and its syntax is provided on this page for completeness only.

Formats

1.

Read:

DICTIONARY READ (chan,fileopt)varlist

2.

Write:

DICTIONARY WRITE (chan,fileopt)varlist

3.

Write Record:

DICTIONARY WRITE RECORD (chan,fileopt)varlist

4.

Remove:

DICTIONARY REMOVE (chan,fileopt)

Where:

chan

Channel or logical file number of file containing the data dictionary to access.

fileopt

File options. Supported options for DICTIONARY include:

DOM=stmtref

Missing record transfer

END=stmtref

End-of-File transfer

ERR=stmtref

Error transfer

IND=num

Field number

<0

For external key

>0

For internal fields

=0

File information record

varlist

Comma-separated list of variables and/or literals.

Description

The DICTIONARY directive allows the system utilities to access and maintain the internal PxPlus data dictionary portions of the PxPlus databases. It is primarily used within various data dictionary programs to maintain the dictionary information on the files.

The DICTIONARY WRITE RECORD format is used to write a complete dictionary record to a file as opposed to writing multiple fields.