Fw: COBOL OUTDD(SYSOUT)
- From: wmklein@xxxxxxxxxxxxx (Bill Klein)
- Date: 31 Jan 2008 12:44:23 -0800
I see nothing at:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG32/2.4.39
that says that you can't have different OUTDD values for different programs
within a single load module (or dynamic call sequence). If you want the
specific DD to be "in" the program, add a
Process Outdd(whatever)
before your identification division of each program that you want to use
"myfile".
"Farley, Peter x23353" <Peter.Farley@xxxxxxxxxxxxxx> wrote in message
news:<053F2631EC9C584883847C8B4970A22867F870@xxxxxxxxxxxxxxxxxxxxxxxxxxx>...
Radoslaw,like this:
In your JCL PARM specify the LE runtime option MSGFILE(yourdd), for COBOL
enclave to use different OUTDD/MSGFILE names. I also don't believe that the
//STEP01 EXEC PGM=yourcobolprogram,PARM='yourpgmparms/MSGFILE(NEWOUTDD)'
//NEWOUTDD DD SYSOUT=*
I don't believe there is a way for different COBOL programs in the same LE
name can be dynamically changed, but I could be mistaken about that. You'd
need to check the available LE callable functions to see if there are any to
do that (LE Language Reference and/or Programming Guide).
HTH
Peter
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@xxxxxxxxxxx] On
Behalf Of R.S.
Sent: Thursday, January 31, 2008 11:39 AM
To: IBM-MAIN@xxxxxxxxxxx
Subject: COBOL OUTDD(SYSOUT)
The compiler option default is OUTDD(SYSOUT).
Q1: Is there corresponding runtime option?
Q2: Can I specify other ddname for the above in COBOL program ?
--
Radoslaw Skorupka
Lodz, Poland
--
BRE Bank SA
ul. Senatorska 18
00-950 Warszawa
www.brebank.pl
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.
- Follow-Ups:
- Re: COBOL OUTDD(SYSOUT)
- From: Farley, Peter x23353
- Re: COBOL OUTDD(SYSOUT)
- Prev by Date: Re: Data Erasure Products
- Next by Date: Re: New Opcodes
- Previous by thread: Re: COBOL OUTDD(SYSOUT)
- Next by thread: Re: COBOL OUTDD(SYSOUT)
- Index(es):
Relevant Pages
|