Add structure

Use the Add Structure page of the Program Call wizard to define a structure required by a parameter. You can find more information about each field in the IBM Toolbox for Java information under PCML structure tag.

Option Description
Structure name The name of the structure. Must be a valid Java variable name.
Count If the structure is an array, specifies the size of the array. If the field is left blank, the structure is not defined as an array, although it may be defined as an element of a structure that is defined as an array.
Usage The usage of the structure (character and numeric types are converted):
input:
as an input value to the host program.
output:
as an output value from the host program. Character and numeric types are converted.
input & output:
as both an input and an output value.
inherit:
Usage is inherited from the parent element. If the structure has no parent, usage becomes input & output.
Output size The number of bytes to reserve for output data for the structure. See the outputsize attribute in PCML struct tag.
Min. version The lowest version of i5/OS on which this structure exists. See the minvrm attribute in PCML struct tag.
Max. version The highest version of i5/OS on which this structure exists. See the maxvrm attribute in PCML struct tag.
Offset The offset to the structure within an output parameter. See the offset attribute in PCML struct tag.
Offset from The base location from which the offset attribute is relative. See the offsetfrom attribute in PCML struct tag.
Related tasks
Calling an iSeries program from your Java application