Class Config

java.lang.Object
com.softwaremining.Config

public class Config extends Object
Project-wide configuration facility, which uses property file softwaremining.properties placed somewhere within CLASSPATH. See distributed softwaremining.properties for additional comments.
  • Field Details

    • SM_FRAMEWORK_VERSION

      public static final String SM_FRAMEWORK_VERSION
      See Also:
    • SM_FRAMEWORK_CICS_VERSION

      public static volatile String SM_FRAMEWORK_CICS_VERSION
    • SM_FRAMEWORK_ILE_VERSION

      public static volatile String SM_FRAMEWORK_ILE_VERSION
    • SM_FRAMEWORK_VENDOR_SUPPORT_VERSION

      public static volatile String SM_FRAMEWORK_VENDOR_SUPPORT_VERSION
    • SM_FRAMEWORK_VENDOR2_SUPPORT_VERSION

      public static volatile String SM_FRAMEWORK_VENDOR2_SUPPORT_VERSION
    • SM_JCL_XT_VERSION

      public static volatile String SM_JCL_XT_VERSION
    • PROFILE_RUNTIME

      public static volatile boolean PROFILE_RUNTIME
      for switching on built-in profiler
    • TRANSFUSE_BY_REFERENCE

      public static volatile boolean TRANSFUSE_BY_REFERENCE
      for performance tuning
    • FULL_COMPILATION

      public static final boolean FULL_COMPILATION
      For SoftwareMining internal use only
      See Also:
    • FULL_COMPILE_INT_RETURN

      public static final int FULL_COMPILE_INT_RETURN
      See Also:
    • FULL_COMPILE_STRING_RETURN

      public static final String FULL_COMPILE_STRING_RETURN
    • FULL_COMPILE_BOOLEAN_RETURN

      public static final boolean FULL_COMPILE_BOOLEAN_RETURN
      See Also:
    • APP_CHARACTER_ENCODING

      public static volatile String APP_CHARACTER_ENCODING
      Character encoding for applications (mainly used in construction of Strings).
      one of "UTF8" , "UTF16" , "ISO-8859-1" , "US-ASCII" , "IBM-1047" (EBCDIC) or "8859_1" (another EBCDIC ?)
      Defaults to "ISO-8859-1"
    • DB_CHARACTER_ENCODING

      public static volatile String DB_CHARACTER_ENCODING
      Character encoding used in Database access - for translation of VSAM to ORM, and EXEC SQL Statements.
      one of "UTF8" , "UTF16" , "ISO-8859-1" , "US-ASCII" , "IBM-1047" (EBCDIC) or "8859_1" (another EBCDIC ?)
      Defaults to APP_CHARACTER_ENCODING if no value provided
    • DATAFILE_CHARACTER_ENCODING

      public static volatile String DATAFILE_CHARACTER_ENCODING
      Character encoding for import of dataFiles (Used in FileLoaderService)
      one of "UTF8" , "UTF16" , "ISO-8859-1" , "US-ASCII" , or "IBM-1047" (EBCDIC)
      Defaults to APP_CHARACTER_ENCODING if no value provided
    • ORIG_EBCDIC_CHARACTER_ENCODING

      public static volatile String ORIG_EBCDIC_CHARACTER_ENCODING
      Character encoding used on Mainframe.
      this is only used for EBCDIC to ASCII conversion (if any), and when
       USE_SM_EBCDIC_DECODER=false 
    • DATAFILES_ARE_EBCDIC

      public static volatile boolean DATAFILES_ARE_EBCDIC
      Allows running java in default character-set (as assigned on the machine - usually set to -8859-1 ) but reading and writing EBCDIC data files for compatibility with original mainframe.
      defaults to false
    • USE_SM_EBCDIC_DECODER

      public static volatile boolean USE_SM_EBCDIC_DECODER
      Only used for data-migration or working with EBCDIC files.
      When set - The system will use SoftwareMining's built-in utilities for conversion from EBCDIC to ASCI and back.
      Otherwise, it will use JAVA's string encoding/decoding
      When false (ie using java's character encodings) the following parameters need to be set:
      APP_CHARACTER_ENCODING (typically set to default "ISO-8859-1")
      DATAFILE_CHARACTER_ENCODING (Set to "IBM-1047" for Ebcdic data files). When switched off, it will use SoftwareMining's inbuilt conversion.
    • CP500_EBCDIC_CHAR_ENCODING

      public static volatile boolean CP500_EBCDIC_CHAR_ENCODING
    • EBCDIC_JIT_PD_SUPPORT_FOR_SEQ_FILES

      public static volatile boolean EBCDIC_JIT_PD_SUPPORT_FOR_SEQ_FILES
    • LM_CHARACTER_ENCODING

      public static final String LM_CHARACTER_ENCODING
      For internal use only
      See Also:
    • SAFE_MODE

      public static volatile boolean SAFE_MODE
      SAFE_MODE is used in Build and TESTING stage - it runs slower - but do additional runtime checks to help in deployment. Once the system is tested SAFE_MODE can be set to false. This will disable additional checks and improve the performance of system.
    • DEMO_MODE

      public static volatile boolean DEMO_MODE
      By-passes saving altered Indexed-Files
    • COMP4_MAPS_TO_BINARY

      public static volatile boolean COMP4_MAPS_TO_BINARY
      used for COMP-4
    • INCLUDE_ALL_SM_ERRS_ON_STACKTRACE

      public static volatile boolean INCLUDE_ALL_SM_ERRS_ON_STACKTRACE
      Affects log.error(exception) method. By default the system will not include the libraries API calls in the stack-trace. Switching this off will show additional information relating to SM framework API in the stack-traces.
    • ONE_DIM_ARRAY_EXTENTION

      public static volatile int ONE_DIM_ARRAY_EXTENTION
    • LOG_SYSTEM_JRE14

      public static final int LOG_SYSTEM_JRE14
      Represents JRE14 logging
      See Also:
    • LOG_SYSTEM_LOG4J

      public static final int LOG_SYSTEM_LOG4J
      Represents log4j logging
      See Also:
    • CACHE_VALUES

      public static volatile boolean CACHE_VALUES
      Allows caching of non arrayed values on GET-OBJECT Caching can result in significant performance improvement through switching off some COBOL formatting and functionality features. such as ON-Size-Error.
      Applies to String and Integer data-types/fields will get cached on SET. This parameter does not affect Double fields.
      Setting this value to true increases performance - but relies on accuracy of java double calculations, rather than the framework - which duplicates COBOL accuracy.
      For example , take field with definition PIC s9(2)V99 setting value of 7.19999 in COBOL will round to 7.2 But in java will remain as 7.19 .
      setting the value to false will cache on GET operations .. ie the framework will take care of correcting the SET'ed value .
    • CACHE_FORMATTED_VALUES

      public static boolean CACHE_FORMATTED_VALUES
      Used in Formatting the object ..
      for example formatting the number "2" for pic X(10) COMP. is very expensive. Once formatted, the value can be cached in a WeakHashMap
    • OR_ARRAY_INDEX_BASE

      public static volatile int OR_ARRAY_INDEX_BASE
      Object Relational Array Index Base. Java arrays are 0 based, COBOL arrays are 1 based. When splitting Tables containing ARRAYS, this flag indicates whether to save as 0 based or 1 based arrays. Default is Config.ZERO_CHAR based arrays, however, systems such as DATABRIDGE will save as 1 based arrays.
    • POLL_INDEFINITELY

      public static volatile int POLL_INDEFINITELY
    • INDEX_FILE__WRITE_TRIES

      public static volatile int INDEX_FILE__WRITE_TRIES
    • INDEX_FILE__WRITE_TRY_DELAY

      public static volatile int INDEX_FILE__WRITE_TRY_DELAY
    • OR_ARRAY_INDEX_PREFIX

      public static volatile String OR_ARRAY_INDEX_PREFIX
      Object Relational column name for ARRAYS. (Only used in sub-classes of SQLWrapper). When splitting Tables containing ARRAYS, the system can generate 2ndry tables. One column will be assigned to the index. This parameter represents the name of the index. Default is 'INDX_FLD_' , however, systems such as DATABRIDGE use different naming systems - such as "index".
    • OR_DATABRIDGE_DESIGN

      public static final boolean OR_DATABRIDGE_DESIGN
      See Also:
    • OR_ARRAY_INDEX_PREFIX_WITH_CLASSNAME

      public static volatile boolean OR_ARRAY_INDEX_PREFIX_WITH_CLASSNAME
      Object Relational column name for ARRAYS. (Only used in sub-classes of SQLWrapper) When splitting Tables containing ARRAYS, or when dealing with Hierarchical database (Master-Detail) This parameter tells the system whether to prefix the index name with the table name, e.g. weather to produce 'INDX_FLD_' or 'TABLE1_INDX_FLD_'
    • OR_CACHE_PREPARED_STATEMENTS

      public static volatile boolean OR_CACHE_PREPARED_STATEMENTS
      Used in Data population (PopulateDbTableFromSequentialFile) - Reuses the INSERT prepared-statement
    • OR_GENERATE_ORDERBY_FOR_READ

      public static volatile boolean OR_GENERATE_ORDERBY_FOR_READ
    • SORT_USING_EBCDIC_CHARSET

      public static volatile boolean SORT_USING_EBCDIC_CHARSET
      ===== WARNING ====: Please note, DO NOT use when sorting Numeric VALUES In Ebcdic sorting, "A" goes before "a", and numbers go after alphabetic In Ascii / Unicode - it is the reverse . e.g.
       EBCDIC : A B C ... a b c ... 123
       ASCII  : 123   ... a b c ... A B C 
       
    • SORT_DEFAULT_OUTPUT_FORMAT_IS_LINE_SEQUENTIAL

      public static volatile boolean SORT_DEFAULT_OUTPUT_FORMAT_IS_LINE_SEQUENTIAL
      Defines the default format for jcl.sort output files.
    • SORT_COMPS_USING_NUMERIC_VALUE

      public static volatile boolean SORT_COMPS_USING_NUMERIC_VALUE
      TO REMOVE
    • JCL_SORT_MEM_STRATEGY_CACHE_RECORDS

      @Deprecated public static final boolean JCL_SORT_MEM_STRATEGY_CACHE_RECORDS
      Deprecated.
      See Also:
    • JCL_USE_KEY_SORT_MEMORY_STRATEGY

      @Deprecated public static final boolean JCL_USE_KEY_SORT_MEMORY_STRATEGY
      Deprecated.
      See Also:
    • JCL_SORT_MEM_STRATEGY_MIN_FILE_SIZE_MB

      @Deprecated public static volatile long JCL_SORT_MEM_STRATEGY_MIN_FILE_SIZE_MB
      Deprecated.
    • JCL_MEMORY_FILE_SORT_ENABLED

      public static volatile boolean JCL_MEMORY_FILE_SORT_ENABLED
    • JCL_MEMORY_FILE_LARGEST_FILE

      public static volatile int JCL_MEMORY_FILE_LARGEST_FILE
    • JCL_MERGE_SORT_ENABLED

      public static volatile boolean JCL_MERGE_SORT_ENABLED
    • JCL_MERGE_SORT_MAX_FILE_SIZE_MB

      public static volatile long JCL_MERGE_SORT_MAX_FILE_SIZE_MB
    • JCL_MERGE_SORT_MAX_NUMBER_OF_FILES

      public static volatile int JCL_MERGE_SORT_MAX_NUMBER_OF_FILES
    • JCL_MERGE_SORT_BREAK_FILES_CHUNKS

      public static volatile long JCL_MERGE_SORT_BREAK_FILES_CHUNKS
    • JCL_MERGE_SORT_TMP_DIR

      public static volatile String JCL_MERGE_SORT_TMP_DIR
    • CSV_DELIMITOR

      public static volatile String CSV_DELIMITOR
      for importing data-files from Comma-separated-values format.
    • SEQUENTIAL_FILE_EXTENSION

      public static volatile String SEQUENTIAL_FILE_EXTENSION
      SEQUENTIAL_FILE_EXTENSION defaults to ".txt"
    • SEQUENTIAL_NIO_FILE_ARE_MULTIBYTE

      public static volatile boolean SEQUENTIAL_NIO_FILE_ARE_MULTIBYTE
      For Sequential NIO Files. Supports read of files with Multi-byte char sets (e.g. UTF-8). Default is false.
    • USE_PERFORMANT_BUFFERED_SEQUENTIALFILES

      public static volatile boolean USE_PERFORMANT_BUFFERED_SEQUENTIALFILES
    • BUFFERED_SEQUENTIALFILE_BUFFER_SIZE

      public static volatile int BUFFERED_SEQUENTIALFILE_BUFFER_SIZE
    • EXTERNAL_SERVICES_PACKAGE_NAME

      public static volatile String EXTERNAL_SERVICES_PACKAGE_NAME
      Program names retrieveed from services.properties (through serviesFactory) will first look at package-names provided by EXTERNAL_SERVICES_PACKAGE_NAME (if any) before using the default application package
    • locale

      public static volatile Locale locale
    • CONNECTION_FACTORY_IMPL

      public static volatile String CONNECTION_FACTORY_IMPL
      provides ability to override the connectionFactory
    • RETURN_VALUE_FOR_NUMERIC_FIELD_WITH_INVALID_CONTENT

      public static volatile int RETURN_VALUE_FOR_NUMERIC_FIELD_WITH_INVALID_CONTENT
      The value returned when the numeric field (e.g. 9(4)) contains invalid content such as spaces. The return value of 0 has been validated against variety of COBOL Compilers - including Fujitsu COBOL
    • WORD_STORAGE

      public static volatile boolean WORD_STORAGE
      All COBOL platforms uses the different storage type (byte or word) particularly, the FUJITSU / Stratus uses word storage
      (see https://srinimf.com/2016/06/24/stratus-cobol-or-vos-cobol-comp-4-vs-comp-5-and-comp-6/) The wordStorage parameter used for NumericFormatBinary (COMP format) As example - the wordStorage parameter is true for FUJITSU COBOL wordStorage=true standard COBOL
    • ALLOW_TRACE_OF_PRIVATE_DATA

      public static volatile boolean ALLOW_TRACE_OF_PRIVATE_DATA
    • TREAT_SPACE_AS_LOWVAL_WHEN_TESTING_FOR_BLANKS

      public static volatile boolean TREAT_SPACE_AS_LOWVAL_WHEN_TESTING_FOR_BLANKS
    • USE_SIGNED_OVERPUNCH_IN_NUMERICDISPLAY

      public static volatile boolean USE_SIGNED_OVERPUNCH_IN_NUMERICDISPLAY
      A signed overpunch is a code used to store the sign of a number by changing the last digit. It is used in "storage" representation of NUMERIC-DISPLAY formats.
      For example, assigning the number 6 to a field defined with PICTURE "S9" will be internally represented by:
      • "6" when USE_SIGNED_OVERPUNCH_IN_NUMERICDISPLAY=false
      • "F" when USE_SIGNED_OVERPUNCH_IN_NUMERICDISPLAY=true
      For further info see: http://en.wikipedia.org/wiki/Signed_overpunch
    • CONFIG_RESOURCE

      public static volatile String CONFIG_RESOURCE
    • SORT_SUMS_ARE_SIGNED_OVERPUNCH_IN_NUMERICDISPLAY

      public static volatile boolean SORT_SUMS_ARE_SIGNED_OVERPUNCH_IN_NUMERICDISPLAY
    • BMS_EXTENDED_ATTR_LENGTH

      public static volatile int BMS_EXTENDED_ATTR_LENGTH
      Only used in BMS Applications
      Standard Output fields are : L (s9(2)Comp) , A (X), and O (User-defined) when the BMS had EXTATT or MAPATT, potentially 4 extra fields will go in there: C (X1) , P (X1) , H (X) , V (X1),
    • DISPLAY_TARGET_IS_SCREEN_AND_LOGFILE

      public static volatile int DISPLAY_TARGET_IS_SCREEN_AND_LOGFILE
      For Internal use only
      DISPLAY_TARGET option
      Applicable when the application is run from command line, DISPLAY statements / DislayHelper.display(...) is sent to "SCREEN" only with fully formatted information (line/column numbers)
      and File out using Logger (configure to write to File).
    • DISPLAY_TARGET_IS_SCREEN

      public static volatile int DISPLAY_TARGET_IS_SCREEN
      DISPLAY_TARGET option
      Applicable when the application is run from command line, DislayHelper.display(...) will be written out using Logger (configure to write to File). the DISPLAY statements / DislayHelper.display(...) is sent to "SCREEN" only with fully formatted information (line/column numbers)
    • DISPLAY_TARGET_IS_FILE

      public static final int DISPLAY_TARGET_IS_FILE
      For Internal use only
      DISPLAY_TARGET option
      Applicable when the application is run from command line, DISPLAY statements / DislayHelper.display(...) will be written out using Logger (configure to write to File).
      See Also:
    • DISPLAY_TARGET_UNFORMATTED

      public static final int DISPLAY_TARGET_UNFORMATTED
      For Internal use only
      DISPLAY_TARGET option
      DISPLAY statements / DislayHelper.display(...) will be written out as a System.out.println
      See Also:
    • displayTarget

      public static volatile int displayTarget
      translation of DISPLAY "HELLO WORLD" ... which shows information on terminal/console
      Values are set from softwaremining.properties
       DISPLAY_TARGET=xxxx
       
      xxxx Options are:
      UNFORMATTED : Uses System.out.println (Default)
      SCREEN : Formatted output - only works if material is output from a single program (if CALL ANOTHER-PROGRFAM, display statements won't work)
      FILE : uses log4j to write out the DISPLAY (can be directed to CONSOLE and FILE),
      BOTH : Writes to both SCREEN and FILE
    • DISPLAY_REQUEST_ENTRY_MODE__DISABLED

      public static volatile boolean DISPLAY_REQUEST_ENTRY_MODE__DISABLED
      For CICS BMS screens, RequestEntry class should use disabled=true
      other platforms will require different approach .

      A false value will also automatically call clearDisplay before showing new screens (required for Conversational Servlets)
    • JSP_FOLDER

      public static volatile String JSP_FOLDER
    • VIEW_MODE_IS_JSP

      public static volatile boolean VIEW_MODE_IS_JSP
      when set to true - the system will try to find JSP screens instead of XSL Transformation of XML to HTML files.
    • JSP_GENERATE_ID_ATTRIBUTE

      public static volatile boolean JSP_GENERATE_ID_ATTRIBUTE
      JSPScreen.renderXXX will produce elements such as <input name="abc" value=...>
      Enabling this flag will also add id attribute e.g. <input name="abc" id="abc" value=...>
    • CR_LF

      public static volatile String CR_LF
      Override default CR-LF used by the Operating-System (OS) Options are: OS (default) uses Operating-System specified value WINDOWS uses CR-LF UNIX uses CR
    • EBCDIC_NEWLINE

      public static final int EBCDIC_NEWLINE
      EBCDIC uses hex 15 according to https://www.ibm.com/support/knowledgecenter/en/SSMKHH_9.0.0/com.ibm.etools.mft.doc/ac11630_.htm
      See Also:
    • STOP_TRIGGERS_SYSTEM_EXIT

      public static volatile boolean STOP_TRIGGERS_SYSTEM_EXIT
      By default - translation of STOP statement will cause a System.exit(returnCode). Setting this flag to "false" will cause program to stop but not call System.exit - which allows other programs in JVM to continue running
    • JCL_PD_SIZE_REPRESENT_NUMBER_OF_BYTES

      public static volatile boolean JCL_PD_SIZE_REPRESENT_NUMBER_OF_BYTES
      (1,6,PD ...) can represents Number of 6 Bytes or or 6 Digits
    • dataDirectory

      public static volatile String dataDirectory
      DATA_DIRECTORY for read / write of sequential/Indexed/Relative files The value can be set from softwaremining.properties / DATA_DIR
    • printDirectory

      public static volatile String printDirectory
      print files will be placed in this directory, A separate script needs to be scanning this directory, and send the "unlocked" files to printer and then to delete the file. Used primarily by CICS Spool statement
    • sqlDirectory

      public static volatile String sqlDirectory
      SQL_DIR for reading externalized SQL scripts SQL_DIR defaults to /sql The value can be set from softwaremining.properties / DATA_DIR
    • SEQUENTIAL_RECORDS_ARE_VARIABLE_LENGTH

      public static volatile boolean SEQUENTIAL_RECORDS_ARE_VARIABLE_LENGTH
      Sequential files can be Record-SEQUENTIAL or LINE-SEQUENTIAL
      Variable records are LINE-SEQUENTIAL
      fixed Length Records are RECORD SEQUENTIAL (all records concatenated together to form one long line)
      Default = true (Variable length)
    • FIXED_LENGTH_RECORDS_END_WITH_NEWLINE

      public static volatile boolean FIXED_LENGTH_RECORDS_END_WITH_NEWLINE
      Variable records have to be LINE-SEQUENTIAL (use NewLine as delimitor)
      fixedLengthRecords are usually RECORD-SEQUENTIAL. (records concatenated at end of each other) This parameter can be used to also write put new-line character at end of each record in fixed-length-records files.
    • USE_RDW_FOR_SEQUENTIAL_VARIABLE_LENGHT_FILES

      public static volatile boolean USE_RDW_FOR_SEQUENTIAL_VARIABLE_LENGHT_FILES
      RDW is Used in Variable length-Record Sequential files. (The length is variable due to OCCURS-DEPENDING-ON clause.)
      The system will use 4 byte RDW at start of each record to note the record-length.
    • PREFIX_NAME_OF_SEQUENTIAL_FILES_WITH_CALLING_PROGRAM

      public static volatile boolean PREFIX_NAME_OF_SEQUENTIAL_FILES_WITH_CALLING_PROGRAM
      when writing a sequential report file (e.g. Report.txt), the system can append the name of the caller to the report (e.g. InvoiceProgram_Report.txt)
    • DB400SEQUENIAL_DELETE_RECORDS_WHEN_OPEN_FOR_OUTPUT

      public static volatile boolean DB400SEQUENIAL_DELETE_RECORDS_WHEN_OPEN_FOR_OUTPUT
      if set to true, opening DB400 Sequential Files causes all records to be deleted from that particular table..
    • DISPLAY_PF_KEYS_BUTTONS

      public static volatile boolean DISPLAY_PF_KEYS_BUTTONS
      Display's PF Key as BUTTONS on the html screen - this is used in CICS
    • DISPLAY_PF13_TO_PF24

      public static volatile boolean DISPLAY_PF13_TO_PF24
      suppress keys 13-26
    • HTML_PAGE_TIMEOUT

      public static volatile String HTML_PAGE_TIMEOUT
    • USE_XML_FOR_DEBUG_LOG_LEVEL

      public static volatile boolean USE_XML_FOR_DEBUG_LOG_LEVEL
    • DECIMAL_POINT_IS_COMMA

      public static volatile boolean DECIMAL_POINT_IS_COMMA
      the following are to do with DECIMAL POINT IS COMMA
      Note: On development machines which have not been configured to target locale, java can be started as:
       java -Duser.language=en -Duser.country=GB ...
       
    • COMMA_CHAR

      public static volatile char COMMA_CHAR
    • DECIMAL_CHAR

      public static volatile char DECIMAL_CHAR
    • DECIMAL_STRING

      public static volatile String DECIMAL_STRING
    • FIXED_DECIMAL_POINT

      public static final char FIXED_DECIMAL_POINT
      See Also:
    • FIXED_DECIMAL_POINT_STR

      public static final String FIXED_DECIMAL_POINT_STR
      See Also:
    • MIN_DIGITS_FOR_BIG_DICIMAL

      public static volatile int MIN_DIGITS_FOR_BIG_DICIMAL
    • ADDITIONAL_COMP3_DIGITS_FOR_BIGDECIMALS

      public static volatile int ADDITIONAL_COMP3_DIGITS_FOR_BIGDECIMALS
    • CURRENCY_SIGN_CHAR

      public static volatile char CURRENCY_SIGN_CHAR
      for internal use only
      use Config.setCurrencySign to change currency from $
    • CURRENCY_SIGN

      public static volatile String CURRENCY_SIGN
      for internal use only
      use Config.setCurrencySign to change currency from $
    • CURRENCY_SIGN_REG_EXP1

      public static volatile String CURRENCY_SIGN_REG_EXP1
      for internal use only
    • FORMAT_STR

      public static volatile String FORMAT_STR
    • CENTURY_FORMAT_STR

      public static volatile String CENTURY_FORMAT_STR
    • FORMATTED_CENTURY_FORMAT_STR

      public static volatile String FORMATTED_CENTURY_FORMAT_STR
    • US_FORMAT_STR

      public static volatile String US_FORMAT_STR
    • CURRENT_DATE_FORMAT_STR

      public static volatile String CURRENT_DATE_FORMAT_STR
    • DB_DATE_RETURN_FORMAT_STR

      public static volatile String DB_DATE_RETURN_FORMAT_STR
    • ESQL_DATE_RETURN_FORMAT_STR

      public static volatile String ESQL_DATE_RETURN_FORMAT_STR
    • DB2_NULL_DATE_REPLACEMENT_STR

      public static volatile String DB2_NULL_DATE_REPLACEMENT_STR
    • SPACE_BYTE

      public static volatile byte SPACE_BYTE
    • SPACE_CHAR

      public static volatile char SPACE_CHAR
    • IS_RUNNING_ON_MAINFRAME

      public static final boolean IS_RUNNING_ON_MAINFRAME
      See Also:
    • IS_RUNNING_ON_WINDOWS

      public static volatile boolean IS_RUNNING_ON_WINDOWS
    • POINTER_PICTURE

      public static volatile String POINTER_PICTURE
      Used in CBLPointer constructor. Default definition for Pointer data-types (usually 4 Byes).
    • POINTER_COMP_MODE

      public static volatile int POINTER_COMP_MODE
      Used in CBLPointer constructor. Default definition for Pointer data-types (usually 4 Byes).
    • TMP_DYNAMICALLY_RESIZE_TARGET_OF_POINTER_DAO_WHEN_NECESSARY

      public static final boolean TMP_DYNAMICALLY_RESIZE_TARGET_OF_POINTER_DAO_WHEN_NECESSARY
      See Also:
    • TMP_CACHE_LIVE_SERVICES

      public static final boolean TMP_CACHE_LIVE_SERVICES
      See Also:
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • useEbcdicDataFiles

      public static void useEbcdicDataFiles(boolean newValue)
      for interal use only
      Parameters:
      newValue -
    • isUsingEbcdicDataFiles

      public static boolean isUsingEbcdicDataFiles()
    • getLogSystem

      public static int getLogSystem()
    • getScreenXSL

      public static String getScreenXSL()
    • getDataDirectory

      public static String getDataDirectory()
    • getPrintDirectory

      public static String getPrintDirectory()
      information picked up from softwaremining.config PRINT_DIR Defaults to dataDirectory
    • setDataDirectory

      public static void setDataDirectory(String newDataDirectory)
    • setSequentialFileExtention

      public static void setSequentialFileExtention(String newExtention)
      Allows overriding SEQUENTIAL_FILE_EXTENSION which defaults to ".txt" at run time
      Parameters:
      newExtention -
    • setDecimalIsComma

      public static void setDecimalIsComma(boolean useComma)
    • setLocale

      public static void setLocale(String language, String country)
    • setCurrencySign

      public static void setCurrencySign(char currencySign)
    • getEnvironmentVariable

      public String getEnvironmentVariable(String enviromentVariableName)
      get Environment variable from machine configuration
      Parameters:
      enviromentVariableName -
      Returns:
    • getDecimalPointCommaNumberFormat

      public static NumberFormat getDecimalPointCommaNumberFormat()
    • reloadProperties

      public static void reloadProperties()
    • loadDefaultProperties

      public static void loadDefaultProperties()
      for internal use - read and applies configuration values from property file
      Parameters:
      propertyFileName - (default softwaremining.properties)
    • loadProperties

      public static void loadProperties(String propertyFileName)
      for internal use - read and applies configuration values from property file
      Parameters:
      propertyFileName - (default softwaremining.properties)
    • getPropertiesFile

      public static Properties getPropertiesFile()
      for internal use - get the application property file corect.propertis
      Returns:
    • toPrintString

      public static String toPrintString()