z/OS TSO/E General Information
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Programming services

z/OS TSO/E General Information
SA32-0979-00

TSO/E provides many services that you can use in system or application programs to perform various tasks. These services consist of programs, macros, and CLISTs.

TSO/E services support a wide range of functions that are useful in writing system programs as well as application programs that exploit the full-screen capabilities of TSO/E.

The following table describes the tasks you can perform and the service(s) that support the task. For complete information about how to use these services, see z/OS TSO/E Programming Services.

Task Service
Check the syntax of subcommand names Command scan service routine
Check the syntax of command and subcommand operands Parse service routine
Control terminal functions and attributes, such as full-screen mode and terminal line size Terminal control macro instructions
Process terminal I/O and issue messages
  • BSAM and QSAM macro instructions
  • TSO/E I/O service routines
  • TGET/TPUT/TPG
  • TSO/E message handling routine
Retrieve system messages that are issued during a console session GETMSG service
Cause the system to recognize and schedule an attention exit that receives control when an attention interruption occurs STAX service routine
Process a CLIST's attention routine when an attention interruption occurs CLIST attention facility
Obtain a list of data set names that match specified criteria ICQGCL00
Ensure that a specified data set has adequate free space for additional data Space management CLIST
Create or delete alternative library environments and modify alternative library definitions for CLIST and REXX libraries Alternative library interface routine
Allocate, free, concatenate, and deconcatenate data sets during program execution Dynamic allocation interface routine
Retrieve information from the system catalog, such as data set name, index name, control volume address or volume ID Catalog information routine
Construct a fully-qualified data set name when a partially-qualified name is entered by a terminal user Default service routine
Analyze return codes from dynamic allocation or DAIR and issue appropriate error messages DAIRFAIL routine
Analyze VSAM macro instruction failures, subsystem request failures, parse service routine or PUTLINE failures, and ABEND codes, and issue an appropriate error message GNRLFAIL/VSAMFAIL routine
Determine if a command or program is authorized; determine if a command is not supported in the background Table look-up service
Invoke commands, CLISTs, REXX execs and other programs
Note: Unauthorized programs can use the TSO/E service facility to invoke APF-authorized functions.
TSO/E service facility
Establish a TSO/E environment outside of the TSO/E TMP TSO/E environment service
Create, update, and return the values of CLIST and REXX variables Variable access routine
Retrieve information from the Information Center Facility's names directory, such as phone numbers, user IDs, and addresses for specified names ICQCAL00 program
Display lists of printers for users to select and to print data sets on selected printers Printer support CLISTs
Invoke Information Center Facility applications Application invocation function (ICQAMLIO)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014