UOBJ.DOL and UOBJ.TEXT

Author: cdouglass@siriussoftware.com.au (Colin)

Hi,

I am redesigning a lot of my Uniface application to not use Global Procs.

I have found that when I remove a global proc using the normal UDE forms that sometimes the entry, even though it is removed correctly from the global proc list in the form, is not removed from UOBJ.TEXT. This does not happen all the time. Most of the time it is removed from both files. The removed procs are not in USOURCE and are not recompiled if I compile global objects but they remain in UOBJ.TEXT. Because they are still in uobj.text they are included in any subsequently created UOBJ.DOL files.

I can clean up these using the UPDATE UOBJ form but I'd rather find out why sometimes they are removed and sometimes not.

Any thoughts?

Does this problem also happen when removing other global objects like messages etc?

 

TIA

Col Douglass

3 Comments

  1. Sorry I forgot to mention that I am using version 9.4.01


    Author: Colin (cdouglass@siriussoftware.com.au)
  2. On the Define Global Proc screen go to the File menu.
    Select Update UOBJ or UAR...
    Here you should be able to delete you global proc from UOBJ.TEXT.

    (If you can't find it with the Browse button,
    the workaround is to add something with the correct name again first)


    Author: Theo Neeskens (tneeskens@itblockz.nl)
  3. Thanks for the reply.

    What you suggest is exactly what I used to eventually clean up the procs but that is not the problem.

    I originally removed global procs using the EDIT dropdown on 'define global procs' and then selecting 'delete proc'. This would sometimes also remove them from UOBJ.TEXT and sometimes not.

    My question/problem is why it happens only sometimes using this method. There was no indication (at least that I noticed) when I was removing the proc that there was any problem.

    The other question I have is if it happens inconsistently with global procs does it also sometimes have a problem with other global objects such as messages etc.

    Col.


    Author: Colin (cdouglass@siriussoftware.com.au)