Implementation
A Host ID field has been added to the macro descriptors and macro actions that support this feature. The value in the Host ID field identifies the active session to which the descriptor or action applies (see Specifying a Host ID).
During macro playback, when the macro runtime prepares to evaluate
a descriptor or to perform an action, the macro runtime looks in the
Host ID field of the descriptor or the action. If the Host ID field
is missing, or blank, then the macro runtime applies the descriptor
or the action to the original session, the session that launched the
macro (for example, a 3270 Display session). But if the Host ID field
is specified and non-blank, then the macro runtime:
- Locates the active session to which the Host ID field refers (for example, a second 3270 Display session connected to a different host).
- Applies the descriptor or action to the session window of that active session.
The following descriptors support this feature:
- Wait for OIA to Become Uninhibited
- Number of Fields
- Number of Input Fields
- String
- Cursor
- Attribute
The following macro actions support this feature:
- Box selection
- Comm wait
- Extract
- Input
- Mouse click
- Print Extract
- Prompt
- Xfer