CloseLog

Top  Previous  Next

×V2.1Ø

S

A

W

WS

ü

Syntax -

CloseLog <FileID>

       Where:

               <FileID> is a literal string, a variable that contains a literal string or an integer, a variable that contains an integer or an unquoted user defined name assigned to the file

 

Description:

This command instructs EMUE to immediately close the file defined by the <FileID>.  This command is used when manipulating multiple log files.

 

Notes: If any log file other than the log file specified by a SetStartup command is to be included in an e-mail, it must be closed first with CloseLog.

If the user defined name is the same as a variable that is currently in the script, then the contents of the variable will be used as the <FileID>

 

Sample 1:

       The following statement closes the log file whose FileID is "File 1"

CloseLog "File 1"

 

Sample 2:

       The following statement closes the log file whose FileID is Output

CloseLog Output

 

See Also:

OpenLog

GetLogName

WriteLog

WriteLogLine