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, and RPM Linux

groupName

String

Full qualified name of the patch catalog.

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"`

Example

The following example gets a handle to a RPM Linux Patch Catalog Update Job for a given Name and Catalog Type.

Script

JOB_KEY=`blcli PatchCatalog getCUJDBKeyByFullyQualifiedCatalogName RPMLINUX "$CAT_NAME"`

 

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