Page 1 of 1

IBM COBOL Report Writer

PostPosted: Thu Jan 14, 2010 5:30 pm
by Colmn
Hi,
I am trying to compile a COBOL z/OS program which includes REPORT WRITER and continue to get a S0C4 (the code is in production and has not been edited by me, so it isnt due to my... ahem... "cobol skills!". Is there anything that jumps out to why this may be happening... or what I should look for. Could it be to do with the PARMS?

//RWCOMP EXEC PGM=IGYCRCTL,REGION=2048K,
// PARM=('NOSEQ,APOST,OPT,LIB,RENT,NOADV',
// 'TERM,FLAG(W,W),DATA(31),LIST,NOOFFSET,',
// 'EX(INX(''LGSEQ'',RW),PRTX(RW))')

Any help is appreciate,
C

Re: IBM COBOL Report Writer

PostPosted: Thu Jan 14, 2010 6:15 pm
by Robert Sample
COBOL z/OS program
No such thing exists. There is OS/VS COBOL, VS COBOL II, COBOL for MVS & VM, and Enterprise COBOL for z/OS. There is no COBOL z/OS.

Your post is not clear -- are you getting the S0C4 abend during the compile step or executing the program? If it is during the compile, you need to contact IBM about the abend. If it is during the execution of the program, you need to use standard debugging methods (whatever they are at your shop) to find and fix the address issue.