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

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?
Tzadik Vanderhoof
 
Posts: 21
Joined: Tue Nov 13, 2007 11:53 pm
Has thanked: 0 time
Been thanked: 0 time

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?
CICS Guy
 
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

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.
Tzadik Vanderhoof
 
Posts: 21
Joined: Tue Nov 13, 2007 11:53 pm
Has thanked: 0 time
Been thanked: 0 time

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.
arunprasad.k
 
Posts: 110
Joined: Thu Dec 27, 2007 5:18 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post