PatchCatalog - getCUJDBKeyByFullyQualifiedCatalogName
PatchCatalog - getCUJDBKeyByFullyQualifiedCatalogName
Description :
This command returns the DBKey of a Patch Catalog Update Job. You must provide the full path to the associated Catalog(for example, /SolarisCatalogs/Solaris). This command returns a handle to the patch catalog. It can be used in other commands that need to reference the Patch Catalog
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
type | String | Type of the patch catalog. One of the following values: WINDOWS, REDHAT, SOLARIS, AIX, OTHERLINUX |
groupName | String | Full Qualified name of the patch catalog |
Examples :
Example
The following example gets a handle to a Windows Patch Catalog Update Job for a given Name and Catalog Type.
Script
JOB_KEY=`blcli PatchCatalog getCUJDBKeyByFullyQualifiedCatalogName WINDOWS "$CAT_NAME"`
Example
The following example gets a handle to a Redhat Patch Catalog Update Job for a given Name and Catalog Type.
Script
JOB_KEY=`blcli PatchCatalog getCUJDBKeyByFullyQualifiedCatalogName REDHAT "$CAT_NAME"`
Example
The following example gets a handle to a Solaris Patch Catalog Update Job for a given Name and Catalog Type.
Script
JOB_KEY=`blcli PatchCatalog getCUJDBKeyByFullyQualifiedCatalogName SOLARIS "$CAT_NAME"`
Example
The following example gets a handle to a Aix Patch Catalog Update Job for a given Name and Catalog Type.
Script
JOB_KEY=`blcli PatchCatalog getCUJDBKeyByFullyQualifiedCatalogName AIX "$CAT_NAME"`
Example
The following example gets a handle to a Other Linux Patch Catalog Update Job for a given Name and Catalog Type.
Script
JOB_KEY=`blcli PatchCatalog getCUJDBKeyByFullyQualifiedCatalogName OTHERLINUX "$CAT_NAME"`