Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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



 

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

BMC Server Automation Command Line Interface 8.3