Program references

When a program is created, the i5/OS™ licensed program stores information about all collections, tables, views, SQL packages, and indexes referred to in SQL statements in an SQL program.

You can use the Display Program References (DSPPGMREF) command to display all object references in the program. If the SQL naming convention is used, the library name is stored in one of the following ways:

If the server naming convention is used, the library name is stored in one of the following ways:

Related reference
Display Program References (DSPPGMREF) command