PxPlus User Forum
Main Board => Discussions => Language => Topic started by: Ken Sproul 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$)
-
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.