Recording a script
The recorder allows you to capture and play back host 3270 or 5250 sessions. As you interact with the terminal session, the session is recorded as a set of script commands that can be saved and played back at a later time. This allows for the automation of navigation to specific screens.
About this task
Procedure
- While in the terminal view, click
Record New Script.
- Type a new name in the Script
Name field
and click OK. From this point on, all terminal activity will be captured in the script.
- Perform all the actions to be recorded in the script.
- When
you are finished, click
Stop.
The script is now available in the workspace for editing or execution throughManage Scripts.
- If you want the script to start automatically
upon connection,
click
Manage Scripts and select the script from the Startup Script
list.
- Click
Save to permanently save the script.
Session scripts are saved with your user ID, so no other users will be able to see and run the same scripts unless you have Workspace administration mode turned on when you create them. The saved script is available from any workspace to which you add a terminal view.