LGCUTIL batch utility
The LGCUTIL batch utility allows you to pass commands to the LGC component.
All commands are passed to LGCUTIL within the <lgcutil> element (as described in lgcutil).
<commandname>
<commandcontent></commandcontent>
</commandname>
</lgcutil>
The following table lists the command elements that you can issue through the LGCUTIL utility.
Command elements for the LGCUTIL utility
Command | Description | Reference |
---|---|---|
create | Creates a new option set | |
deregister | Removes an object's registration entry from the LGC datastore | |
export | Exports products, solutions, or option sets to a sequential file | |
import | Imports option sets or product and solution definitions into the LGC datastore | |
list | Lists the registration information for one or more products or a DBC SSID or group | |
migrate | Migrates option sets to a new release Note: Do not issue this command unless directed to do so by BMC Support. | |
register | Registers an object to the LGC datastore | |
rename | Renames one or more option sets. | |
update | Updates option sets. Note: Do not issue this command unless directed to do so by BMC Support. |
In the description of the elements, the notation following the child elements indicate occurrence information.
- The first number denotes the minimum occurrences of the element (0 indicates that the element is optional).
- The second number denotes the maximum occurrences of the element (* means unlimited).
Descriptions of elements that are used within these elements are described in Supporting-elements.
The following figure shows an example of sending a command to LGCUTIL.
Example of sending a command to LGCUTIL
// NOTIFY=&SYSUID,TIME=1444
//*ROUTE XEQ BMCPLX1
/*JOBPARM SYSAFF=DB2A
//*--------------------------------------------------
//* Example: Create a new option set
//*--------------------------------------------------
//LGC EXEC PGM=LGCUTIL
//STEPLIB DD DISP=SHR,DSN=LGC.LOAD
//LGCUTLPR DD SYSOUT=*
//LGCUTLER DD SYSOUT=*
//STDIN DD *
<lgcutil version="1010">
<create>
<optionset>
<prodcode>DOM</prodcode>
<prodvrsn>1010</prodvrsn>
<name>MSM$OPT8</name>
<description>New option set</description>
</optionset>
</create>
</lgcutil>