PxPlus User Forum

Main Board => Discussions => Language => Topic started by: PMM_CAI on October 31, 2019, 09:42:40 AM

Title: Embedded I/O program?
Post by: PMM_CAI on October 31, 2019, 09:42:40 AM
Hello! Using PxP 15.10. What's the way to find out the name of the embedded I/O pgm in a data file? We have a file that must have had an embedded I/O prgram updated into it, and then it was removed from the DD. But the physical file itself appears to still have the reference to it, and I'm guessing the program no longer exists b/c I'm getting an error 121 when I pull up the DD entry for the file. Thanks in advance.

Paula McKeever
CAI Software
Title: Re: Embedded I/O program?
Post by: michaelgreer on October 31, 2019, 11:01:56 AM
Do this:

open(hfn)"filename"
print fin(lfo,"IO_Program")

Michael
Title: Re: Embedded I/O program?
Post by: Mike King on October 31, 2019, 12:01:16 PM
If you are on running Windows try enabling the Trace window and enabling the Option "File Open Failures"

When you then try to open the data file you should see the name of the program that was missing.
Title: Re: Embedded I/O program?
Post by: PMM_CAI on November 06, 2019, 08:27:21 AM
Mike King: File Open Failures did it. Thanks for the tip! Will make note of it.