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



FWIW....you can't totally exclude indicators for subfiles.
Unfortunately subfiles require at least one indicator (if not more
depending on what you're doing...).  Until display files have an
alternative means of handling subfile processing best you can do is use
INDDS or INFDS with indicator renaming.... 


Thanks,
Tommy Holden


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry Adams
Sent: Wednesday, August 23, 2006 12:44 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Subfile without indicators

Joe,


While Booth's example shows that it can *almost* be done, the example is

a very specific case (one, in fact, that with Booth's help I used in a 
project).  Notice that there is no SFLCLR, which one would normally want

to do, but not every time you write the subfile control.  That requires 
an indicator. 


Kevin Vandever also wrote a pretty good book: Subfiles in RPG IV.  I 
couldn't find a single example in his book or Catalani's, which I also 
have, of a subfile with no indicators. 


Out of curiosity, why?


        * Jerry C. Adams
*IBM System i5/iSeries Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
        615.995.7024
fax
        615.995.1201
email
        jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



Booth Martin wrote:

Here is a subfile with one indicator.  I have no idea if that indicator

can be deleted.

http://tinyurl.com/kczww



Joseph Pascoguin wrote:
 

Is it possible to create subfile without using any indicators, Im
following 
with Catalani book to create subfiles...
If any  one has done , could you kindly post code or refer good books
on 
subfiles without indicator usage.



Warm Regards,
JoeP
   



 



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.