PxPlus User Forum

Twitter Twitter Twitter

Author Topic: *ufar for multi-segmented files  (Read 2029 times)

yonman

  • Member
  • **
  • Posts: 12
    • View Profile
*ufar for multi-segmented files
« 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?

Devon Austen

  • Administrator
  • Diamond Member
  • *****
  • Posts: 382
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: *ufar for multi-segmented files
« Reply #1 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.

« Last Edit: August 07, 2018, 11:25:50 AM by Devon Austen »
Principal Software Engineer for PVX Plus Technologies LTD.

Devon Austen

  • Administrator
  • Diamond Member
  • *****
  • Posts: 382
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: *ufar for multi-segmented files
« Reply #2 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
Principal Software Engineer for PVX Plus Technologies LTD.