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



Given that you're working with RPG IV, you can use EXTMBR() on the
F-spec.... (IFIAK it's there in v4r5)

EXTMBR(membername)
The EXTMBR keyword specifies which member of the file is opened. You can
specify a member name,
'*ALL', or '*FIRST'. Note that '*ALL' and '*FIRST' must be specified in
quotes, since they are member
"names", not RPG special words. The value can be a literal or a variable.
The default is '*FIRST'.
The name must be in the correct case. For example, if you specify
EXTMBR(mbrname) and variable
mbrname has the value 'mbr1', the member will not be found. Instead, it
should have the value 'MBR1'.
If a variable name is used, it must be set before the file is opened. For
files that are opened automatically
during the initialization part of the cycle, the variable must be set in
one of the following ways:
• Using the INZ keyword on the D specification
• Passing the value in as an entry parameter
• Using a program-global variable that is set by another module.

Charles

On Fri, Nov 17, 2023 at 2:51 AM Patrik Schindler <poc@xxxxxxxxxx> wrote:

Hello Roger,

Am 17.11.2023 um 03:10 schrieb Roger Harman <roger.harman@xxxxxxxxxxx>:

I can't speak to the save issue but....

I was already in bed when typing my message on my iPad. :-) Now I'm
properly awake again, I just looked at dsptap for my last daily save and
there were only changed members listed.

With no overrides, the default member used by RPG should be *FIRST.

Thanks for pointing that out!

:wq! PoC



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



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.