Yes we have provision, and the source code. I do some small custom mods for
our company. In fact I've done a couple not so small ones too!
Mark
-----Original Message-----
From: Thad Jacobs [mailto:
tjacobs@...]
Sent: Tuesday, July 31, 2001 4:32 PM
To:
vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Lock table overflow
I would check it out, but we don't have a write license, and don't want or
need a write license at this point.
Your probably right about the locks, may want to see if no-lock eliminates
the lock table overflow nonetheless. I'm not sure, but the program may be
trying to lock all the records at once.
Are you using provision, or a standard as-shipped progress license. Has
anyone written to the Vantage DB using the standard as-shipped license?
~thad
-----Original Message-----
From: Mark Kohring [mailto:
mkohring@...]
Sent: Tuesday, July 31, 2001 4:25 PM
To:
vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Lock table overflow
I am pretty sure that when you write to the database using a shared-lock it
upgrades it to an exclusive-lock while writing and then sets it back to
shared. I don't think you can write to it at all using no-lock, but if you
can it will probably have to go thru the same upgrade to exclusive for the
actual write which would kill the reason for using no-lock in the first
place. I might be wrong, but if you've got time to kill check it out.
Mark
-----Original Message-----
From: Thad Jacobs [mailto:
tjacobs@...]
Sent: Tuesday, July 31, 2001 4:11 PM
To:
vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Lock table overflow
take that back. NO-LOCK would mean that while you are editing the record
you are not locking others out. It is standard procedure to lock a record
before editing it. If you use a no-lock statement, and make sure you have a
query license, make sure NO ONE ELSE IS IN VANTAGE, and have a REALLY GOOD
BACKUP, you may just be in business.
-----Original Message-----
From: Thad Jacobs [mailto:
tjacobs@...]
Sent: Tuesday, July 31, 2001 4:05 PM
To: '
vantage@yahoogroups.com'
Subject: RE: [Vantage] Re: Lock table overflow
First of all, this program is trying to write to the database, and THE
PROGRESS LICENSE SUPPLIED WITH VANTAGE DOES NOT ALLOW YOU TO WRITE TO THE
DATABASE, according to Doug Williams, director of development. In order to
write to the database, you have to purchase provision, and you risk
corrupting the database and incurring billable support.... etc...
to quote Doug Himself
"Just a comment on the 4GL coding topic: With a Progress Query license (the
license normally shipped with Vantage) you cannot compile programs that
update the database. Since you cannot write/run any programs that change
any data you don't have to worry about damaging anything and it being
billable support, etc."
anyway,
ASSIGN sets the temporary memory value value, and UPDATE transfers the value
from memory to the record or screen buffer.
SET does both, assigns the temporary memory value, and updates the screen or
record buffer.
I think the lock table overflow error is due to the fact that you are trying
to write to the database, or that the for-each statement is locking more
records than allowed. You would fix this by using NO-LOCK in your FOR EACH
STATEMENT. Of course, NO-LOCK would prevent you from writing to the DB, so
combine that with the fact that a Progress Query License doesn't allow you
to write to the DB, and you run into some definite feasibility issues.
-----Original Message-----
From:
acretors@... [mailto:
acretors@...]
Sent: Tuesday, July 31, 2001 3:43 PM
To:
vantage@yahoogroups.com
Subject: [Vantage] Re: Lock table overflow
Mark,
Either one will work I guess. Does the assign function use memory
differently than the update - set funcition? I gave it a shot as you
indicated below, and I got a "cannot find write.p" error. How do you
get around the write trigger?
Thanks for your input!
--- In vantage@y..., "Mark Kohring" <mkohring@d...> wrote:
> Is there a reason to use the update and set? I would normally write
this as
> follows:
>
> define variable count as integer.
> assign count = 0.
>
> for each orderrel where orderrel.make = yes:
> assign orderrel.make = no.
> assign count = count + 1.
> end.
>
> message "Done. Fixed " count " flags." view-as alert-box.
>
>
>
> Or am I missing something? I don't know if this has anything to do
with your
> problem or not. Just the first thing I saw when I looked at it.
>
> Mark Kohring
>
>
>
> -----Original Message-----
> From: acretors@c... [mailto:acretors@c...]
> Sent: Tuesday, July 31, 2001 3:20 PM
> To: vantage@y...
> Subject: [Vantage] Re: Lock table overflow
>
>
> We are on Vantage 4.0.904 Progress 9.0B.
>
> Thanks Mark!
>
> --- In vantage@y..., "Mark Kohring" <mkohring@d...> wrote:
> > What version are you on?
> >
> > -----Original Message-----
> > From: acretors@c... [mailto:acretors@c...]
> > Sent: Tuesday, July 31, 2001 3:07 PM
> > To: vantage@y...
> > Subject: [Vantage] Lock table overflow
> >
> >
> > To all,
> > I have written a small progress program that generates a lock
table
> > overflow error (error # 915 I think), and then it bombs out. Here
is
> > the program:
> >
> > define variable count as integer.
> > set count = 0.
> >
> > for each orderrel where orderrel.make = yes:
> > update orderrel
> > set orderrel.make = no.
> > set count = count + 1.
> > end.
> > Bell.
> > message "Done. Fixed " count " flags." view-as alert-box.
> >
> > I don't remember where to set the -l, so I can't tell you what it
is
> > set to right now. Is this all I need to change, or have I made a
> > mistake in my programming? The syntax check says it is ok...
> >
> > And please don't ask why I want to flip all these flags, we are
> > working through some major procedural issues with Vantage, and
this
> > is only a temporary (I hope!!) fix.
> >
> > Thanks for your help!!!
> >
> >
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> must have
> > already linked your email address to a yahoo id to enable
access. )
> > (1) To access the Files Section of our Yahoo!Group for Report
> Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/links
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report
Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/links
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/