Q
Problem solve Get help with specific problems with your technologies, process and projects.

I keep getting AYED Abend when I use the following command...

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).


This was last published in December 2002

Dig Deeper on IBM system z and mainframe systems

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close