cblpromp is a Windows-only command line utility that outputs the Visual COBOL environment settings that are required to set up the COBOL environment.
[<installdir>\bin\]cblpromp [arguments]
The following example shows how to use cblpromp from a non-COBOL command prompt and save the Visual COBOL environment settings to a batch file:
<installdir>\bin\cblpromp > myenv.bat
You can use myenv.bat in various scenarios. For example, call the file from a batch file whenever you want to set up the COBOL environment at the command line when you want to compile, analyze, test or deploy your applications.
The following example shows how to use cblpromp with the -j option to export the Visual COBOL environment settings to a Java properties file that can be used for JVM applications:
cblpromp -j > myenv.props
This creates an myenv.props file which you can use to set up the COBOL environment - for example, with an Ant call.