Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



Add new options to display all configuration settings and to output in JSON format

Release Behavior

Options did not exist

Current Release Behavior

jsh ~ -->config-strings -h

Description: Displays jBASE Config_EMULATE settings.
Usage:      config-strings {options}
            config-strings -h | -help | -?

   -a -all, display all configuration options indicating which ones
            are set and which are unassigned.
   -c -compact, display in compact format: key = value
   -e -emulation <<mode>>, display section for emulation <<mode>>
   -j{n} -json{n}, output is in JSON, where "n" specifies the JSON format.
                   Refer to the documentation for the $tojson() method.
                   This option produces an array with 2 elements:
                      array[0] is a header object, e.g.
                               "date":"06 feb 2019",
                      array[1] is an object with the emulation settings
   -l -list, list sections in config_EMULATE
   -@, display @ values

    config-strings           display current emulation settings.
    config-strings -j        display current emulation settings, output as JSON
    config-strings -a        display all configuration settings
    config-strings -a -j1    display all settings, output as JSON and is formatted
    config-strings -e prime  display settings for the prime emulation
    config-strings -e d3 -@  display settings and @ values for the d3 emulation
    config-strings -l        list sections in Config_EMULATE.

Was this article helpful?