Skip to main content

Kiwiplan - KIDSENV Settings

MAXPROC=999

TERM=vt100

KIDSLOGDIR=$PLANT/tmp
KIDSLOGMAX=1000000
KIDSLOGLEVEL=-4

The KWSQL_LOG variable is a system-level setting in Kiwiplan that controls logging options for the SQL interface, although ISAM can also utilize these logs. It allows you to specify the log level, which can be one of the following:

  • all: Logs everything.
  • error: Logs only errors.
  • warn: Logs warnings and errors.
  • query: Logs queries, warnings, and errors.
  • info: Logs informational messages.
  • none: Disables logging entirely.

For example, setting the log level to error will only display errors, while setting it to query will display queries, warnings, and errors
KWSQL_LOG=query

The KWLOCK_TIME_LOG variable is a system-level diagnostic setting in Kiwiplan. It causes the application to abort if a lock remains active for a specified number of seconds
KWLOCK_TIME_LOG=15

The KWLOCK_TIME_COUNT variable is a system-level diagnostic setting in Kiwiplan. It causes the application to abort if a lock remains active for a specified number of iteration counts
KWLOCK_TIME_COUNT=15

The KIWI_NO_CATCH_HUP variable is a system-level setting in Kiwiplan that turns off the catching of HUP (hangup) signals. This means the application will not handle or respond to HUP signals when this variable is specified. This one if for MDC that  keeps shutting down
export KIWI_NO_CATCH_HUP=1

The KIWI_LOCK_NOPID variable is a system-level setting in Kiwiplan that forces the process ID to be written to the lock file when a process locks a file. However, it comes with a warning that setting this variable can affect performance. This one is for the lock files
export KIWI_LOCK_NOPID=1
GEN/IN use lock monitor N