Skip to main content

Command to convert a format file to XML


Technote (troubleshooting)


Problem(Abstract)

Need for conversion of regular format (fmt) files to the XML based format is sometimes necessary in the Tivoli Risk Manager environment.

Resolving the problem

The wrmfmt2xml command does a line-for-line translation of a format file (.fmt file). Comments are preserved and are automatically converted to XML-style comments. The resulting XML file will generate the same results as the original .fmt file. That is, if a log entry maps to a certain event using an .fmt file, it will map to the exact same event when processed using the XML file. Advanced features that are available only with the XML format, such as prefiltering and indexing, can be manually added to the XML file after the conversion takes place.

Example:

This command is used to convert the webids.fmt file to a defined XML file.

wrmfmt2xml webids.fmt webids.xml

On a Windows system, the command is wrmfmt2xml.cmd, and on Linux and UNIX-based systems the command is wrmfmt2xml. The scripts are located in the /bin directory of a Tivoli Risk Manager installation.

This command assumes that the .fmt file to be converted is valid and syntactically correct. Incorrect .fmt files could result in incorrect XML files.

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Risk Manager


Software version:
4.2


Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows


Reference #:
1269029


Modified date:
2009-09-11

Translate my page

Content navigation