I need my java level to check what restrictions exist for all files / tables in a specific library (in the IBMi / iSeries / System-i / AS400 system). I know I can request the SYSIBM.TABLE_CONSTRAINTS view to find out, but is this a legal and safe way? Is there a better way?
It would be preferable if this could be done using Sql using the com.ibm.db2.jdbc.app.DB2Driver jdbc driver. But I am open to other suggestions.
Note. non-DB2400 answers on IBMi are not helpful here.
source
share