Re: I4GL program only works in cdbug
Posted in 1998
>I have a 4GL program that works properly when executed within the >debugger (cdbug), but when I compile the source normally (using 4gl >command) and then execute the resulting .4ge file, it does not work >properly. > Without more specific information it is difficult to tell, but lets assume... If you are using the 'Where Current' clause in your cursors you need to make sure that the code is compiled using the -globcurs switch. Even though the language precludes the reuse of cursor names, it seems that you must tell the compiler that all cursor names will be globally defined. Without using the switch you will receive the dreaded cursor undefined message, or something of equal or greater value. If the assumption is wrong and you are seeing some other error --- what are the details? If you want to discuss, I can be reached at rwalton@acus.com.