|
Bob, It might be a bit too "dirty" for your task, but I think that looking up the *QDIDX (an index of type x'0E90') in the library is the fastest way to check for object existence. - Njal > -----Original Message----- > From: mi400-bounces@xxxxxxxxxxxx [mailto:mi400-bounces@xxxxxxxxxxxx]On > Behalf Of Bob Cozzi > Sent: 18. mai 2004 17:41 > To: 'MI Programming on the AS400 / iSeries' > Subject: RE: [MI400] MCH3401 removal > > > Hi Leif, > I agree, however I am not using MI source/syntax, I am use the C > language MI > functions, and your technique doesn't seem to have a C equivalent. > I am concerned about performance because I am processing tens of > millions of > records and need the job to finish as soon as possible. I have > done several > things to optimize performance. Originally I was using a CALL to > QUSROBJD to > check for object existence. By switch to the rslvsp technique, I > cut a huge > check of overhead out of the routine--in fact most of the overhead was in > just that one call. So every "bit" helps. > -Bob
As an Amazon Associate we earn from qualifying purchases.
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.