# JBCDEV_LIB

Updated: 10/19/2020, 10:24:56 AM
Created: 10/19/2020, 10:24:56 AM
Last Updated By: Daniel Klein
Read Time: 1 minute(s)

Tags: environment variables

# Description

This environment variable defines the directory where user shared object libraries will be built when subroutines are CATALOGed.

# Values

Valid file path.

# Default

%HOME%\lib (Windows) $HOME/lib (UNIX)

# Note

It is good practice to set JBCDEV_LIB explicitly rather than relying on the default setting. This is because the value of the HOME environment variable may change (for example after a LOGTO).

The value of JBCDEV_LIB can be overridden with CATALOG command using the -L option, e.g. CATALOG -L /home/templib mysub.

# Setting

As per normal environment variable.

# UNIX

JBCDEV_LIB=/home/TESTBASE/lib
export JBCDEV_LIB
1
2

# Windows

SET JBCDEV_LIB=C:\dev\TESTBASE\lib
1

See also: JBCDEV_BIN, JBCOBJECTLIST.

Go Back to Environment Variables