|
-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Jerry C. Adams
Envoyé : jeudi 24 février 2011 14:27
À : 'RPG programming on the IBM i / System i'
Objet : RE: READE on a file selected by user
Here, here. I admit that I usually forget about this (using
embedded SQL).
But I recall one inquiry a few years back where everybody and
their second cousins wanted different selections and
sequences. I wound up writing a selector panel where they
could put in just about anything they wanted (well, within
reason, as defined by me) and sort (order by) whatever.
Building the SQL wasn't too bad.
Jerry C. Adams
IBM i Programmer/Analyst
I found a delivery in my flaw. -Don Quisenberry
--
A&K Wholesale
Murfreesboro, TN
615-867-5070
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Helge Bichel
Sent: Thursday, February 24, 2011 6:45 AM
To: 'RPG programming on the IBM i / System i'
Subject: RE: READE on a file selected by user
Hi David.
It's better and much more flexible using SQL for this task.
I know starting with dynamic SQL constructing the SQL with
Select, Order By etc.
and implementing the processing of Declare, Open, Fetch etc.
can be a challenge, but done once I believe you would never
go back using various SETLL, READE processing.
Brgds
Helge
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
Sent: Thursday, February 24, 2011 1:01 PM
To: RPG programming on the IBM i / System i
Subject: READE on a file selected by user
Hi,
I'm sure someone must have already run into this problem :
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.