Recording a Start-up Macro for use with Express Logon
This step is required only if you want to use Express Logon.
In this step, you record a start-up macro, which provides automatic logon by replacing the placeholder strings in the macro with the valid user name and password for the user connecting to the host.
|To record a start-up macro for use with Express Logon
- Open your new session and, from the Tools menu, choose Macro.
- In the Macro dialog box, type a name for the macro, then click Record.
The Record Macro dialog box is displayed with the name you specified under Record Macro Name.
- To have the macro run each time the session is started, select Save as Start-up Macro for this Session.
- Select Record an Express Logon Macro and type the Application ID of the host application that was created when you created z/OS Passticket data profiles.
- Click OK to begin recording the macro.
The Record Macro dialog box closes and the Macro Recorder toolbar appears.
- Perform the actions you want to include in your macro.
When you reach the session fields where the user ID and password must be entered, do the following:
- When the session cursor is positioned at the beginning of the user ID field, click the User ID Field button on the Macro Recorder toolbar.
The toolbar displays the starting position (row and column) of the user ID field.
- In the session window, type a valid user ID in the user ID field, and then exit the field by pressing the TAB key or by other means.
In the recorded macro code, the user ID is replaced by the string ")USR.ID(".
- Navigate to the password field in the session window, and then click the Password Field button on the Macro Recorder toolbar.
The toolbar displays the starting position of the password field.
- In the password field, type the password for the user ID you specified, and then exit the field by pressing the TAB key or by other means.
In the recorded macro code, the password is replaced by the string ")PSS.WD(".
- When you are finished, to stop recording your macro, click the Stop button from the Macro Recorder toolbar.
||You can view and edit the recorded macro using the Macro Editor.
- Distribute the macro with the session configuration file to client computers that will use Express Logon.