× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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" <dan27649@xxxxxxxxx>
To: "MI Programming on the AS400 / iSeries" <mi400@xxxxxxxxxxxx>
Sent: Friday, October 07, 2005 4:01 PM
Subject: Re: [MI400] Oir reference


On 10/7/05, Beppe Costa <beppecosta@xxxxxxxxxxx> 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@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.