SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
ScorpioAA
Calcite | Level 5

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 

1 REPLY 1
ger15xxhcker
Quartz | Level 8

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.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1732 views
  • 0 likes
  • 2 in conversation