Previous Topic: dpmsd list Command--List Software Packages

Next Topic: dpmsd setmanagedstatus Command--Set Management Status of Package

dpmsd pkgjobcheck Command--Get Package Deployment Job Status

The dpmsd pkgjobcheck command obtains the operating system deployment job status for a specific CA Server Automation job ID.

This command has the following format:

dpmsd pkgjobcheck [-sc sc_url] -status jobID [-itcm_server itcmdomainmanager] [-pre][-post][-ws_user username -ws_password password][-locale iso629value]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-status={job ID}

Defines the job ID used to obtain the job status.

-itcm_server itcmdomainmanager

(Optional) Defines the name of the ITCM Domain Manager where the software delivery adapter resides and where the operation is performed. Optional when only one SD adapter or ITCM domain manager is configured. This parameter is valid only for CA Server Automation.

-pre

(Optional) Specifies whether to generate an event before the operation is performed.

-post

(Optional) Specifies whether to generate an event after the operation is performed.

-ws_user username -ws_password password

(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination (for example: fr_FR for French) to override the default English output. To use the locale of the command prompt, specify "native".

Example: Get the Package Deployment Job Status Using the Job ID

This example gets the software package deployment status for a specific CA Server Automation job ID.

dpmsd pkgjobcheck -status 47

Example: Get the Package Deployment Job Status Using the Job ID in a Multiple ITCM Domain Manager Environment

This example gets the software package deployment status for a specific CA Server Automation job ID. This operation is routed to the sd adapter on ITCM domain manager domainmanager001.

dpmsd pkgjobcheck -status 47 - itcm_server domainmanager001