Use the OSCMD() function to issue the specified text as a console operator command.
The OSCMD() function has this syntax:
result = OSCMD(text,[console])
The OSCMD() function takes these arguments:
Null string (or error text).
Text to be issued as a console operator command.
Console where the command is to be executed.
Default: The command is routed through ISERVE's subsystem console (if available). Otherwise, the command is issued through the master console.
Returned information only indicates that the command has been accepted by the system for processing (processing may consist of determining that the command is invalid). No information is returned indicating the success or failure of the passed command.
The OSCMD() function produces these return codes:
ARG n MISSING OR INVALID
Example
x = oscmd('d a,l',0) /* The command is issued using console 0.*/
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |