E9.2 Equivalence to SQLCODE & SQLERRM, but for OS Errors?

Felipe Vidal

Active Member
Hello,

I'm trying to catch an OS Error message just like when we catch SQL Error Messages.

An example I believe could be SP2-0310: Unable to open file: "file name".

I would normally just use variables SQLCODE & SQLERRM to do so, but is there a way to do it for OS?

Thanks!
 
Back
Top