Start changeThe program tag

The program tag can be expanded with the following elements:
<program name="name"
	[ path="path-name" ]
	[ parseorder="name-list" ] >
</program>
Attribute Value Description
name= name Specifies the name of the program.
path= path-name Specifies the path to the program object.
The default value is to assume the program is in the QSYS library.
parseorder= name-list Specifies the order in which output parameters will be processed. The value specified is a blank separated list of parameter names in the order in which the parameters are to be processed. The names in the list must be identical to the names specified on the name attribute of tags belonging to the <program>. The default value is to process output parameters in the order the tags appear in the document.

Some programs return information in one parameter that describes information in a previous parameter. For example, assume a program returns an array of structures in the first parameter and the number of entries in the array in the second parameter. In this case, the second parameter must be processed in order for the ProgramCallDocument to determine the number of structures to process in the first parameter.

End change


[ Legal | AS/400 Glossary ]