Jerry, 

I read the error message to say "QAQQINI already exists in GPKLIB". In
the off chance that this is truly the case, you can first do DLTF
GPKLIB/QAQQINI and retry the CRTDUPOBJ command.

More likely case is that you are correct in suspecting the corruption of
the cross-reference files. 
You can do some simple checks on the system triggers meta-data file
QSYS2/SYSTRIGGER by simply doing:

1) STRSQL
2) select * from qsys2/systrigger where EVENT_OBJECT_TABLE = 'QAQQINI'
3) take notice of which libraries hold the said file and what triggers
it has applied on it (each QAQQINI should have 6 triggers attached to it
in the library the file itself resides).

Another query you can run to get the libraries containing QAQQINI might
be:

SELECT TRIGGER_SCHEMA FROM                                 
qsys2/systrigger                                           
where trigger_name = 'Q__OSYS_QAQQINI_BEFORE_INSERT_______'

If it does turn out that the cross-reference files are corrupted, you
can try running RCLSTG SELECT(*DBXREF).  Length of running this command
depends on the various factors, one of them being the size of your
system.  For all the influencing factors, search the midrange archives
as this has been discussed many times before.

Elvis



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.