rreport gagging on lockfile

Kenneth Brody kenbrody at gmail.com
Wed Feb 3 10:07:05 PST 2010


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