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


  • Subject: Re: Multi-membered file question?
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Mon, 12 Jul 99 09:59:23 +1000

Œ
Hello Tim,

As others have said the member you get is *FIRST which is the chronologically 
first 
member.  The RTVMBRD MBR(*FIRST) command will return the member name.

DSPFD TYPE(*MBR) will provide a chronological list of members.

The file-feedback area within RPG will give you the name of the current member. 
 It 
changes as you move from one member to another when using OVRDBF MBR(*ALL)

Regards,
Simon Coulter.

«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
«» FlyByNight Software         AS/400 Technical Specialists       «»
«» Eclipse the competition - run your business on an IBM AS/400.  «»
«»                                                                «»
«» Phone: +61 3 9419 0175      Mobile: +61 0411 091 400           «»
«» Fax:   +61 3 9419 0175      mailto: shc@flybynight.com.au      «»
«»                                                                «»
«» Windoze should not be open at Warp speed.                      «»
«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
Œ-Mailer: Microsoft Outlook Express 5.00.2615.200
Date: Sun, 11 Jul 99 07:31:46 -0400
From: "Tim Truax" <truax@usaor.net>
To: "MIDRANGE-L list" <MIDRANGE-L@midrange.com>
Reply-To: MIDRANGE-L@midrange.com
Subject: Multi-membered file question?
Œi fellow listers,
If a program processes a multi-membered file (without first setting OVRDBF to 
point to the member to process) what member will be processed?  If it is the 
first member?  Do I determine the first via DSPFD xxxxlib/filename *MBRLIST?
Thanks in advance!
:-) Tim & Dana Truax ... and Caleb :-)
http://members.xoom.com/truax
Œ!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Hi fellow listers,
If a program processes a multi-membered file (without first setting OVRDBF to point to the member to process) what member will be processed?  If it is the first member?  Do I determine the first via DSPFD xxxxlib/filename *MBRLIST?
Thanks in advance!
:-) Tim & Dana Truax ... and Caleb :-)
http://members.xoom.com/truax

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.