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
. . . . . . . . . . . . . . . . . . . . . . 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
Содержание TSO/E REXX
Страница 1: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Страница 2: ......
Страница 3: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Страница 10: ...viii z OS V1R1 0 TSO E REXX User s Guide ...
Страница 12: ...x z OS V1R1 0 TSO E REXX User s Guide ...
Страница 14: ...xii z OS V1R1 0 TSO E REXX User s Guide ...
Страница 18: ...xvi z OS V1R1 0 TSO E REXX User s Guide ...
Страница 20: ...2 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 58: ...Tracing Expressions with the TRACE Instruction 40 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 78: ...60 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 86: ...Built In Functions 68 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 128: ...Issuing Other Types of Commands from an Exec 110 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 136: ...Debugging Execs 118 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 170: ...Protecting Elements in the Data Stack 152 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 201: ...Part 3 Appendixes Copyright IBM Corp 1988 2001 183 ...
Страница 202: ...184 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 222: ...Using Variables 204 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 226: ...208 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 238: ...220 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 241: ......