Skip Headers
Oracle® Warehouse Builder OMB*Plus Command Reference
11g Release 2 (11.2)

Part Number E14406-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
Mobi · ePub

OMBCOMPARE SNAPSHOT

Purpose

Change management is a key piece of metadata management. This comand provides comparison services of any complex object model in the workspace. This command writes the diff between snapshot/component to XML file.

Prerequisites

Snapshots can be compared from any context and either with another snapshot or the current workspace objects.

Syntax

parseCompareCommand =  OMBCOMPARE "compareSnapshotCommand"
     compareSnapshotCommand =  ( ( SNAPSHOT "QUOTED_STRING" ) WITH 
          "getCompareWith" OUTPUT TO "QUOTED_STRING" WRITE ( ALL | 
          FOUND_IN_TARGET | FOUND_IN_SOURCE | UPDATED | CHANGED | UNCHANGED ) )
     getCompareWith =  SNAPSHOT "QUOTED_STRING" [ FOR ( "UNQUOTED_STRING" 
          "QUOTED_STRING" ) ] | ( CURRENT FOR ( "UNQUOTED_STRING" 
          "QUOTED_STRING" ) )

Parameters

parseCompareCommand

Root production of OMBCOMPARE SNAPSHOT.

compareSnapshotCommand

To compare components of snapshots.

QUOTED_STRING

Name of source snapshot which needs to be compared with the target snapshot.

OUTPUT

Specifies output filename where the XML comparison result will written.

WRITE

Specifies filter clause which will make the diff engine only write specified objects of a certain diff state.

getCompareWith

Target of the comparison.

SNAPSHOT

Target snapshot which will be compared with the source snapshot.

FOR

Specifies component which exists in the current workspace.

CURRENT

Indicates current component's definition as the target of compare action.