I may be missing something, but if you know at compile-time (when you can set an environment variable) that you want the "output" to go to SYSOUT, why are you using "files" (with OPEN, WRITE, etc) and not just doing a DISPLAY statement? Either that or call CEEMSG.
I think those are "more normal" ways in COBOL to send output to SYSOUT. "David Speake" <[email protected]> wrote in message news:<listserv%[email protected]>... > I have used dynamic allocation via the environmental variables in COBOL. > Thanks to Steve Comstock and others for getting me started. > But I see nothing about SYSOUT and it says a DSN is required. > My need is for a //X DD SYSOUT=(B,SMTP) ---------------------------------------------------------------------- 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

