Hello,
at first i want to introduce myself:
I am from Austria. I developed at first 2,5 years on AS400 then around 6 years on Microsoft Navision (ERP) and now im Back to AS400
.
I am searching an full example/listing:
- an RPG / RPG-LE programm
- with sql which
- with imput parameter
- which returs an result set
- which can i call form a stored procedure
- should include "WITH RETURN TO CLIENT"
I need an example like http://publib.boulder.ibm.com/infoce...crpghostex.htm
but i want not to use a cursor - i think it should slow down
2nd Question:
Is it possible to create a function without an rpg - only in sql like MS SQL Server?
thanks in Adance
Greetings form Austria
Jürgen
at first i want to introduce myself:
I am from Austria. I developed at first 2,5 years on AS400 then around 6 years on Microsoft Navision (ERP) and now im Back to AS400

I am searching an full example/listing:
- an RPG / RPG-LE programm
- with sql which
- with imput parameter
- which returs an result set
- which can i call form a stored procedure
- should include "WITH RETURN TO CLIENT"
I need an example like http://publib.boulder.ibm.com/infoce...crpghostex.htm
but i want not to use a cursor - i think it should slow down
2nd Question:
Is it possible to create a function without an rpg - only in sql like MS SQL Server?
thanks in Adance
Greetings form Austria
Jürgen
Comment