OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/J

[Contents][Index][Back][Next]

2.7 Dynamic definition changing facility

TP1/Client/J analyzes the TP1/Client/J environment definition within the rpcOpen method and keeps it as unique information in the CUP.

The dynamic definition changing facility enables you to specify operands that are not currently defined in the TP1/Client/J environment definition and to change dynamically operand values that are specified in the TP1/Client/J environment definition. Once you change an operand value by calling the dynamic definition changing method, the new value remains in effect until the CUP is terminated (until the rpcClose method is called) unless the dynamic definition changing method is called to change the same operand value again.

Whether the value in the TP1/Client/J environment definition or the value set by the dynamic definition changing facility is in effect depends on the order in which the methods are called.

When the dynamic definition changing method is called after the rpcOpen method
The operand value changed by the dynamic definition changing method is in effect.

When the rpcOpen method is called after the dynamic definition changing method
The operand value defined in the TP1/Client/J environment definition is in effect.