24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CMAND. [CALLI 211]<br />

2B17<br />

1B17<br />

1B12<br />

CM.UN3<br />

CM.UN4<br />

CM.AUT<br />

Command is uniquely identified by the first three<br />

characters.<br />

Command is uniquely identified by the first four<br />

characters.<br />

Command is defined as automatically saving the<br />

job's current context. The command will create a<br />

new context, in which the called program will run.<br />

The original context is restored when the program<br />

terminates.<br />

You can define more than one command by including a command block for<br />

each command, and storing them in contiguous blocks. The last word,<br />

where the next .CMFLA might be expected, must be set to zero.<br />

22.14.2 FUNCTION 1 (.CHADD)<br />

Adds one or more command definitions to the current command list. The<br />

argument block for this function is identical to that used by Function<br />

o (. CMINT) .<br />

22.14.3 FUNCTION 2 (.CMDEL)<br />

Deletes one or more commands from the current list of defined<br />

commands. The argument list for this function is formatted as:<br />

Word<br />

o<br />

1<br />

n<br />

Symbol<br />

.CMSIZ<br />

.CMCMN<br />

Contents<br />

Length of the argument list<br />

Command name to be deleted<br />

More command names.<br />

The length of the argument list is equal to the entire length of the<br />

argument list, including . CMSIZ. .The commands to be deleted are<br />

listed in the following words, and each must be equivalent to the<br />

.CMNAM word where the command was defined (see .CMINT argument list).<br />

Note that commands in the command list that are not listed in the<br />

.CMDEL argument list are not affected by this function.<br />

22.14.4 FUNCTION 3 (.CMLST)<br />

Lists all the currently defined command names.<br />

this function is formatted as:<br />

The argument list for<br />

addr:<br />

length<br />

BLOCK length-1<br />

In the argument list, you supply the following information:<br />

o<br />

a<br />

length is the length of the argument block<br />

length-1 is the number of commands to return.<br />

22-30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!