If you get errors in Visual COBOL when compiling an object application that was created in Net Express , Server Express, recompile specifying the GEN-CLASS-VAR SQL Compiler directive option in addition to other appropriate options.