Hitachi

JP1 Version 12 JP1/Client Process Automation Configuration and Administration Guide


cpajobprint

Organization of this page

Function

Outputs the definition information for a job or item to a file.

The command output result is redirected and saved as a definition file. A job or item can be registered by specifying the definition file in the cpajobentry command or loading it from the Job Design View or the Item Design View.

Example:
cpajobprint -i Job1 > output-file-name.xml

Format

cpajobprint
      {  -i job-name
       | -f action-flow-item-name
       | -c calendar-item-name
       | -a action-item-name
       | -d execution-date-item-name
       | -t execution-time-item-name  }
> output-file-name.xml

Permission for execution

None

Arguments

-i job-name

Outputs the definition information for the specified job.

Only one job can be specified.

For the job name, you can use multibyte characters, half-width alphanumeric characters, and underscores (_), and the length of the name is from 1 to 45 bytes.

-f action-flow-item-name

Outputs the definition information for the specified item.

Only one item can be specified.

For the item name, you can use multibyte characters, half-width alphanumeric characters, and underscores (_), and the length of the name is from 1 to 45 bytes.

-c calendar-item-name

Outputs the definition information for the specified item.

Only one item can be specified.

For the item name, you can use multibyte characters, half-width alphanumeric characters, and underscores (_), and the length of the name is from 1 to 45 bytes.

-a action-item-name

Outputs the definition information for the specified item.

Only one item can be specified.

For the item name, you can use multibyte characters, half-width alphanumeric characters, and underscores (_), and the length of the name is from 1 to 45 bytes.

-d execution-date-item-name

Outputs the definition information for the specified item.

Only one item can be specified.

For the item name, you can use multibyte characters, half-width alphanumeric characters, and underscores (_), and the length of the name is from 1 to 45 bytes.

-t execution-time-item-name

Outputs the definition information for the specified item.

Only one item can be specified.

For the item name, you can use multibyte characters, half-width alphanumeric characters, and underscores (_), and the length of the name is from 1 to 45 bytes.

> output-file-name.xml

Specify the output file name as a redirect destination. The extension must be .xml.

Note

When the -c item or -c jds option is used in the cpareport command to output the information of the item or job list, and the item name or job name that is output is specified as an option of the cpajobentry command, the definition information can be output by item or job type.

Return values

0

Succeeded

40

Insufficient resources

58

Invalid argument

67

The specified job or item does not exist.

96

The job or item is invalid.

111

File access error

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

Notes