There's a policy where I work that they don't allow to use LIKE to allocate a dataset.
eg:
//SYSUT2 DD DSN=dataset2,
// DISP=(,CATLG),
// LIKE=dataset1
// DISP=(,CATLG),
// LIKE=dataset1
Have you experienced some problems with this?
What bad can happen?
I read this page https://www-01.ibm.com/support/knowledg ... ddlike.htm, and I think it's related to this:
"Unless you explicitly code the SPACE parameter for the new data set, the system determines the space to be allocated for the new data set by adding up the space allocated in the first three extents of the model data set. Therefore, the space allocated for the new data set will generally not match the space that was specified for the model data set."
but I didn't understand what it means.
Thank you!