setsppfp crashes with MCH6801

"Rory Hewitt" <[email protected]>
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Thomas Raddatz wrote:

>>*OUTFILE is too slow because I have to randomly check for and manage
specific entries.

Thomas,

Unless you're frequently changing the actual entries  (by doing ADDBNDDIRE
and RMVBNDDIRE), you could write an RPG procedure (and wrap it in a service
program) to run the DSPPNDDIR to an OUTFILE and load that into an array,
keyed by entry name (hell, you could run it over *all* your *BNDDIR's and
put it into an array keyed on BNDDIR name and entry name or however you
want). Then you could call this procedure once at the beginning of your job
and then call a separate procedure to check in the array for a given entry.
Or load the array into a user space, so you only call the load procedure
when you change any of your binding directories.

There's nothing wrong with MI, but RPG might be simpler, especially if you
go to a higher security level.

Just a thought :-)

Rory
_______________________________________________
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.