PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Embedded I/O program?  (Read 1507 times)

PMM_CAI

  • Silver Member
  • ***
  • Posts: 27
    • View Profile
Embedded I/O program?
« 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

michaelgreer

  • Diamond Member
  • *****
  • Posts: 129
    • View Profile
Re: Embedded I/O program?
« Reply #1 on: October 31, 2019, 11:01:56 AM »
Do this:

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

Michael

Mike King

  • Diamond Member
  • *****
  • Posts: 3811
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Embedded I/O program?
« Reply #2 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.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

PMM_CAI

  • Silver Member
  • ***
  • Posts: 27
    • View Profile
Re: Embedded I/O program?
« Reply #3 on: November 06, 2019, 08:27:21 AM »
Mike King: File Open Failures did it. Thanks for the tip! Will make note of it.