OdiExportLog

Usage

OdiExportLog -TODIR=<toDir> [-ZIPFILE_NAME=<zipFileName>] [-XML_CHARSET=<charset>] [-JAVA_CHARSET=<charset>] [-FROMDATE=<fromdate>] [-TODATE=<todate>] [-AGENT=<agent>] [-CONTEXT=<context>] [-STATUS=<status>] [-USER_FILTER=<user>] [-SESS_NAME=<session>]

Description

Exports information of past sessions into a ZIP export file.

Parameters

Parameters

Mandatory

Description

-TODIR=<toDir>

Yes

Target directory for the export.

-ZIPFILE_NAME=<zipFileName>

No

Name of the compressed file.

-XML_CHARSET=<charset>

No

XML Version specified in the export file. Parameter xml version in the XML file header. <?xml version="1.0" encoding="ISO-8859-1"?>. Default value is ISO-8859-1. You will find a list of supported encoding at the following URL: http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html

-JAVA_CHARSET=<charset>

No

Result file java character encoding. Default value is ISO8859_1. You will find a list of supported encoding at the following URL: http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html

-FROMDATE=<fromdate>

No

Beginning date for the export, using the format yyyy/MM/dd hh:mm:ss. All sessions from this date will be exported.

-TODATE=<todate>

No

End date for the export, using the format yyyy/MM/dd hh:mm:ss. All sessions until this date will be exported.

-AGENT=<agent>

No

Exports only sessions executed by the agent named like <agent>.

-CONTEXT=<context>

No

Exports only sessions executed in the context which code is <context>.

-STATUS=<status>

No

Exports only sessions in the specified state. The possible states are Done, Error, Queued, Running, Waiting and Warning.

-USER_FILTER=<user>

No

Exports only sessions launched by <user>.

-SESS_NAME=<session>

No

Name of the session to be exported.

Examples

Export and zip the log into the /temp/log2.zip export file .

OdiExportLog "-TODIR=/temp/" "-ZIPFILE_NAME=log2.zip" "-XML_CHARSET=ISO-8859-1" "-JAVA_CHARSET=ISO8859_1"