In <https://www.ibm.com/docs/en/zos/2.5.0?topic=sp-syntax-6> I read:

(DD SYMBOLS= parameter)
logging-DDname
    Optional parameter that indicates a valid DD name for the data set to use 
for logging
    results of the symbol substitution. Rules for DD names are described in 
DDNAME
    parameter. 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.

Cases 1, 2, and 4 are easy for the programmer to recognize.  Case 3 is a 
problem.
It can not be determined without knowledge of a program's internal structure.

The section should clearly state:
    Absent specific documentation to the contrary, logging is performed for 
every
    in-stream data set used by an IBM program, utility, or product.

IBM should accept an APAR for any program which uses an in-stream data set
in such a way that logging is not performed and that fact is not documented.

-- gil

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

Reply via email to