We have two as400's both V6R1M0 One is our Development and the other Production.
Please note I do not know the as400 that well.
I created a test webpage running from IIS to recreate the scenario.
The page has a button that creates a connection to db2 database and I do a select from a few tables with SQL and populate a grid with the data.
This works fine in DEV but when I run the same site but pointing it to our Production environment it fails with an error code SQL0901 SQL system error.
Note : I did check the SQL and the query itself is working in both environments.
On the green screen When I check The joblog of the page I get the following error:

Next I Checked google on the error and It seems like a PTF that needs to be installed in Production.(I do not know witch one). It has something to do with db2.
The problem that we have is that There are also other systems running on our Production environment and I am scared that when installing a PTF that it will cause issues...
How do I know what PTF to install by comparing DEV and Production? Is there software to do the comparing? Ideally I would only like to install the PTF that is in DEV but not in PRD.. Once again I dont know witch PTF will fix my issue.
Any help will be appreciated.
Added:
On the green screen when I press F1 on the error(QQQVECI: Did not find external field!!!.) I get the following:
When I then Press F9 to view details I get the following:

