CA TPX Session Management for z/OS

Tech Tip: How to cleanup XCOM.LOG file for XCOM LUW (Linux Unix Windows) 

04-25-2017 10:47 AM

Did you know how to cleanup XCOM.LOG file for XCOM LUW (Linux Unix Windows)?

You can use the XCOMLOG utility to clear out old messages:

Purge the Log File

CLEANLOG purges entries from the CA XCOM Data Transport transfer and error log. Run this program on a regular basis to ensure that the log file does not grow too large. Back up the XCOM.LOG before running this program as all items older than the specified age are deleted.

Note: CA XCOM Data Transport should be idle when you run this program.

Syntax

The syntax for CLEANLOG is as follows:

CLEANLOG number_of_days_old [log_file_name]

number_of_days_old

Entries in the log longer than the number of days specified are purged.

log_file_name

The name of the log file to clean (optional). The default is the XCOM.LOG file in the current directory. If not specified, the log file name defaults to $XCOM_HOME/xcom.log where $XCOM_HOME is an environment variable.

Example

CLEANLOG 5

This command removes entries in XCOM.LOG that are older than five days. 

 

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.