how does the disposition of recovery dataset works ?

Document ID : KB000071359
Last Modified Date : 19/02/2018
Show Technical Document Details
Question:
Did you know that the recovery analysis using RC/Migrator for DB2 for z/OS (RCM) allocates the dataset for DDNAME RCVRFILE with DISP 'OLD' for exclusive use, when you use a partitioned dataset with 'Data set name type is PDS'. This restricts writing multiple members to a PDS at the same time.

SYMPTOMS:                                                                   
.ALLOC FI(RCVRFILE) +                                                      
  DA('PDS dataset name(member name)') OLD                                 
 
Answer:
In order to circumvent the problem, you need to use partitioned data set extended (PDSE) and RCM will generate disposition (SHR). If you use a partitioned dataset with 'Data set name type is PDS' then RCM will generate disposition (OLD). please create a Partitioned dataset with 'data set name type = 'PDSE'

SYMPTOMS:                                                                   
.ALLOC FI(RCVRFILE) +                                                      
  DA('PDSE dataset name(member name)') SHR