When I use the followin command in my program I get AEYD Abend. Cause - 'Invalid address passed to CICS'. Any help in solving this will be helpful. Command: EXEC CICS COLLECT STATISTICS SET (SET-POINTER) POOL ('POOL1') TARGET (WS-TARGET-NAME) RESP (WS-CICS-RESPONSE) END-EXEC SET-POINTER points to DFHA24DS copybook.
The AEYD Abend does not mean Invalid Address passed to CICS. It has a more subtle meaning. Instead, it means that you asked CICS to access (read it or write it or create it) an area to which the transaction itself did not have access. You need to look at the Problem Determination Guide and the Messages & Codes books to find out what is going wrong.
In your case, you should not be passing in an area on the SET parm, as CICS will be returning a pointer in that...
field. Thus, it's more than likely that you are in the wrong Storage Protection Key. If this is the case, then you have probably got the TASKDATAKEY incorrect in the program definintion (or EXECKEY in the Transaction definition).
Dig Deeper on IBM system z and mainframe systems
Related Q&A from Robert Crawford
For better mainframe capacity planning, how do I convert CPU hours to MIPS? And is there a way to calculate the relationship between MIPS and MSUs? Continue Reading
I have two years of experience in mainframe technology, currently working as a mainframe developer. I want to change to Java technology. Continue Reading
I want to replicate DB2 from the mainframe to an AIX box since it's cheaper and the copy can be used for testing. Is this possible? Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.