W dniu 06.01.2024 o 23:59, Paul Gilmartin pisze:
On Sat, 6 Jan 2024 23:14:28 +0100, Radoslaw Skorupka wrote:
    ...
For dataset names the addition is "-". This character can be used in
dataset names with no tricks like name in apostrophes, uncataloged ones,
etc.

But not, in my experience, in a reference to define DCB subparameters such as:
     DCB=HLQ.FOO-BAR    * Syntax error!
<https://www.ibm.com/docs/en/zos/3.1.0?topic=dp-syntax-2>

Is there any plausible reason for that restriction

I hate JCL!

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.


--
Radoslaw Skorupka
Lodz, Poland

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to