Hitachi

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


ajsqlexecsetsz

Organization of this page

Format

For JP1/AJS3 - Manager:
ajsqlexecsetsz
     [[-a] [-h logical-host-name]|-f]
     [-s size]
For JP1/AJS3 - Agent:
ajsqlexecsetsz
     [-a]
     [-h logical-host-name]
     [-s size]

Description

The ajsqlexecsetsz command changes the size of the internal log file for execution of queueless jobs or outputs the file size that is currently set.

Execution privileges

In Windows: Administrators privileges

In UNIX: Superuser privileges

Storage directory

In Windows:

JP1/AJS3 - Manager-installation-folder\bin\

JP1/AJS3 - Agent-installation-folder\bin\

In UNIX:

/opt/jp1ajs2/bin/

Arguments

-a

Specify this option if the internal log file for which you want to change the size or output the current size setting to the standard output is ajsqlexeclog, which contains log data output by the queueless agent service.

You cannot specify this option with the -f option.

-h logical-host-name

Specify the name of the logical host that contains the ajsqlexeclog file, which is the target file if the -a option is specified. If the -h option is omitted, the physical host is assumed.

You cannot specify the -h option if you specify the -f option.

-f

Specify this option if the internal log file for which you want to change the size or output the current size setting to the standard output is ajsqlexeclog_ftpd, which contains log data output by the queueless file transfer service.

You cannot specify this option with the -a option.

-s size

If you want to use the command to change the size of the internal log file for execution of queueless jobs, specify the new file size in kilobytes.

You can specify a value from 2,048 to 2,097,151. If this option is omitted, the current size setting of the internal log file for execution of queueless jobs is output to the standard output.

Notes

  1. Before executing this command, you must set up a queueless job execution environment. If the queueless job execution environment has not yet been set up, execute the ajsqlsetup command to set up the queueless job execution environment. If you execute this command in a cluster environment, set up the queueless job execution environment for the relevant logical host.

    For details on the ajsqlsetup command, see ajsqlsetup in 4. Commands Used for Special Operation.

  2. If you use this command to decrease the size of the internal log file for execution of queueless jobs, the contents of the file are cleared.

  3. The internal log file for execution of queueless jobs is created on the local disk regardless of whether the host is a physical host or logical host. Therefore, you need to execute this command on both the primary and secondary nodes.

Return values

0

Normal end

Other than 0

Abnormal end

Example

In this example, the command increases the size of the ajsqlexeclog file on logical host Lhost to 32,768 KB (32 MB).

ajsqlexecsetsz -a -h Lhost -s 32768