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

Stored Proc call fails in SPAS with IEW4005I


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
VIGNRSH
Warnings : 1

New User


Joined: 18 Mar 2007
Posts: 44
Location: New Jersey,USA

PostPosted: Wed Nov 12, 2008 10:23 am
Reply with quote

Hi ,
I am currently using the DB2 v7 due to which we are executing the Stored Procs in SPAS . When execuing the Stored Procs , iam getting the following error,

Code:

CSV031I LIBRARY ACCESS FAILED FOR MODULE NPSP    , RETURN CODE 24, REASON CODE 2
IEW4008I FETCH FAILED FOR MODULE GYSPROC1 FROM DDNAME STEPLIB  BECAUSE OF AN ERR
IEW4005I FETCH FOR MODULE GYSPROC1 FROM DDNAME STEPLIB  FAILED BECAUSE IEWFETCH


It REads TTR conversion error from Manuals..


Please Help on how to avoid this Error , because , the last time i faced this issue i have re started the entire sytem , and it was resolved temporarily .

Note:
1.Whenever Stored Procs are changed i do stop and restart them .
2.My Stored Proc Load Library is PDS and not PDSE as, i found in some forums that LoadModules of SPs should ideally reside in PDSe .
If the above is correct , can anyone explain why it should reside in PDSes??

Thank YOu
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Nov 12, 2008 10:31 am
Reply with quote

Hello,

Suggest you convert your PDS datasets to PDSE. When a member is replaced in the standard pds, the "old" address is being remembered in the system and when an attempt to invoke the module is made, there are problems.

You can once again you can restart the system, which will resolve the new modules locaton in the pds. PDSE datasets are internally managed in a different manner than PDS datasets. One example is that you do not need to compress PDSE datasets.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Nov 12, 2008 10:56 am
Reply with quote

Hi,
Quote:
i have re started the entire sytem
What does this mean ? Please assist.

We are talking about DB2 Store PROCs here , right ?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Nov 12, 2008 11:19 am
Reply with quote

Hi Anuj,

Quote:
What does this mean ? Please assist.
To bring the environment down and bring it back up. This will refesh everything internally clearing the problem.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts dsnrexx fails without error message CLIST & REXX 9
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
Search our Forums:

Back to Top