× 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: Capture field name
  • From: "Dass, Naveen" <Naveen.Dass@xxxxxx>
  • Date: Mon, 6 Nov 2000 11:14:06 -0600

Paul,

      I have already used QUSLFLD API to capture the fields in my program and I 
love to use API's. Infact most of my programs are API driven.  I was just 
curious whether there is any other way to do the same. Like some file 
information function. 

-----Original Message-----
From: paul cunnane [mailto:paul@cunnane.net]
Sent: Monday, November 06, 2000 9:19 AM
To: RPG400-L@midrange.com
Subject: Re: Capture field name


> Is there a way I could capture field names of a file into a
> variable in a RPG program other than using DSPFFD or API's.

I usually try to only offer constructive contributions to this list, but:

Can someone explain to me why there are so many questions (here, and in
other fora) asking for ways to access system information without using API
calls?  For years, we lived in the twilight zone of closed systems, begging
IBM for openness.  They finally delivered, in the form of APIs.

What can be easier than calling an API?  It's just a program call.  Granted,
the list APIs take some getting used to, but they have a consistent
structure that is actually quite easy to work with, especially with a
pointer to a user space.

I'm not ranting, I'm just curious -- can anyone give me an example of a
situation where the use of an API is entirely inappropriate, or too
difficult to use, or whatever?

--
Paul


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.