Chapter Contents

Previous

Next
Command Directory

%

Execute a CLIST or an EXEC (OS/390 only)

ABBREVIATION
none

FORMAT
% CLIST-NAME|EXEC-NAME [ARGUMENTS]

DESCRIPTION
The % command executes a CLIST or a REXX EXEC specified by the CLIST-NAME or EXEC-NAME argument. CLIST-NAME or EXEC-NAME is the name of a member in a partitioned data set containing command procedures (CLISTs) or a REXX EXEC. For CLISTs this data set must be allocated to the DDname SYSPROC. EXECs can be allocated to either SYSPROC or SYSEXEC. When you use the % command, the TSO EXEC command is issued and SYSEXEC and SYSPROC are searched. SYSEXEC can contain only EXECs; however, SYSPROC can contain either EXECs or CLISTs.

The CLIST specified by CLIST-NAME can contain CLIST statements or SAS/C Debugger commands or both. Similarly, the REXX EXEC specified by EXEC-NAME can contain REXX statements or SAS/C Debugger commands or both.

ARGUMENTS are any arguments that you need to pass to the CLIST or EXEC.

You cannot use another debugger command on the same line following the % command. The rest of the line following the % command is passed to the CLIST or EXEC as arguments. However, a command can precede % on the same line.

Similarly, no other debugger command can be issued on the same line after a % command that is used as an argument to the on command. Any command on the same line after the % is ignored.

See the IBM publication OS/390 V2R9.0 TSO/E Command Reference SC28-1969 for a discussion of CLISTs. See the IBM publication OS/390 V2R9.0 TSO/E REXX User's Guide SC28-1974 for information about REXX EXECs.

ADDITIONAL DISCUSSION
Debugger PROFILEs, Configuration Files, and EXECs

SYSTEM DEPENDENCIES
The % command is valid for OS/390 only.

COMMAND CAN BE ISSUED FROM

PROFILE yes
configuration file no
Source window prefix none

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

RETURN CODES SET
Successful: code set by CLIST or EXEC called
Unsuccessful: parsing error, 1; otherwise,
execopn() code

SEE ALSO
escape


Chapter Contents

Previous

Next

Top of Page

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