Procedures
For any allocated data set:
- Invoke the GETDSAB macro, specifying the name of the desired DD. The system returns the pointer to the DSAB associated with the required TIOT entry. This procedure works only for allocations that did not use the XTIOT or UCB nocapture options of dynamic allocation.
- Use the IHADSAB macro to map the DSAB. Get the word in DSABTIOT. It is at offset 16. It is a pointer to the TIOT entry.
- Use the IEFTIOT1 macro to map the TIOT entry, which begins at TIOELNGH. The first UCB address is the 3-byte field at TIOEFSRT. It is at offset 17.
- Issue the RESERVE macro, specifying the address obtained in step 3 as the parameter of the UCB keyword. Do not code the LOC=ANY option because this UCB address is 24-bit.