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



Another thing Doug...  It probably isn't wise to assign the same indicator
to the SFLDSP & the SFLDSPCTL keywords.  I never assign an indicator to the
SFLDSPCTL keyword, cuz I want the Control Record to display irregardless of
whether there are records in the subfile or not.
 
 

Jerry L. Feador 
Sr. Programmer/Analyst 
Kia Motors America, Inc. 
(949) 595-5810 



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of RPower@xxxxxxxxxx
Sent: Thursday, December 16, 2004 10:11 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Subfile question


Basically I guess the author is saying that either you're showing the 
subfile, or you're clearing it, so instead of using two separate 
indicators to use the one.  Door is either open or closed I guess.  I 
don't like doing that though.  Looks confusing to someone coming in to fix 
something on the pgm.

Ron Power
Programmer
Information Services
City Of St. John's, NL
P.O. Box 908
St. John's, NL
A1C 5M2
Tel: 709-576-8132
Email: rpower@xxxxxxxxxx
Website: http://www.stjohns.ca/
___________________________________________________________________________
Success is going from failure to failure without a loss of enthusiasm. - 
Sir Winston Churchill




"Douglas W. Palme" <dpalme@xxxxxxxxxxxxxxxxxxxxx> 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
16/12/2004 02:28 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Subfile question






I decided I needed some text help on subfiles so I ordered the 
book "Essentials of subfile Programming and advanced topics in RPG IV"

One question I have is a comment the author made:

The SFLCLR must have the opposite indicator value.....

Is he talking about the opposite value of SFLDSP, SFLDSPCTL or both? I 
looked at a sample subfile a friend of mine sent me and he was using 
indicators 51 for the SFLDSP and SFLDSPCTL fields and 50 for SFLCLR....and 

it works...

Can anyone explain what the author might have been talking about?

Here is the example he gave:

A     50                                     SFLDSP
A     50                                     SFLDSPCTL
A    N50                                     SFLCLR

Saying the N50 is the opposite of 50.


-- 
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


-- 
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.