SAP Program SDB1FDB4 - FORMs for database access to DB/400

Description
Database specific catalog definitions for function group SDB1
DB2/400 - Implementation
This program is generated by executing SDB4GEN. The source report forthis program is SDB1GDB4.
Whenever some changes have to be applied to SDB1FDB4 make these changesin SDB1GDB4 und run report SDB4GEN. !!!!!!!!!!!!!
For every form that uses exeq sql there exists another form with acorresponding name (name of the first form + _QSYS2) In these secondaryforms the exec sql statements are performed using files in the QSYS2library. Check that all changes are applied to both forms.
The secondary forms are necessary to have a working version of theforms in case someone forgot to run SDB4GEN after installation or afterthe R/3 system was copied by restoring the saved database library underanother name. In both cases the first forms would cause a dump. Toprevent this from happening we check if the database libname was usedwhen the report was generated, if not then the secondary form isexecuted and after completing the task the report SDB4GEN is submitted.So for the next run the database library is correctly set.

1724702IBM i: DB_EXISTS_TABLE does not require regeneration
392165iSeries: Known problems under V5R1M0/V5R2M0
686231iSeries: SQL0304 in Program SDB1FDB4 under V5R2