# DICTIONARY Data Dictionary Access

> Source: https://manual.pvxplus.com/directives/dictionary

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:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| **DOM**=*stmtref* \| Missing record transfer \|<br>\| **END**=*stmtref* \| End-of-File transfer \|<br>\| **ERR**=*stmtref* \| Error transfer \|<br>\| **IND**=*num* \| Field number<br>\<0<br>For external key<br>\>0<br>For internal fields<br>=0<br>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.
