Content Freeze
As of July 25th, 2023, there is a content freeze on this page.
This action calls a procedure in an IBM i service program. You can pass parameters to the procedure and capture the return value.
Service Program
Specify the name of the service program to call. You can qualify the service program name with a specific library or let Profound.js resolve the service program's library by using the pathlist / library list.
Procedure
Type in the name of the procedure to call. Keep in mind that ILE procedure names are case-sensitive. RPG procedure export names are typically in uppercase.
Parameter
You can specify one or more parameters to pass to the service program procedure.
Start by selecting a data type for the parameter. Based on the data type you select, other questions may appear. For example, for the "char" data type, you will have to specify the character field length.
Next, specify the argument value to pass to the procedure.
If the parameter is passed by reference, check the 'by reference' box and specify how you want to capture the output. You can place parameter output into a screen field, work variable, global property, API output, Module output, or a session property.
Return value
If the procedure returns a value, specify its data type, and then identify how you would like to capture the return value output.