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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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