Hitachi

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


ajstrsetsz

Organization of this page

Format

ajstrsetsz
     [-F scheduler-service-name]
     [-s size]

Description

Changes or references the size of the current trace log file or the trace log file for a specified scheduler service.

If you execute this command, without specifying any arguments, the system outputs the size of the current trace log file to the standard output file.

Execution privileges

In Windows: Administrators privilege

In UNIX: Superuser privilege

Arguments

-F scheduler-service-name

Specify the service name of the scheduler service for which the trace log file is to be processed.

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

You can specify this option only if the value of the environment setting parameter TRACELOGDIV is yes.

If you specify this option, the trace log file for the specified scheduler service is subject to processing. The trace log file for the scheduler service is output to the folder specified in the environment setting parameter TRACELOGDIVDIR.

If you omit this option, the trace log file that has the path name specified in the environment setting parameter TRACELOGFILE is subject to processing.

-s size

Specify the size of a trace log file.

You can specify a value between 64 and 2,097,151 (kilobytes).

If you omit this option, the size of the current trace log file or the trace log files for individual scheduler services is output to the standard output file.

Notes

Return values

0

Normal end

Multiple of 4 within the range from 4 to 124

Abnormal end

Example 1

The following command changes the size of the trace log file from the default to 3 megabytes (3,072 kilobytes).

ajstrsetsz -s 3072

Example 2

The following command increases the size of the trace log file for AJSROOT2 (among the scheduler services that are running concurrently) from the default to 3 megabytes (3,072 kilobytes) .

ajstrsetsz -F AJSROOT2 -s 3072

Example 3

Outputs the size of the currently selected trace log to the standard output file.

ajstrsetsz
Output example:
SIZE:64KB

Example 4

The following command outputs the size of the trace log file for AJSROOT2 (among the scheduler services that are running concurrently) to the standard output file.

ajstrsetsz -F AJSROOT2
Output example:
SIZE:3072KB