Fw: COBOL OUTDD(SYSOUT)



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,

In your JCL PARM specify the LE runtime option MSGFILE(yourdd), for COBOL
like this:

//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
enclave to use different OUTDD/MSGFILE names. I also don't believe that the
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
.



Relevant Pages

  • COBOL/Oracle 7.3 -> 9.2 migration problems
    ... We are migrating to Oracle 9.2 from 7.3 and the COBOL programs are not ... behaving the same. ... The old programs (.exe) that accessed 7.3 can ... not in the same sequence as the old program...one is in ASCII sequence, ...
    (comp.lang.cobol)
  • Re: hello world doesnt work
    ... Standard ANS'85 Cobol programs are laid out as follows: ... Columns 1-6 Sequence number, may be left blank ... Column 7 Indicator column, ... OpenCobol does not. ...
    (comp.lang.cobol)
  • Re: hello world doesnt work
    ... >> Standard ANS'85 Cobol programs are laid out as follows: ... >> Columns 1-6 Sequence number, ... IDENTIFICATION DIVISION. ...
    (comp.lang.cobol)