Janice Rank
2004-10-27 17:10:47 UTC
Listers,
We are working on creating dynamically called subroutines in our VSE 2.6.2
guest sharing environment for the first time. We have the process working
fine in batch, but when we try to use it in our CICS/TS 1.1.1 region, we
keep getting an 0C4/AKEA displaying on the console and an ASRA abend returns
from the program. We know it is abending sometime during the call by using
CEDF to step through the programs.
Right now we have a test program that is pared down to the bare minimum of a
working storage field for the dynamic subroutine name, a text field for
display, a linkage section parm list for the data being passed to and
returned from the sub-routine (currently no data being passed and only a
text field being returned), and a procedure division that consists of
EXEC CICS SEND TEXT FROM (START-CALL-LINE)
LENGTH (150)
FREEKB
ERASE
END-EXEC.
MOVE 'TST05OL' TO DYNAMPGM-SUBROUTINE
CALL DYNAMPGM-SUBROUTINE USING CALL-PASS-PARM-AREA
EXEC CICS SEND TEXT FROM (CALL-PASS-PARM-AREA)
LENGTH (150)
FREEKB
ERASE
END-EXEC.
All the subroutine does is move the text 'LOAD OUTPUT DATA' to the
CALL-PASS-PARM-AREA and returns to the calling program using a GOBACK.
We are compiling both the calling program and the subroutine with the
NODYNAM option per the instructions in the CICS Application Programming
manual. Can anyone give us any clues as to what is causing us to get the
program check and abend?
Thanks,
Jan Rank
DBA
Mutual Protective Insurance Company
***@mutualprotective.com
We are working on creating dynamically called subroutines in our VSE 2.6.2
guest sharing environment for the first time. We have the process working
fine in batch, but when we try to use it in our CICS/TS 1.1.1 region, we
keep getting an 0C4/AKEA displaying on the console and an ASRA abend returns
from the program. We know it is abending sometime during the call by using
CEDF to step through the programs.
Right now we have a test program that is pared down to the bare minimum of a
working storage field for the dynamic subroutine name, a text field for
display, a linkage section parm list for the data being passed to and
returned from the sub-routine (currently no data being passed and only a
text field being returned), and a procedure division that consists of
EXEC CICS SEND TEXT FROM (START-CALL-LINE)
LENGTH (150)
FREEKB
ERASE
END-EXEC.
MOVE 'TST05OL' TO DYNAMPGM-SUBROUTINE
CALL DYNAMPGM-SUBROUTINE USING CALL-PASS-PARM-AREA
EXEC CICS SEND TEXT FROM (CALL-PASS-PARM-AREA)
LENGTH (150)
FREEKB
ERASE
END-EXEC.
All the subroutine does is move the text 'LOAD OUTPUT DATA' to the
CALL-PASS-PARM-AREA and returns to the calling program using a GOBACK.
We are compiling both the calling program and the subroutine with the
NODYNAM option per the instructions in the CICS Application Programming
manual. Can anyone give us any clues as to what is causing us to get the
program check and abend?
Thanks,
Jan Rank
DBA
Mutual Protective Insurance Company
***@mutualprotective.com