What is the actual error message that is returned in the MFSQLMESSAGETEXT variable after the connect? The coloring you describe is correct. COBOL reserved words are displayed in blue and non-reserved words like CONNECT are displayed in green. If the words were not recognized you would get a compiler error and not a run-time error like you are experiencing. Are you using Visual COBOL PE V2.3?
↧