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.
Yes it is commonly used. You must be careful when using both JCL and DSNames defined in DMCL FILE defs..
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.
DATABASE ADMINISTRATION GUIDE
Release: IDADSO00100-18.5-ADS-for CA-IDMS