you can do this using Predict (which is a natural add-on).
The regarding dialog looks like this:
11:38:36 ***** P R E D I C T 4.6.1 ***** 2011-05-09
Library: MYLIB - Verify References - DBnr: 11 Fnr: 22
Code Function
D Data areas not referenced
V Variables in data area not referenced
U Programs with unused data areas
C Copycodes not referenced
N Error numbers not referenced
P Programs not referenced
I Programs not impl./ref. starting from one
Code: ? Save set: N (Y,N)
Data area: Data area type : (?)
Program type: (?)
Program:
Command ==>
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
Invp GDAV Quit Sets Rule Copy Xref View OSet SPfk Main Exit
When I opened the Predict Menu I am getting the below. I didn’t find the menu ‘Verify References’. If you could post the detailed path on how to traverse to that menu it will be helpful.
07:43:37 ***** P R E D I C T 4.6.1 ***** 2011-05-30
Plan 0 - Function Main Menu - Profile SYSTEM
Documentation External objects
A Active retrieval F File implementation
M Maintenance G Generation
R Retrieval I Incorporation
X List xref for 3GL C Comparison
L Administration
DDA services Miscellaneous
D Defaults W What is new ?
S Special functions ? Help system
. Leave Predict