Thank you for your example. I compiled it okay. However, when I attempt to link it, the linker (blink from SAS C) complains about an undefined symbol __XCOVF. I am not very familiar with C/C++ so I am not sure about this. Can you explain this symbol, please?