PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: yonman on August 07, 2018, 10:14:27 AM

Title: *ufar for multi-segmented files
Post by: yonman on August 07, 2018, 10:14:27 AM
Can *ufar be used for mult-segmented files in all PxPlus release levels?  Are there warnings, cautions or other issues that can impact the results of the utility?
Title: Re: *ufar for multi-segmented files
Post by: Devon Austen on August 07, 2018, 11:22:00 AM
*ufar should not be used with multi-segmented files or for file larger than 2GB. You should use *fixvlr instead.

*fixvlr is available in PxPlus 2016 or higher.

Title: Re: *ufar for multi-segmented files
Post by: Devon Austen on August 07, 2018, 11:25:02 AM
You could also do a KEYED LOAD instead which is often much faster especially if you can lock the file when doing it.

https://manual.pvxplus.com/?directives/keyed_load.htm