Obtaining program call results as XPCML

After you call a server program, you can use ProgramCallDocument.getValue methods to retrieve the Java™ objects that represent program parameter values.

Additionally, the following generateXPCML methods enable ProgramCallDocument to return the results of a program call as XPCML:

For more information about the ProgramCallDocument class, see the following page:

ProgramCallDocument javadoc information

The following example shows how you can construct an XPCML ProgramCallDocument, call an iSeries™ program, and retrieve the results of the program call as XPCML.

Example: Retrieving program call results as XPCML