Oh, and I forgot to say: For a DD * with symbol substitution:
In anything *except* the PARMDD DD statement the " logging-DDname" subparameter
will let you point to a logging DD (usually SYSOUT=*).
In the JCL Reference under DD Statement / SYMBOLS parameter, I find the
Logging is not performed in the following cases:
if logging-DDname is specified on the DD statement which describes an in-stream
data set that is the target on the PARMDD keyword. See PARMDD parameter.
if logging-DDname is specified on the SYSTSIN DD statement which describes
input data for the TMP (Terminal Monitoring Program).
if in-stream data set is opened by one task and then read by a different task.
if data set specified by logging-DDname cannot be successfully opened.
From: Farley, Peter x23353
Sent: Thursday, December 01, 2016 1:58 PM
To: 'IBM Mainframe Discussion List'
Subject: RE: PARMDD
In: z/OS 2.1.0
z/OS MVS Programming: Assembler Services Guide
Conventions for passing information through a parameter list
Program in primary ASC mode
The diagram (I can’t paste that in plain text here) shows a maximum PARM length
of 32760, which matches the PARMDD limit.
I suspect that the storage control block in which the PARMDD is actually held
is probably different from the old 100-byte PARM area, but the method shown to
access it (starting with GPR1) seems to be the same.
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Paul Gilmartin
Sent: Thursday, December 01, 2016 1:47 PM
In: z/OS 2.1.0
z/OS MVS JCL Reference
... To use the information, the processing program must contain
instructions to retrieve the information. ...
For details on the format of the passed information and its retrieval,
see z/OS MVS Programming: Assembler Services Guide.
Does this imply that the "passed information" is not in the venerable
R1 plist and that legacy programs probably won't be able to deal with it?
"Assembler Services Guide" is a pretty broad target. Must I read the whole
thing? The ToC contains no mention of PARMDD.
Hmmm. The description of PARM contains identical language. But the
description of PARMDD would be better if it mentioned the similarity to PARM.
And both might more specifically mention the CALL macro.
ISTR that there's a way to display substitutions performed on sysins with the
SYMBOLS= parameter but I can't find it. However, ISTR also that this is
ineffective for PARMDD. Bummer.
This message and any attachments are intended only for the use of the addressee
and may contain information that is privileged and confidential. If the reader
of the message is not the intended recipient or an authorized representative of
the intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication
in error, please notify us immediately by e-mail and delete the message and any
attachments from your system.
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN