HCL Workload Automation, Version 9.4

jobdetails command - Viewing details on jobs

Use the jobdetails command to view details on submitted jobs.

Syntax

jobdetails ?

jobdetails [-usr user_name -pwd password] -id job_ID [-v ][-configFile configuration_file]

Description

This command displays details on submitted jobs using the unique ID created at job submission. To retrieve the job ID after submitting the job, use the jobquery command specifying the -name parameter.

Options

?
Displays help information.
-usr username
Specifies the username for a user authorized to perform operations on the command line. This parameter is required when security is enabled and the username is not defined in the CLIConfig.properties configuration file (with the tdwb_user keyword).
-pwd password
Specifies the password for a user authorized to perform operations on the command line. This parameter is required when security is enabled and the password is not defined in the CLIConfig.properties configuration file (with the tdwb_pwd keyword).
-id job_ID
Specifies the unique job ID created at submission time. This parameter is required.
-v
Displays job details.
-configFile configuration_file
Specifies the name and path of a custom configuration file. This parameter is optional. If this parameter is not specified, the default configuration file is assumed. For more information on the configuration file, see Command-line configuration file.

Authorization

The user name and password for the command are defined in the CLIConfig.properties file. To override the setting defined in this file, you can enter the user name and password when typing the command. For more information on the CLIConfig.properties file, see Command-line configuration file.

Return Values

The jobdetails command returns one of the following values:
0
Indicates that jobdetails completed successfully.
< > 0
Indicates that jobdetails failed.

Examples

  1. To view run information on a job with ID 617c9bf7095787c83e1c36744e569ceb, type the following command:
    jobdetails -id 617c9bf7095787c83e1c36744e569ceb
    An output similar to the following is displayed:
    Call Job Dispatcher to get the job properties.
    Success return from Job Dispatcher.
    Job Identifier: 617c9bf7095787c83e1c36744e569ceb
    Job Name: CLIJSB11
    Job Alias: alias
    Job State: SUBMITTED
    Job Submitter: null
    Client Notification: http://lab135200.romelab.it.abc.com:9550
    /RAServiceWS/services/Allocation
    Job Last Status Message:
    Job Submit Time: Tue May 23 15:43:44 CET 2009
    Job Start Time: Tue May 23 14:49:51 CET 2009
    Job End Time: Tue May 23 14:49:51 CET 2009
    Job Duration: PT0S
    Job Return Code: 0
    Job Resource Name: LAB237010
    Job Resource Type: ComputerSystem
    Job Usage Metric Name: StartTime
    Job Usage Metric Type: null
    Job Usage Metric Value: 1148388591000
    Job Usage Metric Name: EndTime
    Job Usage Metric Type: null
    Job Usage Metric Value: 1148388591000
  2. To submit the job with ID 617l9jw7095787g83f1c36744e569glf using the configuration parameters specified in the custom_config.properties configuration file, type the following command:
    jobdetails -id 617l9jw7095787g83f1c36744e569glf -configFile 
    /opt/test/custom_config.properties
  3. To view the status of a job with ID 617c9bf7095787c83e1c36744e569ceb, type the following command:
    jobdetails -id 617c9bf7095787c83e1c36744e569ceb
    An output similar to the following is displayed:
    Call Job Dispatcher to get the job properties.
    Success return from Job Dispatcher.
    Job ID: 617c9bf7095787c83e1c36744e569ceb
    Status: SUBMITTED
  4. To view details on the job with ID 617c9bf7095787c83e1c36744e569ceb using the configuration parameters specified in the custom_config.properties configuration file, type the following command:
    jobdetails -jsdl 617c9bf7095787c83e1c36744e569ceb -configFile 
    /opt/test/custom_config.properties