import


Use the <import> command element to import objects into the LGC datastore:

These objects can include:

  • A single option set
  • Many option sets
  • Products with their defined option sets
  • Solutions with their defined option sets and products
  • Datastore configurations

Input to the <import> command can be the output from an <export> command.

Parent element: <lgcutil>

Child elements: <ddname> (1:1)

Attributes:

Name

Type

Required?

Default

Description

replace

string

no

no

Valid values are yes and no.

If you specify yes, any solution definition, product definition, or option set that you import will replace any existing object of the same name.

duplicate

string

no

error

Valid values are error and warning.

If you specify warning, any duplicate object errors are reported as warnings.

setstats

string

no

no

Valid values are yes and no.

If you specify yes, the statistics in each object reflect the date, time, and user ID of the job. Otherwise, the statistics are unchanged from the imported file.

Example:

<lgcutil version="1010">
   <import replace="yes">
      <ddname>IMPXML</ddname>
   </import>
</lgcutil>



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*