Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Rentrant stored procedure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Santoshkumar Sala

New User


Joined: 18 Jul 2010
Posts: 12
Location: Mumbai

PostPosted: Thu Dec 01, 2011 5:24 pm    Post subject: Rentrant stored procedure
Reply with quote

Hi,

I have a DB2 IMS stored procedure. Have compiled it with RENT option. But have not link edited it was REUS RENT. Is this fine for making the SP REENTRANT?
Also can my SP call routines which are not reentrant?
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


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

PostPosted: Thu Dec 01, 2011 5:55 pm    Post subject:
Reply with quote

Are you calling this SP using CICS screen?

And unless 'am mistaken RENT is recommended for DB2 stored procedures, especially for the programs which are designated as "main".
Back to top
View user's profile Send private message
Santoshkumar Sala

New User


Joined: 18 Jul 2010
Posts: 12
Location: Mumbai

PostPosted: Fri Dec 02, 2011 5:35 pm    Post subject:
Reply with quote

This is an IMS DB2 stored procedure called from frontend Java interfaces.
Actually we are facing a thread issue on the SP intermittently. This SP is hit numerous times a day and works fine most of the time but once or twice in a day it abends abnormally generating a thread. There are no logs related to abend. Only thing I found in DPG2MSTR job is the below
DSNX905I -DPG2 DSNX9CAC PROCEDURE OR FUNCTION 915
SYSPROC.SEINTLSP TERMINATED ABNORMALLY ASID= 02AC WLM_ENV= DB2GAPCD

DSN3201I -DPG2 ABNORMAL EOT IN PROGRESS FOR 983
USER=DB2GWLMI CONNECTION-ID=RRSAF CORRELATION-ID=
JOBNAME=DB2GWLMI ASID=02AC TCB=008C2E00

Please assist.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
This topic is locked: you cannot edit posts or make replies. Stored procedure on Federated thru DB2 arif677 DB2 6 Tue May 31, 2016 11:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us