EasyManuals Logo

IBM TSO/E REXX User Manual

IBM TSO/E REXX
242 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #137 background imageLoading...
Page #137 background image
Chapter 10. Using TSO/E External Functions
TSO/E External Functions ....................119
Using the GETMSG Function ..................120
Using the LISTDSI Function ..................120
Using the MSG Function ....................122
Using the MVSVAR Function ..................123
Using the OUTTRAP Function ..................123
Using the PROMPT Function ..................124
Using the SETLANG Function ..................125
Using the STORAGE Function..................126
Using the SYSCPUS Function ..................126
Using the SYSDSN Function ..................126
Using the SYSVAR Function ..................127
User Information ......................128
Terminal Information ....................128
Language Information ....................128
Exec Information ......................128
System Information .....................128
Console Session Information .................129
Additional Examples ......................130
Function Packages .......................133
Search Order for Functions ...................134
This chapter shows how to use TSO/E external functions and describes function
packages.
TSO/E External Functions
In addition to the built-in functions, TSO/E provides external functions that you can
use to do specific tasks. Some of these functions perform the same services as
control variables in the CLIST language.
The TSO/E external functions are:
v GETMSG - returns in variables a system message issued during an extended
MCS console session. It also returns in variables associated information about
the message. The function call is replaced by a function code that indicates
whether the call was successful.
v LISTDSI - returns in variables the data set attributes of a specified data set. The
function call is replaced by a function code that indicates whether the call was
successful.
v MSG - controls the display of TSO/E messages. The function returns the
previous setting of MSG.
v MVSVAR - uses specific argument values to return information about MVS,
TSO/E, and the current session.
v OUTTRAP - traps lines of TSO/E command output into a specified series of
variables. The function call returns the variable name specified.
v PROMPT - sets the prompt option on or off for TSO/E interactive commands.
The function returns the previous setting of prompt.
v SETLANG - retrieves and optionally changes the language in which REXX
messages are displayed. The function returns the previous language setting.
v STORAGE - retrieves and optionally changes the value in a storage address.
© Copyright IBM Corp. 1988, 2001 119

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM TSO/E REXX and is the answer not in the manual?

IBM TSO/E REXX Specifications

General IconGeneral
BrandIBM
ModelTSO/E REXX
CategoryComputer Hardware
LanguageEnglish

Related product manuals