Chapter Contents

Previous

Next
Command Directory

system (TSO)

Execute a TSO Command

ABBREVIATION
sy{stem}

FORMAT
system OPERATING-SYSTEM-COMMAND

DESCRIPTION
The system command sends the TSO command specified in the argument OPERATING-SYSTEM-COMMAND to the operating system. The OPERATING-SYSTEM-COMMAND argument can be a single command or a CLIST containing TSO commands. Note that in contrast to the exec command, if the CLIST contains SAS/C Debugger commands, they are not passed to the debugger. Using the debugger system command is equivalent to calling the system function from within a program.

The system command cannot be followed by another debugger command on the same line. That is, the arguments to the system command are assumed to extend to the end of the line, including any semicolons on the line.

EXAMPLE

system listalc status.
invokes the TSO command listalc status

SYSTEM DEPENDENCIES
See the discussion of this command for CMS if you are running the debugger under CMS.

COMMAND CAN BE ISSUED FROM

PROFILE yes
configuration file no
Source window prefix none

SCOPE
The system command is not affected by changes in scope.

RETURN CODES SET
Successful: 0
Unsuccessful: return code from system

SEE ALSO
exec (TSO)


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.