Page 1 of 1

SYSOUR instead of SYSOUT in COBOL

PostPosted: Tue Dec 04, 2007 5:06 am
by Tzadik Vanderhoof
Why does COBOL use SYSOUR for DISPLAY output instead of SYSOUT?

Re: SYSOUR

PostPosted: Tue Dec 04, 2007 9:54 am
by CICS Guy
That's a good one, my COBOL displays go to SYSOUT......
Do you have a SUSOUT defined in the JCL?

Re: SYSOUR

PostPosted: Tue Dec 04, 2007 9:18 pm
by Tzadik Vanderhoof
No, bit even without specifying *ANY* DD's (except STEPLIB) I still get a SYSOUR output file if I do any DISPLAYs. Also, I just remembered that there is a SYSOUT file also, but it comes from COBOL itself ... if there is an ABEND of my compiled program, SYSOUT contains helpful diagnostics, including source line number of the error.

Re: SYSOUR

PostPosted: Fri Jan 04, 2008 1:15 am
by arunprasad.k
Tzadik Vanderhoof,

Check your compiler option, it should have OUTDD(SYSOUR). Remove that and recompile your program and re-run the job.

Default is OUTDD(SYSOUT).

Check this link for more compiler options.

http://publib.boulder.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=/com.ibm.entcobol4.doc/igyc1plc.htm

Arun.