SYSOUR instead of SYSOUT in COBOL

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS
Tzadik Vanderhoof
Posts: 21
Joined: Tue Nov 13, 2007 11:53 pm
Skillset: I received an email that i have been registered and approved but the username and password you sent me are not working. I tried to find a way to contact you but I was not able to, and the email says "donotreply".
Referer: web search

SYSOUR instead of SYSOUT in COBOL

Postby Tzadik Vanderhoof » Tue Dec 04, 2007 5:06 am

Why does COBOL use SYSOUR for DISPLAY output instead of SYSOUT?

CICS Guy
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am

Re: SYSOUR

Postby CICS Guy » Tue Dec 04, 2007 9:54 am

That's a good one, my COBOL displays go to SYSOUT......
Do you have a SUSOUT defined in the JCL?

Tzadik Vanderhoof
Posts: 21
Joined: Tue Nov 13, 2007 11:53 pm
Skillset: I received an email that i have been registered and approved but the username and password you sent me are not working. I tried to find a way to contact you but I was not able to, and the email says "donotreply".
Referer: web search

Re: SYSOUR

Postby Tzadik Vanderhoof » Tue Dec 04, 2007 9:18 pm

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.

arunprasad.k
Posts: 110
Joined: Thu Dec 27, 2007 5:18 pm
Skillset: Known little stuffs to answer a few queries!!
Referer: Google
Contact:

Re: SYSOUR

Postby arunprasad.k » Fri Jan 04, 2008 1:15 am

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.