IDMS dialog is getting an error status and then displays error message:
DB347011 Dbname <dictname> invalid - binding subschema is IDMSNWKA program ADSODIAG
The dbname <dictname> does not exist in this CV.
When an ADS dialog abends program ADSODIAG gets control to display the ADSO diagnostic screen.
It uses the dictionary name stored in the dialog FDB header extension to find the source lines to display.
If the dialog is running in production but was compiled in test then the FDB has the test dictionary name which would not exist in production.
That is why you get the DB347011 Dbname invalid error message.
As a result ADSODIAG will not be able to display the dialog source lines in error.