Chapter Contents

Previous

Next
Command Directory

exec (CMS)

Execute an EXEC under CMS

ABBREVIATION
exe{c}

FORMAT
exec EXEC-NAME [ARGUMENTS]

DESCRIPTION
The exec command executes the EXEC specified by the argument EXEC-NAME. This file must have file type CDEBUG. The EXEC is executed with a default subcommand environment of CDEBUG. See the IBM publication VM/ESA V2R4.0 REXX/VM Reference SC24-5770 for a detailed explanation of subcommand environments.

You cannot use another debugger command on the same line following exec. If another debugger command occurs on the same line as exec, the debugger ignores it with a warning. Similarly, no other debugger command can be issued on the same line after exec when it is used as an argument to on. You can use another command following exec on a separate line.

ADDITIONAL DISCUSSION AND EXAMPLES
See Return Codes Set by Debugger Commands.

SYSTEM DEPENDENCIES
The exec command followed by an EXEC argument is valid only for CMS. See the TSO version of exec.

COMMAND CAN BE ISSUED FROM

PROFILE yes
configuration file no
Source window prefix none

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

RETURN CODES SET
Successful: code returned from the EXEC
Unsuccessful: parsing error, - 1; otherwise, execopn() code


Chapter Contents

Previous

Next

Top of Page

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