I am using XSYSTRAP to catch intrinsic aborts.
When calling GETPRIVMODE without having PM on my program,
my trapsys procedure is invoked. Currently I set my own global variable
to let me know if I have PM or not and give an appropriate msg to the user.
I would like to have the intrinsic GETPRIVMODE return CCLto mean no PM.
I have my trapsys routing calling HPSETCCODE ( CCL ), but its not carried
thru back to my user code.
Is there a way to set the condition code to be returned by my trap
procedure?
This question also may apply to XLIBTRAP, but I haven't gotten there yet.
Thanks
+=====================================
Keven Miller KC7LYD
[log in to unmask] (Salt Lake City, Utah, USA)
+=====================================