Re: Oir reference
"Beppe Costa" <[email protected]>
| Newsgroups | gmane.comp.lang.as400.mi |
|---|---|
| Message-ID | <[email protected]> |
Dan, sometimes MI helped me to solve some problems. For example recently I had to analize all the spooled files we have on our systems (we have four 870 and a 890). There are some millions splf here. I first tried with the IBM apiS. The classic old one chashes because of UsrSpc limitation, another (the GY) at a certain point hangs. Then I got what I was looking for from "internals". Maybe this code won't work in V9R9. But yesterday it solved my problem (and gave me a chance to earn my living and because the code is a little "obscure" to keep on earning maybe in the near future). ----- Original Message ----- From: "Dan" <[email protected]> To: "MI Programming on the AS400 / iSeries" <mi400-Zwy7GipZuJhWk0Htik3J/[email protected]> Sent: Friday, October 07, 2005 4:01 PM Subject: Re: [MI400] Oir reference On 10/7/05, Beppe Costa <[email protected]> wrote: > > Maybe I'm also missing something .... but is this the MI ng ? It is. And it is the appropriate place to ask. I intend no offense. But my response is strictly questioning the practicality of doing what you want to achieve using MI. Are you doing this strictly for the exercise, or are you responsible for creating a solution for your employer that does not need to involve re-inventing the wheel? I mean, I could write an MI program to replicate an existing IBM command, but why would I if there's no real benefit to my employer? Just from what you've said your requirements are, to report object size, date last used, etc., everything you're looking for can be had in a nicely defined, IBM-supported DSPOBJD outfile. It takes less than a minute to type out the command. How long will it take to write/debug/test the MI program to do the same thing? Yeah, the MI program will probably run faster, but you'll never make up the time in your labor. (Unless you're in the league of Leif, Njål, Gene, or others, I suppose.) If your employer doesn't mind you doing this, or maybe even encourages you to do so, then I say, "Wow, knock yourself out!" - Dan _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mi400 or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400. _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mi400 or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400.