MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2001

RE: retrieving all member names



fixed

The easiest way to do this is to create a CL program that does nothing but
execute the following command:
RTVMBRD FILE(&LIBPARM/&FILEPARM) MBR(&MBRPARM &REFPARM) RTNMBR(&MBRNAME)

This program can then be executed from the HLL program of your choice to
move up or down the list of members in the file using "*NEXT" and "*PRV" in
the &REFPARM field.

RTVMBRD returns other values too, of course, like record count, number of
deleted records, and so on.  Just prompt the command and read the help text.

Hope that helps.

Donald R. Fisher, III
Project Manager
Heilig-Meyers Furniture Company
(804) 784-7500 ext. 2124
Don.Fisher@HeiligMeyers.com


<clip>
Is there a way to retrieve all the member names with in a file so that I can
display them on a subfile for a user to select which one it is they wish to
use?

Angela Wawrzaszek
Nucor Steel Auburn
IT Department
<clip>






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact