cpajobdelete
- Organization of this page
Function
Deletes an existing job or items.
Format
cpajobdelete -c {jds -i job-name | action_group -a action-flow-item-name | calendar -a calendar-item-name }
Permission for execution
None
Arguments
- -c jds -i job-name
-
Deletes the specified job. If the job is running, the job is stopped forcibly and then deleted.
A job name can include multibyte characters, alphanumeric characters, and underscores (_) and the length must be from 1 to 45 bytes.
- -c action_group -a action-flow-item-name
-
Deletes the definition of an action flow. If the specified action flow is referenced by an existing job executed on time, an error occurs when the job runs next time.
An item name can include multibyte characters, alphanumeric characters, and underscores (_) and the length must be from 1 to 45 bytes.
- -c calendar -a calendar-item-name
-
Deletes the definition of a calendar. If the specified calendar is referenced by an existing job executed on time, an error occurs when the schedule is updated next time.
An item name can include multibyte characters, alphanumeric characters, and underscores (_) and the length must be from 1 to 45 bytes.
Return values
0 |
Succeeded |
40 |
Insufficient resources |
52 |
Could not access the file. |
58 |
Syntax error in arguments |
63 |
Cannot delete because the job is running. |
66 |
The specified job or item does not exist. |
124 |
Failed to delete an internal file. |
125 |
System error |
126 |
Program error |
Environment requirements
This command can run regardless of whether the job execution service is running or stopped.
Command stored in:
install-path\bin
Note that the command is stored in the following folder by default.
- In a 32-bit operating system:
-
%ProgramFiles%\Hitachi\JP1CPA\bin
- In a 64-bit operating system:
-
%ProgramFiles(x86)%\Hitachi\JP1CPA\bin