PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Post Open Embedded IO Procedure with Direct Access File Path  (Read 200 times)

ksproul

  • Silver Member
  • ***
  • Posts: 41
    • View Profile
Post Open Embedded IO Procedure with Direct Access File Path
« on: February 12, 2021, 05:11:57 PM »
When using an embedded IO procedure with a file that is being opened as the result of the direct access method in a read statement (see example below), is there any way to know that the file is being opened by direct access?


Example:
read ("custfile",key=custnum$)

Ken Sproul
DPI Information Services, Inc.

Mike King

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3457
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: Post Open Embedded IO Procedure with Direct Access File Path
« Reply #1 on: February 13, 2021, 10:55:42 AM »
I can't think of any way to determine the difference.   Now the Direct read does use HFN to assign the channel number, so if your opens don't use HFN you might be able to determine the difference.