next up previous 63
Next: The SPAWN Command
Up: Access to DCL
Previous: Access to DCL


The $ Command

The command $ allows any DCL command to be issued from inside ICL. It's form is simply:
    $ dcl_command
where dcl_command is any command we could issue from the DCL $ prompt. For example:

    $ COPY *.DST DATADIR:*.DST
    $ RUN MYPROGRAM
There is one restriction -- we must use a complete DCL command. We couldn't for example, just type $ COPY and let DCL prompt us for the two file specifications as we could from the DCL $ prompt. Apart from this any command acceptable to DCL can be issued in this way.

`DCL' may be used as an alternative to the $ command. Thus the above example could also have been written as:

    DCL COPY *.DST DATADIR:*.DST
    DCL RUN MYPROGRAM


next up previous 63
Next: The SPAWN Command
Up: Access to DCL
Previous: Access to DCL

ICL The Interactive Command Language for ADAM
Starlink Guide 5
J A Bailey
A J Chipperfield

9th June 1998
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council