I am using IBM.Data.DB2 via C# to access a DB2 database on our mainframe Z/OS. Unfortunately I receive "DB2 SQL Error: SQLCODE=-551, SQLSTATE=42501, SQLERRMC=USER_NAME;EXECUTE PACKAGE;NULLID.SYSLH200, DRIVER=4.19.56"
I received the same error when I tried to access DB2 database via IBM Data Studio but it later it started working when I granted execute permissions on package 'NULLID.SYSLH200' to my user but I still receive the same error from IBM.Data.DB2 via C# code.
I made sure that:
- List item My user has execute permissions on the table that I am executing query on
- List item My user has execute permissions on package 'NULLID.SYSLH200'
Any idea on how should I get it working?