My Oracle Support Banner

'ERROR! COBROOT environment variable is not correct!' Displays in Compile Window and Compile Log as the Result When Compiling Application COBOL Using CSCBLBLD.bat and Visual COBOL 7 (Doc ID 2932896.1)

Last updated on SEPTEMBER 29, 2023

Applies to:

PeopleSoft Enterprise CS Campus Community - Version 9.2 and later
PeopleSoft Enterprise CS Financial Aid - Version 9.2 and later
PeopleSoft Enterprise PT PeopleTools - Version 8.59 and later
Information in this document applies to any platform.


When attempting to compile application code for Windows Platform and using CSCBLBLD.bat, the compile fails with the following error indicated in the compile window and/or compile log file.

The issue can be reproduced at will with the following steps:

  1. Execute the CSCBLBLD.bat compile routine.
  2. Observe the result with error(s) on screen or in the CSCBLBLD.log file.


The issue occurs in an environment updated with the Visual COBOL 7 compiler.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.