You can allocate UDBs dynamically by using the ALLOCATE command.
Note: For more information about the ALLOCATE command, see the online help.
The UDBs allocated in this manner must be identified to your product as UDBs through use of the UDBCTL command as follows:
UDBCTL OPEN=ddname ID=file_id options
Specifies the data definition (DD) name of the DD card defining the UDB.
Specifies a logical file ID. You can specify ID=* to use the same value for both ddname and file_id.
Specifies any special processing attributes to apply to this UDB.
Dynamically allocated UDBs can be deallocated (using the DEALLOCATE command) after the UDBCTL command has been used to close them.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |