LE runtime parm CBLQDA is the answer. If you have CBLQDA(ON), the output file is dynamically allocated. You can check the run options like this
//STEP0100 EXEC PGM=COBPGM,PARM='/RPTOPTS(ON),MSGFILE(CEEDOPT)' //CEEDOPT DD SYSOUT=* Thanks, Kolusu IBM Mainframe Discussion List <[email protected]> wrote on 09/04/2015 11:42:35 AM: > From: Rick Stetser <[email protected]> > To: [email protected] > Date: 09/04/2015 11:42 AM > Subject: Re: cobol sequential write problem > Sent by: IBM Mainframe Discussion List <[email protected]> > > Now that the problem has been fixed it brings up another question > however. If the external name didn't match the DD statement in the > jobs JCL why wouldn't I get an open error? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
