Actions
When the macro runtime plays back a macro that refers to more than one session, the macro runtime processes actions exactly as it does with an ordinary macro. However, if an action contains a Host ID that refers to an active session other than the original session that launched the macro, then the macro runtime executes the action with respect to the session window of that active session.
As with descriptors, a single macro screen can contain actions
all of which apply to the same session, or actions that apply to two
or more different sessions. For example, if a macro screen contains
one Input action for the original session that launched the macro
(such as a 3270 Display session) and a second Input action for another
session (such as a 5250 Display session), then the macro runtime:
- Types the input key sequence from the first Input action into the specified row and column location of the original session window (the session window of the 3270 Display session).
- Types the input key sequence from the second Input action into the specified row and column location of the second session window (the session window of the 5250 Display session).