rreport gagging on lockfile

Rkreiss@verizon.net] rkreiss at verizon.net
Wed Feb 3 10:33:33 PST 2010


Actually, hadn't considered doing thst when I wrote this.

Also, I use this routine for s number of other programs whic require standing on a record to enter data on a screen.

Richard

-----Original Message-----
From: Kenneth Brody <kenbrody at gmail.com>
Sent: Wednesday, February 03, 2010 1:07 PM
To: Richard Kreiss <rkreiss at verizon.net>
Cc: filepro-list at lists.celestial.com
Subject: Re: rreport gagging on lockfile

On 2/2/2010 9:36 AM, Richard Kreiss wrote:
> Tyler,
>
> My procedure for getting to an available record is simple.
>
>
> @once  ◄ If: '******************************************************
>         Then: '* get file name to import
> 144  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>         ◄ If: rn = ""
>         Then: rn(8,.0)="1"
> 145  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> loop_rn◄ If:
>         Then: lookup -  r=rn   -npw
> 146  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>         ◄ If:         locked(-)
>         Then:         rn=rn+"1";GOTO loop_rn
> 147  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>         ◄ If:
>         Then: END
[...]

Any reason you don't do a free-record lookup instead?

-- 
Kenneth Brody



More information about the Filepro-list mailing list