Log |
Top Previous Next |
The following commands have been implemented in EMUEScript exactly as they are implemented in OLIE™:
Syntax - With Variables LOG <StringValue1> ... <StringValueX> Where: <StringValueX> is a literal string or a variable that contains a literal string.
Description: This command is used to log information to the log. The Log command is useful for post script debugging. Using the Log command will help keep track of the variables used, where a script was successful as well as where it may have failed. At any point during your script you would like to have confirmation of a completed step simply add the Log command to add to the log any information you would like to have.
Sample: The following statement uses the Log command to log the variable Var_1 to the log file. Log Var_1
Syntax - With Screen LOG {SCREEN|*SCREEN} Where: [SCREEN|*SCREEN] are keywords.
Description: This command is used to log a screenshot of the mainframe to the log. This will allow you to see what the screen looked like when the error occurred. It can be very helpful when troubleshooting a script issue.
Note: The parameter *SCREEN is the OLIE syntax. EMUE will work with both SCREEN and *SCREEN. They both produce the same result.
Sample: The following statement uses the Log command to log a snapshot of the current screen to the log file. Log Screen
See Also:
|