Procedures

For any allocated data set:

  1. Invoke the IEFDDSRV macro. You can specify the name of the desired DD, the address of an open DCB or ACB or the address of the DSAB. If you want to support the XTIOT or UCB nocapture option of dynamic allocation (which is recommended), also code LOC=ANY on the macro call. This results in returning a list of the UCB addresses for the DD.
  2. Issue the RESERVE macro, specifying one of the addresses obtained in step 1 as the parameter of the UCB keyword.