You can invoke DEC DATATRIEVE from DCL command level with the DATATRIEVE DCL command. The DCL DATATRIEVE command lets you specify options to customize your DEC DATATRIEVE session. You can abbreviate the DCL DATATRIEVE command to the shortest form that is unique among other DCL commands. The DATATRIEVE command has the following format: DATATRIEVE [qualifier [...]] ["dtr-command-string"]
1 – Qualifiers
The optional qualifiers to the DATATRIEVE command include the following: /INTERFACE /INTERFACE = {DECWINDOWS} {CHARACTER_CELL} Specifies the display interface to be used by DEC DATATRIEVE. If your default environment is the command-line interface, then CHARACTER_CELL is the default. If your system is properly defined to invoke the DEC DATATRIEVE interface to DECwindows Motif, the default is DECWINDOWS. This qualifier overrides the setting specified by the DTR$NOWINDOWS logical. /DEBUG /[NO]DEBUG Specifies whether DEC DATATRIEVE should display special debug messages. The default is NODEBUG. /NO CDD Specifies whether DEC DATATRIEVE should attach to Oracle CDD/Repository or use textfile-based dictionary only. When this qualifier is missing, the DEC DATATRIEVE behaviour depends on the equivalent string of the logical name DTR$ENVIRONMENT: if the equivalent string contains /NOCDD , no attachment to Oracle CDD/Repository occurs. If DTR$ENVIRONMENT is not defined, the DEC DATATRIEVE behaviour depends on the configuration selected at installation time. If Oracle CDD/Repository is linked to DEC DATATRIEVE at installation time its use can dynamically be disabled using the DATATRIEVE SET NO CDD command, which switches to the textfile-based dictionary . /VARIANT /VARIANT = image-suffix Indicates the 1- to 26- character suffix applied to a DEC DATATRIEVE image upon installation to uniquely identify that image. This qualifier is needed only if you invoke a DEC DATATRIEVE image that was not selected as the default image at installation time. The DATATRIEVE command in the following example invokes DTR32FMS.EXE: $ DATATRIEVE/VARIANT=FMS If you want to run DTR32.EXE, and it is not the default image on your system, use the /VARIANT qualifier alone, as in the following example: $ DATATRIEVE/VARIANT
2 – dtr_command_string
The DCL DATATRIEVE command can take a DATATRIEVE command or statement as an argument. This allows you to execute a DATATRIEVE command, statement, or procedure without entering interactive DEC DATATRIEVE. If the dtr-command-string contains more than one word, it must be placed in quotation marks. For example, to invoke the DEC DATATRIEVE procedure REPORT which is located in CDD$TOP.JOB, you would enter DATATRIEVE "EXECUTE CDD$TOP.JOB.REPORT"