proc = SYSVAR(sysproc)
The SYSVAR function can be used only in REXX execs that run in the TSO/E
address space.
Many of the SYSVAR arguments retrieve the same information as do CLIST control
variables. The following tables divide the argument values into categories pertaining
to user, terminal, language, exec, system, and console session information.
User Information
Argument Value
Description
SYSPREF
Prefix as defined in user profile
SYSPROC
SYSPROC returns the current procedure name (either the
LOGON procedure name, the Started Task procedure name,
or ’INIT’ for a batch job). For more information, see
SYSUID
User ID of current session
Terminal Information
Argument Value
Description
SYSLTERM
Number of lines available on screen
SYSWTERM
Width of screen
Language Information
Argument Value
Description
SYSPLANG
Primary language for translated messages
SYSSLANG
Secondary language for translated messages
SYSDTERM
Whether DBCS is supported for this terminal
SYSKTERM
Whether Katakana is supported for this terminal
Exec Information
Argument Value
Description
SYSENV
Whether exec is running in foreground or background
SYSICMD
Name by which exec was implicitly invoked
SYSISPF
Whether ISPF is available for exec
SYSNEST
Whether exec was invoked from another exec or CLIST.
Invocation could be implicit or explicit.
SYSPCMD
Name of most recently executed command
SYSSCMD
Name of most recently executed subcommand
System Information
Argument Value
Description
SYSCPU
Number of CPU seconds used during session in the form:
seconds.hundredths of seconds
TSO/E External Functions
128
z/OS V1R1.0 TSO/E REXX User’s Guide
Summary of Contents for TSO/E REXX
Page 1: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Page 2: ......
Page 3: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Page 10: ...viii z OS V1R1 0 TSO E REXX User s Guide ...
Page 12: ...x z OS V1R1 0 TSO E REXX User s Guide ...
Page 14: ...xii z OS V1R1 0 TSO E REXX User s Guide ...
Page 18: ...xvi z OS V1R1 0 TSO E REXX User s Guide ...
Page 20: ...2 z OS V1R1 0 TSO E REXX User s Guide ...
Page 58: ...Tracing Expressions with the TRACE Instruction 40 z OS V1R1 0 TSO E REXX User s Guide ...
Page 78: ...60 z OS V1R1 0 TSO E REXX User s Guide ...
Page 86: ...Built In Functions 68 z OS V1R1 0 TSO E REXX User s Guide ...
Page 128: ...Issuing Other Types of Commands from an Exec 110 z OS V1R1 0 TSO E REXX User s Guide ...
Page 136: ...Debugging Execs 118 z OS V1R1 0 TSO E REXX User s Guide ...
Page 170: ...Protecting Elements in the Data Stack 152 z OS V1R1 0 TSO E REXX User s Guide ...
Page 201: ...Part 3 Appendixes Copyright IBM Corp 1988 2001 183 ...
Page 202: ...184 z OS V1R1 0 TSO E REXX User s Guide ...
Page 222: ...Using Variables 204 z OS V1R1 0 TSO E REXX User s Guide ...
Page 226: ...208 z OS V1R1 0 TSO E REXX User s Guide ...
Page 238: ...220 z OS V1R1 0 TSO E REXX User s Guide ...
Page 241: ......