adding dynamic allocation to DMCL
search cancel

adding dynamic allocation to DMCL

book

Article ID: 38113

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

Question: 

Is dynamic allocation commonly used in production environments? 

If you are adding new files, would there be any problems adding the new files with dynamic allocation so as to minimize impact to batch jcl? The current files would be JCL defined. 

 

Answer

Yes it is commonly used. You must be careful when using both JCL and DSNames defined in DMCL FILE defs.. 
For example: 
If you actually change dataset names in a DMCL and somebody has a local batch JCL with DD overrides pointing to obsolete files, that would be a big problem. 


The specific scenario client is asking about however is something like this: 

AREA-1 consists of 2 Files and the DD/DSNs are coded in lots of JCL, CV and Batch. 

Now you expand AREA-1 to consist of 4 files. The first two will be the exact same DSNames and the new ones would be added with their DSNames in the DMCL. This way the new files would not need to be added to all of the JCL that accesses the area in question as long as those jobs are using the updated DMCL. 

That will work well.

 

 

Additional Information: 

 

  DATABASE ADMINISTRATION GUIDE 

Environment

Release: IDADSO00100-18.5-ADS-for CA-IDMS
Component: