Re-recording From the Middle or End of a Script

In order to continue recording a partially recorded session, you must allocate DDNAME FSC3270I to a file that will contain the new version of the script. The existing script must be in a different file, allocated to DDNAME FSC3270Q. In addition, if you allocate an existing output file to DDNAME FSC3270O (to receive the session output), the new output will appended to the existing output. If you want the re-recorded session to go to a separate file, allocate a new output file to DDNAME FSC3270O.

To start recording where you left off last time, remove the FIN command and execute replay mode online. The existing script will be re-recorded to the new script file. At the end of the existing script, the keyboard will open for input, and your key strokes will be recorded at the end of the new script file.

To start recording in the middle of a script file, edit the existing script file and add the following on a line by itself at the point in the script at which you want to start re-recording:

<RECORD>

In an online session, the replay tool plays the existing script and re-records it to the new script file. When it encounters the <RECORD> command, it opens the keyboard for further input that will be recorded and added to the end of the new script file.

This technique eliminates trailing lines after a mistake and enables you to re-record the remainder of the session.

In this way, you do not have to start recording from scratch when a mistake is made during the recording session or when you stop at some point but want to continue recording later.

You must allocate the new script file to DDNAME FSC3270Q when replaying the corrected or extended session.


Information Builders