Bewerken

Delen via


Variably Sized Data

A string or array parameter that is the last parameter in its direction (last of the inputs and in/outs or last of the outputs and in/outs) can be smaller than the maximum size specified, even without an associated actual size. The variable string or array must be a parameter or return value and cannot be contained in a recordset.

If the final field is an array, it can be an array of any type, including a recordset. If there is an unbounded output recordset, it is the only variably-sized data allowed because Transaction Integrator (TI) cannot handle two pieces of the data stream that are variable in size. If COBOL FILLER exists after the last parameter, that parameter cannot be variable in size.

Identify the possibility of variably sized data at design time in TI Project. In the Designer select the method whose parameter list contains the final field of string to be of variable size, and set the method property "Variable Sized Final Field" to true.

See Also

Host and Automation Data
Sending Binary Data to the Host