Skip to main content

calling another program thru any means but seeing fatal runtime errors

  • Nov 16, 2026 7:46 PM UTC
  • 2 replies
  • 19 views

khambrick
Forum|alt.badge.img+1

I know there are a number of different call commands - chain, execute, call, etc….

 

I am trying to make a scheduler of sorts but want to get any runtime errors reported - ie a file doesnt read properly or a dict got deleted. Yes, I can code for each scenario but I’m really looking for a list of programs to be executed off and to check if there were any runtime errors reported. This runs in the middle of the night so I dont want it to drop to debug (like using the -E or -F) but I do want it to return any errors that would cause such a break.

 

Right now I have it using Phantom, so as not to break the entire list if one fails, but I dont see how to return runtime errors other than looking through the como. Anyone have a suggestion?

Thanks in advance!

Kathleen

2 replies

khambrick
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • Nov 16, 2026 7:49 PM UTC

Here’s an example of an error I would want to capture:

Top of "khambric49561_4167" in "_PH_", 5 lines, 238 characters.
001: HELLO
002: In KBP/_TEST2 at line 2 Can not access unopened file. File variable not use
d in file operation
003: In KBP/_TEST2 at line 2 Fatal error: READ error
0Program has terminated with an Abnormal abort.
005: PHANTOM process 4167 has completed.
Bottom.

 

Is there some kind of status command or return list of errors?


Mike Hulls
  • New Participant
  • Nov 16, 2026 8:21 PM UTC

We have an inhouse task scheduler that runs tasks through the phantom manager. It captures all the output in &PH&. I run a task that searches the &PH& for specific output (e.g. “error”) and review that report to look for these types of errors.