|
Midrange Computing magazine has a generic DLTOBJ utility. It hides all the AS/400 DLT* commands. HTH, Loyd > -----Original Message----- > From: Fisher, Don [SMTP:DRF@HeiligMeyers.com] > Sent: Wednesday, March 08, 2000 1:52 PM > To: 'Midrange List' > Subject: Generic deletion of an object > > I am creating a utility that will duplicate any object and handle the > various exceptions that may occur when duplicating objects. The one > exception that is proving difficult is if the new object already exists > and > should be deleted. For example, if I'm duplicating an object and the > destination library already has that file, but was created earlier than > the > source object, then the destination object needs to be deleted before the > CRTDUPOBJ command can be used. > > Trouble is, all AS/400 deletion commands are object type specific. I > could > create a dummy library, move the object to the library and then clear it, > but that seems rather clunky to me. I've searched the API books to no > avail > and we don't have TAATOOL, except what comes in the QUSRTOOL library. > > Thanks for any help you can provide. > > Donald R. Fisher, III > Project Manager > Heilig-Meyers Furniture Company > (804) 784-7500 ext. 2124 > Don.Fisher@HeiligMeyers.com > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.