Our procedures are in service program. They return a value, not as a parm
but as a result, like a function.
Here is an example of a prototype:
* Prototype for getLastWorkDay subprocedure
d getLastWorkDay pr 8
d inDate 8
Kyle Collie
date: Fri, 14 May 2004 14:54:58 -0400
from: Larry Schweyer <schweyer@xxxxxxxxxx>
subject: Re: [WDSCI-L] TIP005
The Web Interaction can call a program (*PGM), or procedures in a service
program (*SRVPGM).
Are your procedures not in a service program?
Larry Schweyer
iSeries AD, IBM Toronto Lab
schweyer@xxxxxxxxxx
(905)413-4084 Tie-line: 969-4084