# Setting up an Environment for Disk Logging and Tracing

If you want to use the Substation ES Disk Logging and Tracing feature, you have to define, initialize, and modify your operational settings.

Edit the data sets and selected members in the following steps. Follow the instructions in the member and submit it for execution.

## Prerequisites

A Substation ES LTA Disk file is set up. For details, see the steps in the section about "Substation ES LTA Disk File Setup" in the Substation ES Operations and Administration manual.

## Procedure

1. Define the LTA Disk file definitions and allocation.
   Data Set: `USERHLQ.JCL`
   Member: `SXGLDEF`
   Note: If you intend to use VSAM DISK LOGGING or TRACING on a heavily used Substation ES, you can reduce the overhead of the VSAM disk I/O by increasing the VSAM "RECSZ" parameter found in JOB <userhlq>.JCL(SXGLDEF). For Log VSAM file, change 2400 to 8096 (the size will vary based on machine and disk throughput). For the Trace VSAM file, change 9200 to 16384. To get the best results for your installation, TIBCO recommends that you try different sizes (8K, 12K, 16K, etc).
2. Initialize the LTA disk files.

   For the procedure on how to change the default settings, see the TIBCO Substation ES Operations and Administration manual.

   Data Set: `USERHLQ.JCL`

   Member: `SXGLINIT`

3. Customize the LTA Services Utility.

   For the procedure on how to change the default settings, see the TIBCO Substation ES Operations and Administration manual.

   Data Set: `USERHLQ.JCL`

   Member: `SXGLUTIL`

4. Update the System Startup Parameters (SSP) member.

   Edit your SSP member and reflect the changes on the required keywords.

   Data Set: `USERHLQ.PARM`

   Member: `SXSSSP$1`

Copyright © TIBCO Software Inc. All rights reserved.