|
I thought of that. But I'm not sure what the fully qualified /QSYS.LIB name would be. Is it always the OS/400 objects type without the '*'? So a program in MYLIB would be /QSYS.LIB/MYLIB.LIB/MYPROG.PGM a *JOBD would be /QSYS.LIB/MYLIB.LIB/MYJOBD.JOBD. I just don't know for sure that the above conversion is always true. I think it is but... Also what about *FILE objects. They end up being a directory themselves with objects underneath, I pretty sure I'd have to delete the .MBRs first before I could use DEL on the .FILE directory. In short, I'd need to find out be being trying to roll my own using this method. Charles > -----Original Message----- > From: michaelr_41@xxxxxxxxxxxxxx [mailto:michaelr_41@xxxxxxxxxxxxxx] > Sent: Friday, June 18, 2004 1:53 PM > To: Midrange Systems Technical Discussion > Subject: Re: Looking for a DLTOBJ command.. > > > Would DEL or RMVLNK work with a fully qualified /QSYS.LIB path name? > > On Fri, 18 Jun 2004 13:45:11 -0400, CWilt@xxxxxxxxxxxx said: > > Anyone have or know of a DLTOBJ command I could use rather > than rolling > > my > > own? > > > > I've got a program that will be passed a qualified object > name and type > > that > > the program will need to delete. > > > > Alternately, does anyone know of an API that will help with > this task? > > > > I'd prefer to avoid a CL program that has a bunch of IF > (&OBJTYPE *EQ > > *FILE) THEN(DLTF ...). > > > > > > Thanks, > > Charles Wilt > > -- > > This is the Midrange Systems Technical Discussion > (MIDRANGE-L) mailing > > list > > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > > or email: MIDRANGE-L-request@xxxxxxxxxxxx > > Before posting, please take a moment to review the archives > > at http://archive.midrange.com/midrange-l. > > > -- > > michaelr_41@xxxxxxxxxxxxxx > > -- > This is the Midrange Systems Technical Discussion > (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. >
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.