RM\COBOL file access without Database Connectors and Embedded SQL

Hi! 

I am playing around with the software, trying to update our conversion programs to no longer use Database Connectors.  

In my program I have an input file that is an RM\COBOL ISAM file, and when I run the program, it is giving me a 9+,00 error code. 

I have tried adding the  $SET  DIALECT(RM)  FILETYPE(21) command to the beginning of the program to let the program know that I am using an RM\COBOL file, BUT, when I do that, the embedded SQL commands are no longer recognized by the compiler, and I can't get the program to compile.  Is there a way to do this, or am I stuck using Database Connectors for my conversion programs?