Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AS400 database - Error - PWS9801 - Function rejected by user exit program

I am trying to read data from AS400 database on a remote machine using ODBC driver and VBA. I could successfully establish the connection, but none of the queries return data. All the queries run into the error "[IBM] [System i Access ODBC Driver] [DB2 for i5/OS] PWS9801 - Function rejected by user exit program in library SQLSECR0 QSYSMCD". Please help me...

like image 554
Developer Avatar asked Dec 26 '22 07:12

Developer


1 Answers

There is a security program (called an exit program) on the IBM i side which is denying you access. You need to get clearance from the IBM administrators.

like image 160
Buck Calabro Avatar answered Feb 01 '23 16:02

Buck Calabro