MAX_JOB_LOG_SIZE - USAP configuration option
Description
The MAX_JOB_LOG_SIZE option specifies the maximum size for job logs.
Job logs exceeding the maximum size will not be transferred.
If a job log exceeds the configured MAX_JOB_LOG_SIZE, the UNV3064W warning message is issued and the USAP exit code is set to a WARNING (1 on Windows and UNIX, 4 on z/OS).
For example:
UNV3064W Job log exceeds user specified maximum size limit of 1055 bytes. UNV3065I Job......................: BTCSPOOL/17031600 UNV3066I TemSe object name........: JOBLGX17031600X56330 UNV3067I SAP R/3 client...........: 800 UNV3068I Size of job log..........: 1056 bytes
A calculation then is made to determine the maximum lines that should be able to be safely retrieved - per the configured MAX_JOB_LOG_SIZE.
Informational message UNV5891I is issued to inform that the last n number of lines will be retrieved for the job log.
For example:
UNV5891I Retrieving last 1024 lines of the job log.
Usage
Method | Syntax | IBM i | HP NonStop | UNIX | Windows | z/OS |
---|---|---|---|---|---|---|
Command Line, Short Form | n/a | |||||
Command Line, Long Form | -max_log_size size | |||||
Environment Variable | USAPMAXLOGSIZE=size | |||||
Configuration File Keyword | max_log_size size |
Value
size is the maximum size for job logs.
size can be suffixed with either:
- M (for megabytes)
- K (for kilobytes)
Default is 1536M.
Command Usage
The MAX_JOB_LOG_SIZE option is used in the following Universal Connector commands: