Loading...

Commvault End-User Non-Interactive Command Line Operations for IBM i File System Example: job_status

Name

job_status

Synopsis

job_status [-h] -jid JOBID [-i INSTANCENAME] [-k KEY] [-tf TOKENFILEPATH] [-of OUTPUTFILEPATH]

Description

Returns the current status and the completion flag of a given Job ID. Valid job status values are:

  • Running
  • Pending
  • Completed

The table lists the options that the software supports.

Option

Description

-jid

The job ID.

-i

The instance name.

-k

The 16-character encryption key.

-tf

The path to the token file.

-of

The path to the output file.

-h,--help

Displays help.

Example

Return the Job Status

The following command returns the status of a job. In this example, the parameters are listed on the command line.

python3 cvc.py job_status -tf objfile -jid 13478
<?xml version="1.0" ?>
<Task>
<job_status>Completed</job_status>
</Task>

Last modified: 11/14/2018 11:37:22 AM