Log in Register FAQ Memberlist Search ContactReview Forum Index
A GoldMine Discussion and Support Community

ContactReview Forum Index » GoldBox » PLUSRUN.exe not closing when run each night via Q-File
Post new topic  Reply to topic View previous topic :: View next topic 
PLUSRUN.exe not closing when run each night via Q-File
PostPosted: Wed Sep 19, 2007 10:47 pm Points: 0 Reply with quote
rossg
GoldMine Apprentice
Joined: 02 Aug 2006
Posts: 20




Hi All

GX7 2007-B and GM 8.01.70621 WinServer 2003

Have set up a Q-File to run a large number of conversions and imports. It is trigger by a Scheduled task. The task appears to run each night.

Trick is that it doesn't seem to close itself off when it is finished. When I get back onsite the PLUSRUN.exe is still running in the Processes of the Server. This means that the next night's import process doesn't run.

In fact each night it appears to try to run and will leave a PLUSRUN.exe running as a Process for every night it has tried. EG over a weekend it will leave 3 processes running, Firday, Sat, Sun.

Is this indicative of a GoldBox import etc I have created that is going wrong and hence locking up GX7??

Any one else seen this before?

Do you all typically trigger GX updates to run each night via a Scheduled task??

Thanks Heaps

Ross
View user's profile Send private message

Update
PostPosted: Thu Sep 20, 2007 12:06 am Points: 0 Reply with quote
rossg
GoldMine Apprentice
Joined: 02 Aug 2006
Posts: 20




Hi

Further testing has found that the Q-File has an issue when going from Imports to creating a GoldBox View for an OrgChart update.

I added a 20 sec Pause in the Q-File but the error continues to appear.

The error is :
Program Alert
Error: In use by another: d:\apps\goldbox7\gview4th.dbf
File: d:\apps\goldbox7\gvovrflo.prg
Routine: GXCOUNTSQL
Line: 452

In the background the Org Chart process still runs. Haven't confirmed it actually updates anything as yet. It is probably this error message that is stopping the PLUSRUN.exe from closing.

Any ideas on how to stop this error???

Thanks

Ross
View user's profile Send private message

PostPosted: Thu Sep 20, 2007 2:16 am Points: 0 Reply with quote
BobTaylor
GoldBox Guru
Joined: 07 Sep 2007
Posts: 1216
Location: Jacksonville, FL




Obviously, it's difficult for anyone outside to really troubleshoot a Q-file, but my first guess would be that you may not be observing a rule: if a View is to be run by a Q-file, then it must be the last item in the Q-file. You can run a View in the midst of Q-file events; but to do so, you must use the Post operation of the View to run a new Q-file...sort of a tag-team thing. But if the OrgChart is the only View in the Q-file, I'd just put it at the end; the tag-team thing can be tricky to manage.

You don't indicate whether you are aware of it, so I'll mention that the Log is an important tool in trouble-shooting a Q-file; and the REM button is another. BTW, I would never run a Q-file via Scheduler without first having tested it via more than one manual run.

_________________
Bob Taylor
Bob Taylor Consulting
(904)646-9861
www.goldboxbob.com
Consulting with GoldBox and GoldMine since 1997.
View user's profile Send private message Send e-mail Visit poster's website

GoldBox Views in a Q-File
PostPosted: Thu Sep 20, 2007 3:01 am Points: 0 Reply with quote
rossg
GoldMine Apprentice
Joined: 02 Aug 2006
Posts: 20




Hi Bob

Can't say I was aware of the fact that a View must be run as the last event of a Q-File.

As it turned out I have 2 Views that are to be generated. Both just happened to be at the end of the Q-File anyway. I am guessing that because I have two Views that I should create a separate Q-File for each of them so it works like this ...

Q-File1 Main data Conversion and Import Process (Last step to jump to Q-File2)
Q-File2 Run View 1 (Next Step to jump to Q-File3)
Q-File3 Run View 2

Is this what you were meaning by Tag Team??

" the Log is an important tool in trouble-shooting a Q-file; and the REM button is another. "

I'll check the Help for further feedback on these.

"BTW, I would never run a Q-file via Scheduler without first having tested it via more than one manual run."

I have run these multiple times. I have about 20 conversion processes and 30 data imports running via the Q-File. Individually they all work fine. I have run the Q-File a number of times but as it takes 3-4 hours to run I must have missed the Views issue.

Thanks again for your help ..

Ross
View user's profile Send private message

PostPosted: Thu Sep 20, 2007 3:19 am Points: 0 Reply with quote
BobTaylor
GoldBox Guru
Joined: 07 Sep 2007
Posts: 1216
Location: Jacksonville, FL




Your Q-file 1 and Q-file 2 can be combined, with the last item in Q-file 1 being the View from your Q2. So you'd only need 2 Q-files. What you have as Q-file 3 would become the second Q-file, and the hand-off would be from the first View to it. I believe you'd have to make the OrgChart View the very last item of the last Q-file, because its Post operation is already used to run the OrgCharts themselves.

_________________
Bob Taylor
Bob Taylor Consulting
(904)646-9861
www.goldboxbob.com
Consulting with GoldBox and GoldMine since 1997.
View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Thu Sep 20, 2007 6:15 am Points: 0 Reply with quote
rossg
GoldMine Apprentice
Joined: 02 Aug 2006
Posts: 20




BobTaylor wrote:
because its Post operation is already used to run the OrgCharts themselves.


Not quite sure what you mean here, I'll check the Help for further feedback.

Thanks again for your help, I'll let you know if it solved the issue.

Ross
View user's profile Send private message

PostPosted: Thu Sep 20, 2007 6:27 am Points: 0 Reply with quote
BobTaylor
GoldBox Guru
Joined: 07 Sep 2007
Posts: 1216
Location: Jacksonville, FL




I am trying to tell you that

a) you don't really need 3 Q-files (although it certainly won't hurt to use 3); 2 will suffice. And

b) However many Q-files you use, the OrgChart View will have to be the last item run, period. That's because its Post operation is already dedicated to running the routine that creates the OrgCharts. It cannot run anything else.

_________________
Bob Taylor
Bob Taylor Consulting
(904)646-9861
www.goldboxbob.com
Consulting with GoldBox and GoldMine since 1997.
View user's profile Send private message Send e-mail Visit poster's website

Solution
PostPosted: Wed Oct 31, 2007 9:46 pm Points: 0 Reply with quote
rossg
GoldMine Apprentice
Joined: 02 Aug 2006
Posts: 20




The solution was to simply run the GoldBox Views as a separate Scheduled Task and not through the QFile.

Even when I add the GBX View as the last item on the QFile it still did not run correctly.

Running them via a separate Scheduled Task worked a treat.

RG
View user's profile Send private message

PostPosted: Thu Nov 01, 2007 3:19 am Points: 0 Reply with quote
BobTaylor
GoldBox Guru
Joined: 07 Sep 2007
Posts: 1216
Location: Jacksonville, FL




Thanks for getting back to us on that, Ross.

_________________
Bob Taylor
Bob Taylor Consulting
(904)646-9861
www.goldboxbob.com
Consulting with GoldBox and GoldMine since 1997.
View user's profile Send private message Send e-mail Visit poster's website

PLUSRUN.exe not closing when run each night via Q-File
  ContactReview Forum Index » GoldBox
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Brought to you by Castell Computers, Doug Castell, Admin
RSS Feed
Powered by phpBB © 2001-2004 phpBB Group
Theme created by Vjacheslav Trushkin