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


ALTLIB command

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

When you implicitly invoke a CLIST or REXX exec, the EXEC command processor, by default, searches system-level libraries allocated to a system file (SYSPROC or SYSEXEC). You can use the ALTLIB command to specify alternative CLIST or REXX exec libraries for implicit execution. This command performs the same function for CLISTs and REXX execs as the LIBDEF command in ISPF performs for panels, messages, tables, skeletons, and load libraries. With ALTLIB, a user or ISPF application can easily activate and deactivate CLIST and REXX exec libraries as the need arises. This flexibility provides a potential performance benefit by reducing the time it takes to search for these libraries.

The ALTLIB command lets you specify alternative libraries on the user, application, and system-level. The user-level includes libraries previously allocated to the SYSUEXEC or SYSUPROC file. The application-level includes libraries specified on the ALTLIB command using the data set or file name. The system-level includes libraries previously allocated to the SYSEXEC or SYSPROC file.

During implicit execution, the EXEC command processor searches the libraries in the following order: user-level, application-level, and system-level. At the application and system-levels, the ALTLIB command uses the virtual lookaside facility (VLF) to provide potential increases in library search speed.

Using various operands on the ALTLIB command, a user or ISPF application can:
  • Define alternative application-level libraries of CLISTs or REXX execs.
  • Activate the search for execs in a library or libraries at the specified level(s), in the order specified.
  • Exclude one or more library levels (user, application, system) from being searched.
  • Reset the search order to the system level only.
  • Obtain a display of the current search order.
For more information about using the ALTLIB command, see z/OS TSO/E Command Reference.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014