News Stay informed about the latest enterprise technology news and product updates.

DSPPGMREF (Display Program Reference)

Learn why members say the DSPPGMREF (Display Program Reference) command is one of the most helpful iSeries (AS/400) commands.

The DSPPGMREF (Display Program Reference) command came in number one with other users. The most common usage: to display the record formats linked to a program.

Check out these tips to read how others use the command:

  • Find the programs that use a particular file using DSPPGMREF
    No matter how well you plan the design of a database file, it will eventually need to be changed. To help with this IBM has given us the DSPPGMREF (Display Program Reference) command.

  • Easy way to find the cause for level checks
    When those ugly level checks appear, you must go off in search of the truth. member Allister Jenks says there's an easier way to find out what happened by using the DSPFD or DSPPGMREF command.
  • Beyond DSPPGMREF -- Scan all libraries before changing a database file member Roger Stein shows you how to eliminate some of the hassle of changing a database file by scanning ALL libraries beforehand.
  • Display program information with two simple commands
    As programmers, you are constantly modifying programs, isolating "product" source files, or just trying to estimate the number of objects affected by a modification. There are two commands that can assist you in these tasks. One of those is DSPPGMREF.
  • Verify objects in a compiled program
    Is there a way to know what the library list was at the time of a compile for a COBOL ILE program if all you have is the object program? Site expert John Brandt has the answer.
  • A use of DSPPGMREF ...
    Member Herpelinck Luc shows you how to use the DSPPGMREF command to output program references to a file.
  • Determine the external call to programs
    If you want to find out the external call to programs and all files used in your RPG program or module, you can use DSPPGMREF.
  • Stay current with PTFs to prevent problems
    Installing new software and upgrades doesn't have to be a nightmare. Follow site expert Pascal Jacquemain's steps using the DSPFD and DSPPGMREF commands to ensure compatibility between files and programs.
  • Create a cross-reference file
    Using the DSPPGMREF command, site expert Tim Granatir tells you how to create a file that cross references all programs to each other.

>> Return to list of commands.

Dig Deeper on iSeries programming commands