Function parameters for service access

There are a few rules for specifying parameters in a function prototype.
An Interface (or Service) part is used for service access and includes function prototypes such as the following one:
Function GetEmployeeDetail(employeeCode STRING IN,                             
                           employeeSalary FLOAT OUT,
                           employeeStatus STRING INOUT)
         returns(myEmployeeRecordPart);

If the prototype is used to access an EGL REST or SOAP service or an EGL service, the prototype can include IN, OUT, and INOUT parameters.

If the prototype is used to access a third-party REST service, the following statements apply:
If the prototype is used to directly access an IBM® i service program by way of a native service-client binding, the following rules apply:

Feedback