Hello,
I'm doing a Proc SQL to access a library and getting the following error
ERROR: CLI open cursor error: [IBM][System i Access ODBC Driver][DB2 for i5/OS]PWS9801 - Function rejected by user exit program
PTNS0107 in QGPL.
any help is greatly appreciated
The most likely cause of this error is that the user exit program that was specified in the ODBC configuration is not available in the QGPL library. User exit programs are usually configured to check a specific library to see if the program exists. You can fix this by either ensuring that the program exists in QGPL or by configuring the ODBC configuration to look in the correct library.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.