johndanter
Legendary Poster
Hi folks,
I am writing a little NER that needs to throw an error back to the calling PGM. (DC Link)
In the past I've used
Set NER Error(BF szErrorMessageKey, <None>)
and then
Set NER Return Code
(= 2)
This works fine but for some reason, this time it isn't
All the N3DNxxxx DC Link BSFNs also do this and even when I call them and test them myself they do this. I can't fathom this out as it should be very simple.
Any ideas list? How do you do it?
Thanks
John
EDIT: For future readers: Set NER Return Code needs to be the last BSFN call in your code before you exit. Thanks to Craig Welton
I am writing a little NER that needs to throw an error back to the calling PGM. (DC Link)
In the past I've used
Set NER Error(BF szErrorMessageKey, <None>)
and then
Set NER Return Code
(= 2)
This works fine but for some reason, this time it isn't
All the N3DNxxxx DC Link BSFNs also do this and even when I call them and test them myself they do this. I can't fathom this out as it should be very simple.
Any ideas list? How do you do it?
Thanks
John
EDIT: For future readers: Set NER Return Code needs to be the last BSFN call in your code before you exit. Thanks to Craig Welton
Last edited: