Using XLs and RLs with ACUCOBOL-GT

The use of XLs and RLs is supported by ACUCOBOL-GT on the HP e3000. XLs should be specified on the runcbl command line when the program is started. RLs must be linked into the ACUCOBOL-GT run time. Relinking the run time requires a C compiler. In the past, HP has made a C compiler available to DSPP members. By arrangement, Micro Focus's Consulting services can provide assistance or perform relinking for you. The need to relink the run time should arise only if you are calling functions stored in an RL.

Note: XL and RL programs sometimes change the current working directory, which can have the affect of causing the runtime to fail to locate a subsequently called program. To prevent such a failure, you should set the CODE_PREFIX run-time configuration variable. The CODE_PREFIX variable defines a series of directories that the runtime searches to locate object files. CODE_PREFIX can include absolute and relative paths, and can include the current working directory by specifying a period (.). For example:
CODE_PREFIX . ; /ACUCOBOL/SAMPLE ; /MYAPP/CBLOBJ
	 
For more information about how the runtime locates program object files, see Code and Data File Search Paths. For more information about the CODE_PREFIX configuration variable, see CODE_PREFIX.