Author:
Robert Sample
Subject: Reply to: IDCAMS RENAMING VSAM FILE ALONG WITH ALTERNATE INDEX
Posted: Wed Apr 18, 2018 1:08 am (GMT 5.5)
Quote: |
Is there any way to rename Vsam cluster along with Alternate index and Path dataset without mentioning their names in JCL ? |
It is not at all clear what you are asking, since the JCL you posted does not have any names in the JCL -- they are parameters to ADRDSSU, which is not JCL (just as SORT commands are not JCL).
From the manual (emphasis added by me):Quote: |
z/OS DFSMSdss Storage Administration
SC23-6868-01
>>-+--------+--------------------------------------------------><
'-SPHERE-'
SPHERE specifies that, for any VSAM cluster copied, all associated AIX® clusters and paths are to be copied. Individual names of sphere components do not need to be specified. Only the base cluster name is required. If output volumes are specified, the volumes on which the AIX clusters reside do not need to be specified. |
So assuming you are asking about the ADRDSSU parameters, the answer is that with SPHERE only the base cluster name is required.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth