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



Hi there

I have been burned at least once on this command: there is also a *FIRSTMBR and *LASTMBR special value for the RTNMBR parameter.

If you simply want to get the first or last member added then *FIRST or *LAST will do the trick. If you need the first or last member BY NAME value then you should use *FIRSTMBR or *LASTMBR.

These two values are not always the same and which you need will be determined by what you are trying to do.

Hope this helps
Regards
Evan Harris

>Unfortunately, there is no *LAST option.

He/Murali could alternatively use the RTVMBRD command
e.g.

RTVMBRD FILE(DASYSM00) MBR(*LAST) RTNMBR(&MBR)

HTH

Mike






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.