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

Rentrant stored procedure


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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

Superior Member


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

PostPosted: Thu Dec 01, 2011 5:55 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Invoke stored procedure via batch JCL. DB2 2
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
No new posts Cond parameter and Rc code of a proce... JCL & VSAM 5
This topic is locked: you cannot edit posts or make replies. Internal Autonomous Stored Procedure ... DB2 6
No new posts Stored procedure cpu utilization DB2 1
Search our Forums:

Back to Top