PxPlus User Forum

Twitter Twitter Twitter

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

Ken Sproul

  • Gold Member
  • ****
  • Posts: 60
    • 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 Service, Inc.
Pivotal Systems LLC

Mike King

  • Diamond Member
  • *****
  • Posts: 3811
  • Mike King
    • View Profile
    • BBSysco Consulting
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.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com