Previous Page Contents Page Next Page

5 Using Macros

The 5250 emulation program provides a macro record and replay facility. A macro is a sequence of keystrokes that is sent to the display application in the current session. This enables you to save and re-use frequently used keystroke sequences. A typical macro might replay your login process; instead of logging in explicitly, you could replay the macro that would send all the keystrokes required for login to the AS/400.

In addition to recording keystrokes, you can also do the following:

Only a user with appropriate permission can record a macro. The macro is then saved in that user's style file (and any user can replay a macro that is in his or her user style file). For more information about using style files, see 5250 Style Files. For more information about the macro record or replay buttons on the toolbar, see Session Window Toolbar. For information about the default key mappings for the macro keystrokes, see Default Mappings.

5.1 Macro Recording Restrictions

There are some restrictions when recording macros:

If you do not follow these guidelines, an error message will pop up on screen, explaining what you have done wrong.

Previous Page Contents Page Top of Page Next page