Adds directories to the CLASSPATH, enabling classes located within those directories to be utilized.
Restriction: This directive is supported for JVM COBOL only.
>>---JVMCLASSPATH-"directory"--------><
Parameters
- directory
- The name of a directory containing classes referenced in the source code. If you specify a relative directory path, it is relative to the working directory.
Properties
Default:
|
None
|
IDE equivalent:
|
.
|
$set
|
Initial
|
Examples
The following examples enable
a.cbl to utilize any classes found in the
myclasses directory:
cob a.cbl -C list -C jvmgen -C "jvmclasspath(myclasses)"
Comments
This directive can be used as an alternative to altering the CLASSPATH environment variable.