Re: Abend Statement at wrong offset
Posted: Tue Oct 30, 2012 12:15 pm
Hi Guys,
OK Billyboyo you are right.. The SOC4 wasn't from the SSRANGE Check. The default compile here is with SSRANGE off, so I needed to compile again with it on.
The issue was within the logic module "Y2CCS507" which does some date manipulation stuff.
I don't perform it, but obviously somewhere else it is called before my code.
It is a standard copybook included in all the programs here.
I removed it and my forced subscript error is now what the abend catches. And is showing the correct line of the statement number.
IGZ0006S The reference to table AMBS-WS-FILE-NAME-CHAR by verb number 01 on lin
region of the table.
From compile unit XMLTST at entry point XMLTST at statement 1390 at co
offset +000013BA at address 1A601C6A.
Code where PMT cycle is max 8:
001389 MOVE 10 TO AMBS-PMT-CYCLE-DUE
001390 MOVE AMBS-WS-FILE-NAME-CHAR(AMBS-PMT-CYCLE-DUE)
001391 TO AMBS-WS-FILE-NAME-C
Thanks for the help everyone.
I think I need to cleanup a lot of these programs and remove some of the dead code that is not needed!
OK Billyboyo you are right.. The SOC4 wasn't from the SSRANGE Check. The default compile here is with SSRANGE off, so I needed to compile again with it on.
The issue was within the logic module "Y2CCS507" which does some date manipulation stuff.
I don't perform it, but obviously somewhere else it is called before my code.
It is a standard copybook included in all the programs here.
I removed it and my forced subscript error is now what the abend catches. And is showing the correct line of the statement number.
IGZ0006S The reference to table AMBS-WS-FILE-NAME-CHAR by verb number 01 on lin
region of the table.
From compile unit XMLTST at entry point XMLTST at statement 1390 at co
offset +000013BA at address 1A601C6A.
Code where PMT cycle is max 8:
001389 MOVE 10 TO AMBS-PMT-CYCLE-DUE
001390 MOVE AMBS-WS-FILE-NAME-CHAR(AMBS-PMT-CYCLE-DUE)
001391 TO AMBS-WS-FILE-NAME-C
Thanks for the help everyone.
I think I need to cleanup a lot of these programs and remove some of the dead code that is not needed!