Solved

How to create a stored procedure in AS400

Posted on 2016-09-19
1
31 Views
Last Modified: 2016-09-22
I need to create a store procedure which calls a CL program.
I want the stored procedure to return the output when called.But when i define a stored procedure with input and output parameters im not able to call the procedure.
If i define it with only input parameters and call it i'm able to view the result in debug mode.But if im not in debug mode im getting a return statement "call statement successful',but im not able to view the output.
My question is how can i view the output..?

system: AS400
**stored procedures are created on DB2 by using create procedure command.
0
Comment
Question by:bharath tata
1 Comment
 
LVL 27

Accepted Solution

by:
tliotta earned 500 total points
Comment Utility
See my responses to How do AS/400 stored procedures get output?. These seem to be duplicate questions. It's not clear which one might be deleted if they are duplicates, but responses have already been entered under the other Q.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now