KMoody
Member
Progress: 10.2b SP7
OpenEdge Architect: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
OpenEdge OS: Windows XP Professional 2002 SP3
Server OS: SUSE Linux Enterprise Server 11
I’m trying to compile a few simple programs in OE Architect to verify that I can connect to the right database on the right server.
When I run the following program, the “Connected!” message appears, indicating that I’m connected to dbName:
I then changed the program:
When I ran the program, OE Architect returned the following error:
Using the Data Dictionary, I’ve confirmed that the table LABOR exists in dbName. If I’m connected to the dbName database, then why doesn’t the compiler recognize LABOR?
OpenEdge Architect: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
OpenEdge OS: Windows XP Professional 2002 SP3
Server OS: SUSE Linux Enterprise Server 11
I’m trying to compile a few simple programs in OE Architect to verify that I can connect to the right database on the right server.
When I run the following program, the “Connected!” message appears, indicating that I’m connected to dbName:
IF NOT CONNECTED("dbName") THEN
CONNECT dbName -pf P:\APPS\MYAPP\DBNAMERUN_102b.PF -S **** NO-ERROR.
IF CONNECTED("dbName") THEN
DISPLAY "Connected!".
PAUSE.
I then changed the program:
IF NOT CONNECTED("dbName") THEN
CONNECT dbName -pf P:\APPS\MYAPP\DBNAMERUN_102b.PF -S **** NO-ERROR.
FOR EACH LABOR WHERE LABOR.AG-DATE = 06/03/2013 NO-LOCK:
DISPLAY LABOR.
END.
PAUSE.
When I ran the program, OE Architect returned the following error:
Unknown or ambiguous table LABOR. (725)
** testing.p Could not understand line 9. (196)
Using the Data Dictionary, I’ve confirmed that the table LABOR exists in dbName. If I’m connected to the dbName database, then why doesn’t the compiler recognize LABOR?