Chapter Contents |
Previous |
Next |
TSO |
Valid: | anywhere |
OS/390 specifics: | all |
Syntax | |
Details | |
TSOEXEC | |
Entering TSO Submode | |
See Also |
Syntax |
TSO <command >; |
Details |
The TSO statement is similar to the TSO (or SYSTEM) CALL routines, the TSO (or X) command, the TSO (or SYSTEM) function, and the %TSO (or %SYSEXEC) macro statement.
SAS executes the TSO statement immediately. Under OS/390, TSO is an alias for the X statement. On other operating environments, the TSO statement has no effect, whereas the X statement is always processed.
You can use the TSO statement to issue most TSO commands or to execute CLISTs or REXX execs. However, you cannot issue the TSO commands LOGON and LOGOFF, and you cannot execute CLISTs that include the TSO ATTN statement.
Note: You cannot use the TSO statement in
a batch job.
tso tsoexec authorized-command ;
For more information, see the IBM document TSO
Extensions Command Reference.
You can also use the TSO statement to go into TSO submode during a SAS session.
To start the submode, place the TSO statement in your
program without specifying any options. (In the windowing environment, enter
TSO submode by issuing
TSO
as a command-line command. See TSO.) When
the statement is executed, SAS goes into TSO submode and prompts you for TSO
commands. Any commands that you enter in TSO submode are processed by TSO;
they are not processed as SAS statements. They can be any length; however,
if the command is longer than one line, you must enter a TSO continuation
symbol.
To return to the SAS session, enter
RETURN
,
END
, or
EXIT
. Any characters that follow the RETURN, END,
or EXIT subcommand are ignored. An END command that occurs within a CLIST
terminates the command procedure without ending the TSO submode.
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.