z/OS TSO/E Programming Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Functions of the Dynamic Allocation Interface Routine

z/OS TSO/E Programming Services
SA32-0973-00

Dynamic allocation routines allocate, free, concatenate, and deconcatenate data sets dynamically, that is, during problem program execution. In the TSO/E environment, dynamic allocation permits the terminal monitor program, Command Processors, and other problem programs executing in the foreground region to allocate data sets after LOGON and free them before LOGOFF.

Programs that execute in the TSO/E environment can access dynamic allocation directly, using SVC 99, or through the dynamic allocation interface routine (DAIR). Though its use is not suggested because of reduced functions and additional system overhead, DAIR is documented in this book to provide compatibility for existing programs that use it. DAIR can be used to obtain information about a data set and, if necessary, invoke dynamic allocation routines to perform the requested function.

You can use DAIR to perform the following functions:
  • Obtain the current status of a data set
  • Allocate a data set
  • Free a data set
  • Concatenate data sets
  • Deconcatenate data sets
  • Build a list of attributes (DCB parameters) to be assigned to data sets
  • Delete a list of attributes.

For a complete discussion of dynamic allocation, see z/OS MVS Programming: Authorized Assembler Services Guide.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014