EMUE closed, input file in same location |
Top Previous Next |
The following steps are to continue script processing with the Input File in its current location.
1. Re-open EMUE.
2. Set the script file to EMUE using the Script File Name textbox on the EMUE main screen on the Main tab.
3. Set the File Line Number # to the record number upon which the script is to begin processing.
Note: If a script uses the SkipRec command to skip a specified number of records at any point other than when the script starts, these SkipRec commands will be ignored when the Current Input Record # is set.
Note: EMUE cannot determine if the processing was completed for the last record that was read. The User has to determine whether the last record that was read needs to be reprocessed, skipped, or requires manual intervention.
4. Set the Input File to the name and path of the location where the input file currently exists.
Note: At the start of a script EMUE moves the Input File to the location designated by the SetStartup MoveInputFile command. This shows in the Pre-Move box on the User Interface screen.
5. Delete any text in the (Move To) textbox to prevent moving the file again.
6. Set the Log File textbox to the name and path of the location where the log file currently exists.
Note: The SetStartup LogFile command should have populated this field.
7. If the script is not set up to append to the log file, go to the Edit tab, go to the options line and change the LogMode to Append.
Note: The log file will be overwritten if this is not done and log data will be lost.
8. Uncheck the Wait Again checkbox. The current Input File location will not find any additional files. This stops the script at the end of the current file.
9. Click the Start Button to begin processing.
10. If EMUE was disconnected from the mainframe, but not closed, answer Yes to the prompt that inquires about starting in the middle of the file.
Note: If EMUE is closed the status of files is lost.
11. If EMUE was disconnected from the mainframe, but not closed, answer Yes to the prompt about re-using the same output log file.
Note: If EMUE is closed the status of files is lost.
12. Insure that the script is processing properly.
13. When the script is complete, if the script is to process additional files, click the option on the Tools menu Reload Settings From File to reset EMUE to its original settings for this script. Then click the Start button to resume normal processing of files as they arrive.
|