next up previous 63
Next: DEFSTRING
Up: ICL Commands
Previous: DEFPROC


DEFSHARE

DEFSHARE command image [action]

Define a command which issues an OBEYW to an ADAM shareable image monolith

command
- The command to be defined. An abbreviation may be specified in the form COM(MAND) where COM is the minimum acceptable abbreviation.

image
- The logical name of the shareable image monolith which will execute the OBEYW.

action
- (optional) The action to be executed. If omitted it defaults to command.

Once a command has been defined with DEFSHARE then
    ICL> command . . .
is equivalent to typing
    ICL> OBEYW taskname action . . .
with any parameters of command being appended to the OBEYW as the VALUE string sent to the task. The task must be linked into a shareable image monolith rather than a normal executable task.



next up previous 63
Next: DEFSTRING
Up: ICL Commands
Previous: DEFPROC

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