Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
SQL stored procedure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
sabarishas2k

New User


Joined: 09 Jan 2009
Posts: 3
Location: Kerala

PostPosted: Tue Mar 01, 2011 1:27 pm    Post subject: SQL stored procedure
Reply with quote

I have a SQL stored procedure(it is written with create procedure statement with BEGIN and END statements) which needs to be executed in mainframe .. Any one please tell me what are all the steps that i need to follow before executing this stored procedure in mainframe.
Back to top
View user's profile Send private message

GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Tue Mar 01, 2011 5:13 pm    Post subject:
Reply with quote

one of the first steps is to install DB2
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Mar 01, 2011 5:26 pm    Post subject:
Reply with quote

Hi Sabarishas,

First you need to know the sub-system where is it needs to be created and you will be needing access to it.

You can get help from your collegues/DBA's in your shop, who have already done this.

Google this excellent redbook from IBM, which will give you all the details regarding the stored procedures "DB2 for zOS Stored Procedures Through the CALL and Beyond"

Thanks,
Sushanth
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Mar 01, 2011 7:25 pm    Post subject:
Reply with quote

GuyC wrote:
one of the first steps is to install DB2
On this very board, do we have some option like " 'Like' in Facebook"? icon_biggrin.gif
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Mar 01, 2011 8:33 pm    Post subject:
Reply with quote

Anuj,

Quote:
do we have some option like " 'Like' in Facebook"?

I was thinkin about that.

Regards,
Sushanth
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1781
Location: Bloomington, IL

PostPosted: Tue Mar 01, 2011 9:11 pm    Post subject:
Reply with quote

Anuj Dhawan wrote:
GuyC wrote:
one of the first steps is to install DB2
On this very board, do we have some option like " 'Like' in Facebook"? icon_biggrin.gif

We can just say, "GuyC wins the thread" icon_biggrin.gif
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Tue Mar 01, 2011 10:25 pm    Post subject:
Reply with quote

Thank you, Thank you, I'm here all week icon_smile.gif

At first I was really pondering on where to begin the explanation, but all steps without any background on the environment: "install DB2" was all I could come up with.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Wed Mar 02, 2011 2:24 pm    Post subject:
Reply with quote

In fact, I begin with something like "This is beyond the scope of a Forum to explain...", compiled a long reply and when I preview...whoof -- your one liner seemed too mighty to post my reply..! icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10350
Location: italy

PostPosted: Wed Mar 02, 2011 2:25 pm    Post subject: Reply to: SQL stored procedure
Reply with quote

Quote:
Thank you, Thank you, I'm here all week

does not take that long to install DB2 icon_biggrin.gif
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us