IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

getting AIBRETRN and AIBREASN codes


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Hardik Vachhani

New User


Joined: 11 Dec 2008
Posts: 13
Location: Phoenix, AZ, USA

PostPosted: Wed Oct 26, 2011 4:04 am
Reply with quote

I am getting the AIBREATRN code 0264 and AIBREASN code 0032 while allocating a PSB in AERTDLI calls. The explaination of the error is:

0108/0020
Explanation:
The load of a required DRA module or load of the DRA startup table (DFScccc0) failed in the Application address space. The name is returned to the calling program in AIBRSNM2.

Programmer response:
Insure that the named module is linked into the proper library.


Can someone help me in getting thru with this error and resolution please.
Back to top
View user's profile Send private message
michael baker

New User


Joined: 11 Oct 2011
Posts: 26
Location: United States of America

PostPosted: Wed Oct 26, 2011 6:13 am
Reply with quote

Hardik, found this from a IBM 2009 document: (they are using the words "DRA Interface"... (don't know if this will help your requirement).

EXECUTION REQUIREMENTS:

Application program must be linked with DFSCDL10 or load it.

Language: interface module for ODBA
Invokes DRA Interface

IMS modules must be available to address space (may be in Steplib or Joblib):
DFSAERGO
DFSAERMO
DFSAERAO
DRA Startup table (DFSxxxx0)

ODBA calls:
IMS calls must use AIB interface w AERTDLI



(This may not be correct for your programming needs... Perhaps someone would be able to determine what Library the Programmer is referring to in their response)
Back to top
View user's profile Send private message
michael baker

New User


Joined: 11 Oct 2011
Posts: 26
Location: United States of America

PostPosted: Wed Oct 26, 2011 10:29 am
Reply with quote

If your using IMS V11...

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=%2Fcom.ibm.ims11.doc.apr%2Fims_cimscall.htm
Back to top
View user's profile Send private message
Hardik Vachhani

New User


Joined: 11 Dec 2008
Posts: 13
Location: Phoenix, AZ, USA

PostPosted: Wed Oct 26, 2011 9:28 pm
Reply with quote

Thanks Mike!

I have already tried linking my program to DFSCDLI0 instead of DFSCDL10.

INCLUDE SYSLIB(DSNRLI)
INCLUDE SYSLIB(DFSCDLI0)
ENTRY SEMIDSPS
NAME SEMIDSPS(R)

Still when I am executing the Stored procedure, it is failing in the allocation of the PSB with the same AIBRETRN and AIBREASN codes.

When I am linking my program with DFSCDL10 it is failing in the Compilation with the following error:

THE DATA SET SPECIFIED BY DDNAME LOAD COULD NOT BE FOUND, AND THUS HAS NOT BEEN INCLUDED.

The PSB allocation logic in my IMS-DB2 Stored procedure is:

SET AIBRESA1 TO NULLS.
SET AIBRESA2 TO NULLS.
SET AIBRESA3 TO NULLS.
MOVE ZEROES TO AIBRETRN.
MOVE ZEROES TO AIBREASN.
MOVE WS-AIBID TO AIBID.
MOVE LENGTH OF AIB TO AIBLEN.
MOVE ZEROES TO AIBOALEN.
MOVE PSBNAME TO AIBRSNM1.
MOVE IMSM TO AIBRSNM2.
MOVE SPACES TO AIBSFUNC.

CALL AERTDLI USING APSB,
AIB
Back to top
View user's profile Send private message
michael baker

New User


Joined: 11 Oct 2011
Posts: 26
Location: United States of America

PostPosted: Thu Oct 27, 2011 3:46 am
Reply with quote

HDV... I'm unable to find that AIBRetrn code in a IBM Manual...

This is the only recent clue that I could find...and it's also IMS Version 11...

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.ims11.doc.apg/ims_imsdbaertldi.htm

Perhaps if you share what Version of IMS your using... there would be a IMS Guru that knows the answer.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts AI writing DFSORT, REXX codes.. All Other Mainframe Topics 3
No new posts RXSUBCOM Return Codes / Documentation CLIST & REXX 6
No new posts JCL Cond Codes JCL & VSAM 7
No new posts Need information about Endevor return... CA Products 1
Search our Forums:

Back to Top