Page 1 of 1

CICS transaction failed with AEIP

PostPosted: Mon Apr 25, 2011 2:27 pm
by prachikhanna
I m getting AEIP abend in startbr option in below code.

MOVE 'TEST7' TO WS-FILENAME.
EXEC CICS STARTBR
DATASET(WS-FILENAME)
RIDFLD(WS-FIELD)
KEYLENGTH(LENGTH OF WS-FIELD)
RESP (WS-DFHRESP)
RESP2 (WS-DFHRESP2)
END-EXEC.
MOVE WS-DFHRESP2 TO WS-SEND
EXEC CICS
SEND TEXT
FROM(WS-SEND)
LENGTH(LENGTH OF WS-SEND)
ERASE
END-EXEC.

WS-send is 00000020. RESP2=20 is FCT entry is not defined with browse option but my FCT entry has browse option.

I FI(TEST7)
STATUS: RESULTS - OVERTYPE TO MODIFY
Fil(TEST7 ) Vsa Clo Ena Rea Upd Add Bro Del Sha
Dsn( STHK.LSS.SSPT.EP.TEST1 )



file is a KSDS of length 150. Below is the data in the file.

----+--- -1----+----2-
**********************
12345678 test it
87654321 how it is

WHat can be the issue??

Re: CICS transaction failed with AEIP

PostPosted: Mon Apr 25, 2011 3:56 pm
by prachikhanna
Issue closed. It was because of file was in close status. my miss.

Re: CICS transaction failed with AEIP

PostPosted: Mon Apr 25, 2011 7:13 pm
by MrH
Your file was Closed/Enabled, so CICS should have opened the file when it received its first file control request on it. Only if it was Closed/Unenabled or Closed/Disabled should that have caused you a problem.

It's probably worth your time to look into this deeper, because system programmers like to set all files to Closed/Enabled at CICS startup. It makes things much more efficient if you're not trying to open thousands of files at once.

Re: CICS transaction failed with AEIP

PostPosted: Wed Apr 27, 2011 11:56 am
by prachikhanna
Thanks for the info. I never know this. :)