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



On Friday 31 August 2001 09:03, Njal Fisketjon wrote:
> john smith wrote:
> > One interesting use would be to have a 'calleable
> > generic file display program'. Thus the generic field
> > could be a , say, 70 char line on a subfile display.
> > Then calling this generic pgm with a file name as parm
> >
> > (from within another interactive pgm) would display a
> > sub-file screen with the records of the file being
> > displayed. This generic pgm could then return the
> > record being selected from the subfile to the original
> > pgm for further processing. I hope you get the idea.
>
> This is possible if you use a program described file.
> Couple this with the QUSLFLD API (or DSPFFD), and you can do it!

Which is what I was suggesting back in the 'Field Contents by
Reference'[1] thread as one of my free utilities[1] does exactly this.
Currently the data is formatted for output to a .csv file, but it
wouldn't require much to convert it to a display file routine.

Regards, Martin
[1] http://archive.midrange.com/rpg400-l/200108/msg00063.html
[2] http://www.dbg400.net/crtcsv.html
--
martin@dbg400.net / jamaro@firstlinux.net
http://www.dbg400.net  DBG/400 - DataBase Generation utilities
Open Source test environment tools for the AS/400 / iSeries and
miscellaneous database & spooled file management commands.


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.