DICTIONARY

From CometWiki

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
== DICTIONARY ==
== DICTIONARY ==
   
   
-
'''Syntax:''' DICTIONARY directory-name <br>  
+
'''Syntax:''' <br> DICTIONARY directory-name <br>  
-
'''Placement:''' Place the DICTIONARY command before the REPORT command and before the INPUT command. <br>  
+
'''Placement:''' <br> Place the DICTIONARY command before the REPORT command and before the INPUT command. <br>  
-
'''Discussion:''' The DICTIONARY command gives the three-character directory name where the data dictionary (#CFILES) is located. <br>
+
'''Discussion:''' <br> The DICTIONARY command gives the three-character directory name where the data dictionary (#CFILES) is located. <br>
This command is optional. <br>If you do not use this command, The Reporter will search through the currently accessed directories (in their accessed order) looking for the first occurence of #CFILES.  
This command is optional. <br>If you do not use this command, The Reporter will search through the currently accessed directories (in their accessed order) looking for the first occurence of #CFILES.  

Latest revision as of 09:09, 6 June 2009

DICTIONARY

Syntax:
DICTIONARY directory-name
Placement:
Place the DICTIONARY command before the REPORT command and before the INPUT command.
Discussion:
The DICTIONARY command gives the three-character directory name where the data dictionary (#CFILES) is located.
This command is optional.
If you do not use this command, The Reporter will search through the currently accessed directories (in their accessed order) looking for the first occurence of #CFILES.

If you work with more than one data dictionary, include the DICTIONARY command in your report to specify which dictionary should be used.

Example:

 100   DICTIONARY DS2
 200   INPUT CUSTOMER
 300   REPORT
 400   ...

In this report, the data dictionary (#CFILES) stored on directory DS2 will be used for this report.
Prior to UTL version 7.04 the dictionary was represented in a file called #FILES.