On Mon, 16 Mar 2009 16:01:20 -0500, Paul Gilmartin wrote:

>On Mon, 16 Mar 2009 15:08:48 -0500, Tom Marchant wrote:
>
>>DISPLAY always goes to DDName SYSOUT, which can be a data 
>>set or a spooled data set (SYSOUT=x).
>>
>>The OP has a need for the output to go to a DD that will not contain other
>>information.  It is not uncommon for a program to have multiple distinct
>>output data sets, some of which might be handled by the Job Entry Subsystem.
>>
>The need to send multiple reports to "multiple distinct output data
>sets, some of which might be handled by the Job Entry Subsystem."
>sounds like a strong argument to use "OPEN, WRITE, etc" in preferende
>to "more normal" ways.
>
>("DDName SYSOUT"?  Not SYSPRINT?  Not SYSTERM?  COBOL seems
>to want to be the misfit.  Will it accept an alternate DDNAME
>list as a second PARM?)

Indeed.  It has been a long time since I was a COBOL programmer.

DISPLAY ... UPON ...
UPON can specify SYSOUT, SYSLIST, SYSLST, SYSPUNCH, SYSPCH or CONSOLE.

DISPLAY was not designed as a general purpose file output statement.

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to