Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Command Reference


ajsexport

Organization of this page

Format

ajsexport
     -o package-file-name
     export-unit-name

Description

This command can be used for the packaging feature provided by JP1/AJS3. You can only use these commands in a batch file or shell script for the packaging function.

To back up ordinary units, use the ajsprint or ajsbackup command.

This command exports all units under several units into a single package file (you can import the package file using the ajsimport command).

If the AJSPRINTNETSCHPRF environment setting parameter specifies the dependency on the schedule for the upper-level jobnet, you can specify either of the following methods to output the unit definition information for the nested jobnet having a schedule rule:

For details about how to set the AJSPRINTNETSCHPRF environment setting parameter, see 20.4.2(79) AJSPRINTNETSCHPRF in the JP1/Automatic Job Management System 3 Configuration Guide.

Execution privileges

You must have any of the following JP1 privileges:

Arguments

-o package-file-name

Specify the name of the file in which you want to package units.

You can specify a character string of 1 to 255 bytes.

export-unit-name

Specify the units you want to package, in the following format:

Format
scheduler-service-name:/unit-full-name
Specification method

You can specify a character string of 1 to 930 bytes.

You can specify wildcard characters only for the full last element name of the unit name.

Notes on specification

You cannot export the root job group (/).

Notes

Return values

0

Normal end

Multiple of 4 within the range from 4 to 124

Abnormal end