Previous Topic: Network Installation Management Commands

Next Topic: dpmnim image Command—Deploy an IBM AIX Image Using Individual Resources

dpmnim imgjobcheck Command—Retrieve NIM IBM AIX Imaging Job Status

The dpmnim imgjobcheck command retrieves the IBM AIX image job status for a specific CA Server Automation job ID.

This command has the following format:

dpmnim imgjobcheck [-sc sc_url] -status jobID [[-ws_user username -ws_password password]|[-prompt yes|no]] [-pre] [-post][-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 jobID

Specifies the CA Server Automation job ID used to obtain the job status.

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

-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.

-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: Retrieve the IBM AIX Job Status Using the Job ID

This example obtains the job status of the IBM AIX image using the CA Server Automation job ID 42.

dpmnim imgjobcheck -status 42