W dniu 07.01.2024 o 21:55, Paul Gilmartin pisze:
On Sun, 7 Jan 2024 21:04:48 +0100, Radoslaw Skorupka wrote:
    ...
I have to admit: I almost never used DCB keyword in JCL and (AFAIR)
absolutely never DCB=HLQ.DATASET.NAME.
When teaching JCL I explain it, but also advice to not using that.
BTW: LIKE=HLQ.FOO-BAR works like a charm.

in <https://www.ibm.com/docs/en/zos/3.1.0?topic=dp-syntax-2>:
     [ DCB= ( {dsname   }[,subparameter]...) ]

Is it possible likewise to override selected subparameters
of LIKE?  Was it so even before the subparameters were allowed
as separare parameters?  (Old habits diehard.)

Yes, yes, and yes.
I always use (and teach) that technique - LIKE says "I want the same, BUT..." and you provide the differences. Of course it is IMHO unacceptable to *partially* support legal DS names in JCL - I mean DCB not accepting HLQ.FOO-BAR.


--
Radoslaw Skorupka
Lodz, Poland

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to