PFSKIPLOCKED variable
Don Coleman
dcoleman at dgcreact.com
Fri Apr 27 10:49:56 PDT 2007
> -----Original Message-----
> From: filepro-list-bounces+dcoleman=dgcreact.com at lists.celestial.com
> [mailto:filepro-list-bounces+dcoleman=dgcreact.com at lists.celestial.com] On
> Behalf Of Bruce Easton
> Sent: Friday, April 27, 2007 12:03 PM
> To: filepro-list at lists.celestial.com
> Subject: RE: PFSKIPLOCKED variable
>
> Don Coleman wrote Friday, April 27, 2007 11:16 AM:
> [..]
> > I have a *report function which updates imported records every 5
> minutes.
> > There should be no harm in having it periodically skip a locked record
> > because it will run again shortly.
> > The manual seems to indicate the following syntax:
> >
> > Putenv "PFSKIPLOCKED","5"
> > To skip if locked after 5 seconds.
> >
> > However it is not skipping those records after 5 seconds.
> [..]
>
> Don - sounds like you might be setting the env var inside the
> program where it needs to be seen. If this is true, try setting
> PFSKIPLOCKED prior to calling your report request - in the shell/prog
> that calls rreport (and exporting it, if necessary).
>
> Bruce
>
> Bruce Easton
> STN, Inc.
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
Thank you Bruce & John. You were both correct. I was setting the variable
within processing which meant it was not being set because processing had
not actually begun on the locked record. This process runs last in a
script. I'll set the variable there.
Don Coleman
Donald G. Coleman, Consultant
402 Andrew Circle
Indiana, PA 15701
dcoleman at dgcreact.com
(724) 349-6302
More information about the Filepro-list
mailing list