× 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.



*INZSR runs after the files are open. Of course he can close the files in *INZR then open them when he is ready, but if there is a missing file he is doomed.


jstevens@xxxxxxxxxxxxxx wrote:
Yes, but James was NOT wanting to add the *USROPN for all of the files.

Isn't there something like a *INZSR? A subroutine that runes before the program opens the files?


Jeff Stevens
Mize, Houser & Co. P.A.
913 451 1882
JStevens@xxxxxxxxxxxxxx





"Ellsberry, Steve" <steve.ellsberry@xxxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx
11/24/2006 10:35 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
"RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
cc

Subject
RE: Happy Thanksgiving, and a quick question






QCMDEXC from the RPG program to set the library list first then open the
files

Thanks,
S. Ellsberry
(678) 893-6673
steve.ellsberry@xxxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of James H H Lampert
Sent: Friday, November 24, 2006 11:33 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Happy Thanksgiving, and a quick question

Happy Thanksgiving to all U.S. members of the List (and as to the rest,
I hope you had a happy Thursday, and are having a happy Friday).

Is there by any chance a way, short of making all the files *USROPN, to
wedge some code into an RPG program to alter the library list before the
files open?

Case in point: a trigger program that accesses files that can't be
qualified (because the code has to compile on a release that doesn't
have EXTFILE), and aren't guaranteed to be on the library list.

If nothing else, would some sort of ILE CL "leader" module be possible,
that would force the library list into the required shape, then call the
RPG main with the unaltered trigger parameters? (I'm still not
particularly up on what can and can't be done with ILE CL)

--
JHHL
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.