//========================================================= // AS/400 Toolbox for Java //--------------------------------------------------------- // Sample properties class source file // // Compile this source file and store the class file in // the classpath. //========================================================= package com.ibm.as400.access; public class Properties extends java.util.Properties { public Properties () { /*---------------------------------------------------------*/ /* Proxy server system properties */ /*---------------------------------------------------------*/ // This system property specifies the proxy server host name // and port number, specified in the format: hostName:portNumber // The port number is optional. put ("com.ibm.as400.access.AS400.proxyServer", "hqoffice"); /*---------------------------------------------------------*/ /* Trace system properties */ /*---------------------------------------------------------*/ // This system property specifies which trace categories to enable. // This is a comma-delimited list containing any combination of trace // categories. The complete list of trace categories is defined in // the Trace class. put ("com.ibm.as400.access.Trace.category", "error,warning,information"); // This system property specifies the file to which trace output // is written. The default is to write trace output to System.out. put ("com.ibm.as400.access.Trace.file", "c:\temp\trace.out"); } }