Error number

Hi,

I would like to know if I can read the entire error number that appears in the Event Logs.

When I use the GETSYS PRG function it only returns a single number.

Hello Elda,

For verification, do you mean the event number in the event logs?

image

Can you share the current code that you have?

Actually I need to read the code number that appears in Scheduled Action.

The function I used was GETSYS PRG, “ACTIONID”

Hello Elda,

We do not have a specific method.

The closest method i have is for NTPSync completion code example.

actionID% = GETSYS PRG, “ACTIONID”
PRINT "request actionid is "; actionID%

tset 1, 10
ONTIMER 1, “@Check(actionID%)”

function Check($id%)
print “checking…”
print $id%
SETSYS PRG, “ACTIONID”, $id%
stat% = GETSYS PRG, “ACTIONSTAT”
PRINT "Error (ERROR = "+Str$(stat%) + “)”
ENDFN

1 Like