any help/way would be highly appreciated.
Note:
The program works if I have so called copybook coded directly in the program (All I have to
do is replace USING GOOGLE,R4 by LA R4,GOOGLE).
COPYBOOK
GOOGLE DS 0F
DC CL8'AAAAAAAA'
GOOGLEL EQU *-GOOGLE
DC CL8'BBBBBBBB'
DC CL8'CCCCCCCC'
DC CL8'DDDDDDDD'
DC CL8'EEEEEEEE'
GOOGLETL EQU (*-GOOGLE)/GOOGLEL
DC CL8'AAAAAAAA'
GOOGLEL EQU *-GOOGLE
DC CL8'BBBBBBBB'
DC CL8'CCCCCCCC'
DC CL8'DDDDDDDD'
DC CL8'EEEEEEEE'
GOOGLETL EQU (*-GOOGLE)/GOOGLEL
PROGRAM
* EJECT
DFHREGS
DSECT
COPY COPYBOOK
EJECT
DSECT
DFHEISTG
DESCRPTN DS CL70
PROGRAMS DS CL8
DS F
DFHEJECT
*******************************************************************
ICTIPD1P DFHEIENT CODEREG=3,DATAREG=13,EIBREG=11
ICTIPD1P AMODE 31
ICTIPD1P RMODE ANY
USING GOOGLE,R4
LA R5,GOOGLETL LOOP TIMES
B BEGIN
BEGIN EQU *
MVC PROGRAMS,0(R4)
EXEC CICS LINK PROGRAM(PROGRAMS) C
COMMAREA(DESCRPTN) C
LENGTH(70)
EXEC CICS WRITE OPERATOR TEXT(DESCRPTN) C
TEXTLENGTH(70)
LA R4,GOOGLEL(,R4)
BCT R5,LOOP
END EQU *
EXEC CICS RETURN
LTORG
END PROGRAM
DFHREGS
DSECT
COPY COPYBOOK
EJECT
DSECT
DFHEISTG
DESCRPTN DS CL70
PROGRAMS DS CL8
DS F
DFHEJECT
*******************************************************************
ICTIPD1P DFHEIENT CODEREG=3,DATAREG=13,EIBREG=11
ICTIPD1P AMODE 31
ICTIPD1P RMODE ANY
USING GOOGLE,R4
LA R5,GOOGLETL LOOP TIMES
B BEGIN
BEGIN EQU *
MVC PROGRAMS,0(R4)
EXEC CICS LINK PROGRAM(PROGRAMS) C
COMMAREA(DESCRPTN) C
LENGTH(70)
EXEC CICS WRITE OPERATOR TEXT(DESCRPTN) C
TEXTLENGTH(70)
LA R4,GOOGLEL(,R4)
BCT R5,LOOP
END EQU *
EXEC CICS RETURN
LTORG
END PROGRAM
The above program is failing with AEI0 abend, that is program is not handling
PGMIDERR. To let you know, all of the above program are valid program defined
in a region.