If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Accessing IDMS from Stored procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-22-04, 17:02
Chinu1 Chinu1 is offline
Registered User
 
Join Date: Oct 2004
Posts: 1
Accessing IDMS from Stored procedure

Hi All,
I have a requirement wherein I have the following:
Program A (on one mainframe) -----CALLS---> Stored Procedure SP1 (another mainframe) using DRDA.

The Stored Procedure SP1 access some DB2 tables and gets data. But some data are stored in IDMS tables. So stored procedure needs to get data from IDMS table as well.
My question is well how to do it. Can I call a CICS transaction from within the Stored Procedure, which fetches data from IDMS and returns back to teh SP through COMMAREA? If it can be done, then would be glad if someone could please help me out.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 10-25-04, 10:50
urquel urquel is offline
Registered User
 
Join Date: Aug 2004
Posts: 330
Try using a user-defined function.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On