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
  1. Open your new session and, from the Tools menu, choose Macro.

  2. In the Macro dialog box, type a name for your new macro, and then click Record.

    The Record Macro dialog box is displayed with the name you specified under Record Macro Name.

  3. To have the macro run each time the session is started, select Save as Start-up Macro for this Session.

  4. 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.

  5. When you are ready to start recording, click OK. The Record Macro dialog box closes and the Macro Recorder toolbar appears.

  6. Begin recording the macro. When you reach the session fields where the user ID and password must be entered, do the following:

    1. 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.

    2. 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(".

    3. 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.

    4. 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(".

  7. Continue recording your macro. When you are finished, click the Stop button on the Macro Recorder toolbar.

    When the macro is saved, its filename is based on the name you specified. You can view and edit the recorded macro using the EXTRA! Basic Macro Editor.

  8. Distribute the macro with the session configuration file to client computers that will use Express Logon.
  Attachmate