Using Siebel Tools > Archiving Objects > Exporting to an Archive >

Exporting Modified Objects


This topic describes how to use an SDF file to export only the modifications that you make to an object instead of the entire definition of this object. For more information, see How Siebel Tools Minimizes the Data it Processes during Exports and Imports.

To export modified objects

  1. Set up Siebel Tools to use iPackMode.

    For more information, see Enabling Object Tagging in Siebel Tools.

  2. Synchronize the computer clocks:
    1. Log in to Siebel Tools.
    2. Click the View menu, and then click Options.
    3. In the General tab of the Development Tools Options dialog box, make sure the values in the Date and Time fields of the Changed Date section match the date and time values of the database server that contains the Siebel repository.

      Siebel Tools uses the values in these fields as the date reference. It extracts any objects that you have modified since this date. For more information about using the Changed Date section, see Exporting Objects to a Mid-Level Release.

      These values can vary only to allow for time zone differences. For example, if the database server resides in California and is set at 2:03 PM Pacific Standard Time, and if the computer that contains Siebel Tools resides in Colorado and uses Mountain Standard Time, then you must make sure the clock for the Siebel Tools computer is set to 3:03 PM. In the context of Greenwich Mean Time (GMT), a one hour difference exists Pacific Standard Time and Mountain Standard Time.

  3. In Siebel Tools, click the Tools menu, and then click Generate Mid-Level Release.
  4. In the Generate Mid-Level Release dialog box, in the Mid-Level Release Label window, enter text that describes the purpose of the export.

    Siebel Tools uses the text you enter in the folder names and file names that it creates during the export. This text must conform to Windows standards for folder names and file names.

  5. In the Export Options section, accept the default Single File for All Objects value.

    This option configures Siebel Tools to create one SDF file for all objects.

  6. In the Export File Type section, click SDF.
  7. In the Export Criteria section, set one of the following export criteria:
    • Tag-Time. Siebel Tools does the SDF extraction according to the following items:
      • The tag that you choose in the Development Tag list
      • The Start Date when you modified the object
    • Tag. Siebel Tools does the SDF extraction according to the tag that you choose in the Development Tag list. It does not consider the Start Date. You can use the CTRL key to choose more than one tag.
    • Time. Siebel Tools does the SDF extraction only according to the Start Date. It does not consider the tag that you choose in the Development Tag list.
  8. (Optional) In the Development Tag section, choose a development tag.

    Siebel Tools displays tags in a list in the Development Tag section. These tags allow you to filter the objects that Siebel Tools exports. If you:

    • Do not choose a tag. Siebel Tools exports the list of objects according to the value that you set in the Export Criteria section.
    • Choose a tag. Siebel Tools filters the list to include only objects that are associated with the development tag you choose, and according to the value that you set in the Export Criteria section. You can hold down the CTRL key to choose multiple tags. To remove a tag that is currently chosen, you can hold down the CTRL key, and then click this chosen tag.

      For more information, see Managing Modifications That Multiple Developers Make.

  9. Click Generate List.

    The Generate Mid-Level Release dialog box lists the objects that it will export if you click Export.

  10. Click Export.

    Siebel Tools creates a single SDF file in the following directory:

    TOOLS_ROOT\ADM\Mid-Level Release Label\

    where:

    • Mid-Level Release Label is the text you enter in Step 4.

      For example:

    Tools\ADM\GenerateSDF

    Siebel Tools exports modifications that occurred since the date that the Start Date section contains in the Generate Mid-Level Release dialog box. For information about modifying this date, see Exporting Objects to a Mid-Level Release.

Using a Command-Line to Export Modified Objects

This topic describes how to create SDF files from a command-line interface.

To use a command-line to export modified objects

  1. Open a command line interface in the following directory:

    SIEBEL_TOOLS_ROOT\BIN

  2. Enter the following command:

    siebdev /c tools.cfg /l enu /d datasource /u username /p password /t tag name /MidlevelRelease "file type" "midlevel release label" "tag input file" "date and time"

    where:

    • datasource identifies the same data source that you specify in the dialog box when you log in to Siebel Tools.
    • username and password identifies the user name and password you use to log in to Siebel Tools.
    • tag name identifies the tag for the current user. If object tagging is enabled, then you must specify a developer tag when you log in to Siebel Tools or if you use the command line. For example, if you are associated with multiple tags, and if one of these tags is COM, then you can use the following value:

    /t COM

    For more information about object tags, see Managing Modifications That Multiple Developers Make.

    • file type is SDF or SIF.
    • midlevel release label identifies the name of the output folder. It is recommended that you specify an object type. For example, TABLE. For more information, see Step 4.
    • tag input file is an optional parameter that identifies a text file that includes a list of tag names that Siebel Tools uses to identify the objects it must extract. You must include only a single tag name on each line in this text file.
    • date and time is an optional parameter that describes the dates and times of the computer clocks. For more information, see Step 2.
Commands You Can Use to Export Modified Objects

Table 16 lists example commands that you can use to create SDF files from a command-line interface. The tags.txt file that a command references includes a list of tag names. A new line separates each tag name in this file.

Table 16. Example Commands You Can Use to Export Modified Objects
Task You Must Perform
Command You Use

Create an SDF file for a single tag that includes a timestamp.

siebdev /c tools.cfg /l enu /d local /u SADMIN /p SADMIN /t "COM" /MidlevelRelease "SDF" "Test" "D:/tags.txt" "04/01/2012 05:15:16"

Create an SDF file for a single tag that does not include a timestamp.

siebdev /c tools.cfg /l enu /d local /u SADMIN /p SADMIN /t "COM" /MidlevelRelease "SDF" "Test" "D:/tags.txt"

Create an SDF file for multiple tags that include a timestamp.

siebdev /c tools.cfg /l enu /d local /u SADMIN /p SADMIN /t "COM" /MidlevelRelease "SDF" "Test" "D:/tags.txt" "04/01/2012 05:15:16"

Create an SIF file where one file includes all objects.

siebdev /c tools.cfg /l enu /d local /u SADMIN /p SADMIN /t "COM" /MidlevelRelease "SIF" "Test" "SINGLE" "04/01/2012 05:15:16"

Create an SIF file for multiple files, where each file includes one object.

siebdev /c tools.cfg /l enu /d local /u SADMIN /p SADMIN /t "COM" /MidlevelRelease "SIF" "Test" "MULTI" "04/01/2012 05:15:16"

Using Siebel Tools Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.