On z/VSE, there is not a LIKE option in the DLBL card. We must use
IDCAMS DEFINE with MODEL(other file name) to get the same results as LIKE.
Tony Thigpen
Farley, Peter x23353 wrote on 07/10/2018 04:05 PM:
Creating a VSAM cluster may often require IDCAMS DEFINE, but the JCL LIKE
parameter is your friend if for instance you are making a copy of a production
file for a unit test run. Just use the UNIT and SPACE parameters to allocate
space and all else will be copied from the LIKE cluster.
Now if any of the LIKE cluster parameters are incompatible with your immediate
need (REUSE vs NOREUSE perhaps, or LOG parameters for RLS) then you do need
DEFINE, but the JCL DELETE works without an issue that I am aware of.
Peter
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN