Overview of the dynamic allocation program

The dynamic allocation (DYNALLOC) sample application program makes available to the CICS® terminal operator most of the functions of DYNALLOC (SVC 99). These functions are described fully in the MVS/ESA SPL: Application Development Guide. Functions that require authorized program facility (APF) authorization are not supported.

The application consists of one command-level assembler-language program, DFH99, which is invoked by the transaction ADYN. The source code is provided in CICSTS31.CICS.SDFHSAMP.

Using DYNALLOC functions, the terminal operator can dynamically allocate or deallocate any data set that CICS can open and close. With suitable operating discipline and CEMT commands, these can include:

You should not use the dynamic allocation program to allocate and deallocate data sets that are to be associated with files managed by file control. You should use the dynamic allocation and deallocation facility which is part of CICS. If a file has not been allocated as part of CICS startup, CICS dynamic allocation occurs immediately before the file is opened, if sufficient information is in the file control table. The information needed is the data set name and disposition of the file. This information is set by the CEMT SET FILE master terminal transaction, described in the CICS Supplied Transactions manual, or the EXEC CICS INQUIRE FILE and EXEC CICS SET FILE commands, which provide additional inquiry and control facilities, and which are described in the CICS System Programming Reference manual.

To use the dynamic allocation sample program effectively, the terminal operator should:

The application uses a 3270 display screen terminal, and adjusts its formatting to suit the screen size. BMS is not required. The program is designed so that the installation can easily modify the functions supported to suit installation standards.

Related tasks
Installing the program and transaction definitions
The dynamic allocation program--terminal operation
Using the dynamic allocation program’s Help feature
Related reference
The dynamic allocation program--values
The flow of control when a DYNALLOC request is issued
[[ Contents Previous Page | Next Page Index ]]