Hi,
When I try executing an IMS-COBOL program, the job abends with S0C1.
Program Details:
I have 4 programs in the setup as below.
p800(main program) - IMS
p810(sub module called by p800)
p820(sub module called by p800)
p830(sub module called by p810 and p820)
Note: all these programs were written using COBOL-I and we are using the same COBOL-I compiler to compile the programs now.
Compilation details:
Firstly i compile the submodules. All compilations end with RC=4. Secondly i compile the main module by including the references to the submodules. This compilation ends with RC=0.
PARMS in Compilation step:
PARM('NOADV,DUMP,MAP,LIST',
'NODYNAM,SXREF,DTECT,NOSTA,NOFLO,NOSYM,NOTRU',
'BUF=1024K','SIZE=2048K')
Options I use in LINK-EDIT step:
LPARM='LIST,AMODE=24,RMODE=24'
Now when i run the test setup using the load module of the main program, the jobs abends with S0C1.
I doubt there is some mistake with the options i use in LINK-EDIT in the compilation JCL.
Any help,suggestion is much appreciated.
Many thanks,
Karthick