Where Used

Chris Kelleher

Administrator
Staff member
'lo peggers,
I have just encountered a problem that has me perplexed. I have a
few programs that don't have any Where Used references. I tried recompiling
a couple of calling programs without any luck.

How is it possible that the Where Used function would cease to work?
Is it possible to correct this?

|\ /|
'o..o'
=(___)=
U

Regards,

David Langschied
 

Chris Kelleher

Administrator
Staff member
Dave,

What kind of object are we talking about PCODE, PFILE, PFIELD? What is your
workspace xref level set to? What is you module xref level set to. Does
the object that doesn't where show on any other objects? Have you move
workspaces or repositories?

More specifics would be helpful.

Nathan Noll (817) 284-8680
NCS Fax (800) 538-7510
Certified Roundtable Consultants nathan@nollc.com

Check out F1 an integrated Change Request System that works
with Roundtable! www.nollc.com/f1
 

Chris Kelleher

Administrator
Staff member
Nathan,
I have not made any changes to the environment. I know that the where used
worked in the past. Many of my programs give me the information correctly.
I only discovered this as a result of trying to compile an include (PCODE)
that was recently modified. I tried a selective forced compile on the
include and Roundtable indicated that there were no files to be compiled. I
then checked the where used for the include and found that there were no
listings. I tried recompiling, with xref, a program (PCODE) that called
this include. After this compile, I checked the xref view of the calling
program and it shows the include.I checked the where used for the include
and nothing shows up.
I have checked the xref level for the workspace and it is set to 5. I
checked the xref level for the module and it is set to 0. I tried to set
the module xref level to 5 and compiled the calling program. This also did
not work.
 

Chris Kelleher

Administrator
Staff member
Dave,

When you look at the Xref of the program that calls the include and you
select the include what is the Action flag (scroll right on the browser). I
suspect you'll find an "X" for external versus an "I" for include. This
probably is because of a propath issue. For some reason the way the include
is referenced in the code makes Roundtable think it is not the object you
think it is. If it is an "I", use the Compile With Xref and Listing and
View Xref to see exactly what include file is being found.

HTH

Nathan Noll (817) 284-8680
NCS Fax (800) 538-7510
Certified Roundtable Consultants nathan@nollc.com

Check out F1 an integrated Change Request System that works
with Roundtable! www.nollc.com/f1
 
Top