The error that I see in the logs is:
[14/05/21@16:11:05.021+0200] P-015484 T-016708 1 4GL -- Log entry types activated: 4GLMessages
[14/05/21@16:11:13.045+0200] P-015484 T-016708 1 4GL -- (Procedure: 'checkODH mapsbatch .getCoordinates' Line:113) Disconnect from server; database is being...
RealHeavyDude,
I used NO-LOCK but here on blog I just did not mention it. I also missed the dot at the end of the find statement here on the blog to show the pseudocode of the program structure I made.
The code below is the exact method I have made in the class.
&GLOBAL-DEFINE PAUZETIJD 1...
RealHeavyDude,
I created a buffer for the table for which I was getting the error before.
define buffer buf_table for tab_name.
for each other_table:
find table buf_table
/* Other code */
end.
But now the error I get is:
Disconnect from Server; DB is shut down (2659)
I changed the class file to a procedure and contents of the constructor as main block. The methods that I made changed them to Functions. It just worked without giving any errors.
A while ago, while working with classes I had some problem too, a 1.cls file called another 2.cls file and the...
RealHeavyDude,
It is the same DB, I connect to from both Windows 7 and XP. There are also records in the DB, which are retrieved from XP machine and the program runs just fine. From Windows 7 machine it gives the error.
Regards,
Zeeshaan
Hi,
I am trying to run a program, where a method that is used in this class is defined.
CLASS classname:
CONSTRUCTOR classname():
method2().
END CONSTRUCTOR.
METHOD PRIVATE LOG method1():
.....
FIND FIRST tablename NO-LOCK.
.....
END METHOD.
METHOD method2()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.