Try the ERASE keyword...it's simple and direct...
A R FOOT1 OVERLAY
A ERASE(FOOT2)
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Frances Denoncourt
Sent: Friday, September 05, 2008 4:28 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: SUBFTR01 and SUBFTR02 - OVERLAY vs CLRLand inserting blanks
Booth, Duane,
I took the overlay off both footers - still showing pieces of each on
the other.
Sending blanks then the text to that area in each footer just blanked
everything out.
Next week I'll tackle it again.
Thanks,
Fran Denoncourt
Sr. Programmer/Analyst
Pinal County Treasurer's Office
Florence, AZ 85232
(520) 866-6404
Frances.Denoncourt@xxxxxxxxxxxxxxxxx
Receipt of this message does not grant you permission to send me
Unsolicited Commercial Email
"Christen, Duane J." <Duane.Christen@xxxxxxxxxxxxx> 09/05/2008 12:33
PM >>>
It sounds like you need to remove the OVERLAY keywork from one or two of
your display records.
The first display record you write to the screen shouldn't have an
OVERLAY keyword, this will clear the screen:
Write Header (No OVERLAY - Clears Screen)
Write Body (OVERLAY - Header stays visable)
Write Footer (OVERLAY - Header & Body stay visable)
Duane
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Frances Denoncourt
Sent: Friday, September 05, 2008 1:47 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: SUBFTR01 and SUBFTR02 - OVERLAY vs CLRL and inserting
blanks
Booth,
That is the problem. I don't want to show both at once. The first
belongs with the first subfile and SUBFTR02 goes with SUBFIL02.
I must have worded my message incorrectly.
The first subfile is displayed with its footer; user select one line;
second subfile is displayed with 2nd footer.
Just need to do it the right way - blank it out in the second footer or
write one in between to clear text from the first?
Thanks,
Fran Denoncourt
Sr. Programmer/Analyst
Pinal County Treasurer's Office
Florence, AZ 85232
(520) 866-6404
Frances.Denoncourt@xxxxxxxxxxxxxxxxx
Receipt of this message does not grant you permission to send me
Unsolicited Commercial Email
Booth Martin <booth@xxxxxxxxxxxx> 09/05/2008 11:12 AM >>>
I am curious to the purpose of displaying two footers at once? Why not
just display one or the other?
Frances Denoncourt wrote:
Oops....Simon must be sleeping....it's 3:30 AM tomorrow.
Anyone else please feel free to advise me.
Thanks,
Fran Denoncourt
Sr. Programmer/Analyst
Pinal County Treasurer's Office
Florence, AZ 85232
(520) 866-6404
Frances.Denoncourt@xxxxxxxxxxxxxxxxx
Receipt of this message does not grant you permission to send me
Unsolicited Commercial Email
"Frances Denoncourt" <Frances.Denoncourt@xxxxxxxxxxxxxxxxx>
09/05/2008 10:27 AM >>>
Simon,
My other issue is that the first footer is still displaying in places
along with the second.
There is some code in there placing blanks in the line before the
footer info.
I put some identifying remarks in its place and could see what was
still showing from one footer to the other.
Maybe I should just write blanks to cover up the entire first footer
(or another blank footer) then write the second.
There is one of your old posts that might help out, but I'm not sure
about the comment about reordering the write of records to the display
device.
Which would be the best way to code for this?
From your earlier post:
"Yes, it is possible. What you are describing is OVERLAP not OVERLAY.
OVERLAY only works when each record format occupies discrete rows of the
panel. To accomplish OVERLAP you need to specify CLRL(*NO).
You cannot specify CLRL on a SFL or SFLCTL record so you'll need to
specify it on your so-called "footer" record. You'll also need to change
the order in which you write the records to the display device. "
Fran Denoncourt
Sr. Programmer/Analyst
Pinal County Treasurer's Office
Florence, AZ 85232
(520) 866-6404
Frances.Denoncourt@xxxxxxxxxxxxxxxxx
Receipt of this message does not grant you permission to send me
Unsolicited Commercial Email
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.6.16/1653 - Release Date:
9/5/2008 6:57 AM
--
---------------------------------
Booth Martin
http://www.Martinvt.com
---------------------------------
--
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.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________
NOTICE: This electronic mail transmission may contain confidential
information and is intended only for the person(s) named. Any use,
copying, or disclosure by any other person is strictly prohibited. If
you have received this transmission in error, please notify the sender
via e-mail.
As an Amazon Associate we earn from qualifying purchases.