Re: COBOL OUTDD(SYSOUT)
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:[EMAIL PROTECTED] On Behalf Of R.S. Sent: Thursday, January 31, 2008 11:39 AM To: IBM-MAIN@BAMA.UA.EDU 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 Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców KRS 025237 NIP: 526-021-50-88 Według stanu na dzień 01.01.2007 r. kapitał zakładowy BRE Banku SA (w całości opłacony) wynosi 118.064.140 zł. W związku z realizacją warunkowego podwyższenia kapitału zakładowego, na podstawie uchwał XVI WZ z dnia 21.05.2003 r., kapitał zakładowy BRE Banku SA może ulec podwyższeniu do kwoty 118.760.528 zł. Akcje w podwyższonym kapitale zakładowym będą w całości opłacone. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html 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 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
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 Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców KRS 025237 NIP: 526-021-50-88 Według stanu na dzień 01.01.2007 r. kapitał zakładowy BRE Banku SA (w całości opłacony) wynosi 118.064.140 zł. W związku z realizacją warunkowego podwyższenia kapitału zakładowego, na podstawie uchwał XVI WZ z dnia 21.05.2003 r., kapitał zakładowy BRE Banku SA może ulec podwyższeniu do kwoty 118.760.528 zł. Akcje w podwyższonym kapitale zakładowym będą w całości opłacone. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
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 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... 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:[EMAIL PROTECTED] On Behalf Of R.S. Sent: Thursday, January 31, 2008 11:39 AM To: IBM-MAIN@BAMA.UA.EDU 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 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: COBOL OUTDD(SYSOUT)
I stand corrected. OUTDD and MSGFILE are not related at all, and indeed there seems to be no prohibition nor error in specifying different OUTDD ddnames for different COBOL programs in the same enclave. I just tested a simple main program and subprogram with different OUTDD values at compile time and unique DISPLAY statements, and both DD's were properly written to, and the LE MSGFILE output (via PARM='/RPTOPTS(ON),MSGFILE(CEEMSG)') went to a third DD, with no affect on the COBOL OUTDD's at all. Ya learn somthin' new every day... Ain't it grand? Thanks. Peter -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Bill Klein Sent: Thursday, January 31, 2008 3:44 PM To: IBM-MAIN@BAMA.UA.EDU Subject: 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. 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 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html