Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

  • No labels