[an error occurred while processing this directive]
![]() |
![]() HP OpenVMS Systems Documentation |
![]() |
HP OpenVMS DCL Dictionary
DECK
Marks the beginning of an input stream for a command or program. FormatDECK DescriptionThe DECK command marks the data that follows it as input for a command or program. The DECK command can be used only after a request to execute a command or program that requires input data. Qualifier
|
#1 |
---|
|
In this example, the Fortran and LINK commands compile and link program A. When the program is run, any data the program reads from the logical device SYS$INPUT is read from the command stream. The DECK command indicates that the input stream can contain dollar signs in column 1 of the record. The EOD command signals end-of-file (EOF) for the data.
#2 |
---|
|
The CREATE command in this example creates the command procedure file TEST.COM from lines entered into the input stream. The DECK/DOLLARS command indicates that the percent sign (%) is the EOF indicator for the CREATE command. This allows the string $EOD to be read as an input record, signaling the end of the input for the RUN command.
Previous | Next | Contents | Index |