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



Jeff,

Without the part which specifies the subfile, nobody will be able to
give more than just a wild guess. So if you could not only supply the
source for the control record, but also the subfile we might just be
able to tackle the problem.

Cor

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx 
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Williams
Sent: dinsdag 27 maart 2007 4:41
To: RPG programming on the AS400 / iSeries
Subject: Different Display Screen Sizes same DSPF

Hi everyone. I have a subfile display program with many 
screens and multiple subfiles. Some of the screens are over 
80 and some are lower than 80. I want to set it up so that 
the screens will resize more accurately. I have never done 
this before but I am pretty sure I can do it using this:
A                                      DSPSIZ(27 132 *DS4
A                                             24 80 *DS3)

When I try just to compile with the above code without adding 
it to the subfile control I get this error message:
 CPD7812      30        2      Message . . . . :   Subfile 
control record 
overlaps subfile record.
 CPD7817      30        4      Message . . . . :   Value on 
SFLPAG keyword 
too large for display size.

When I add one of the display sizes to a subfile control I 
get this warning message as well as the ones above:
CPD8018      10        1      Message . . . . :   Keyword may 
not function 
as expected with DSPMOD.

Here is what one of my subfile controls look like:
A          R S01CTL                    SFLCTL(S01SFL) 
070221
A*%%TS  SD  20070221  003008  ECK         REL-V5R3M0  5722-WDS 
070221
A                                      SFLSIZ(0020) 
070221
A                                      SFLPAG(0019) 
070221
A                                      CF03(03 'EXIT') 
070221
A                                      ROLLUP 
070221
A                                      OVERLAY 
070221
A                                      DSPMOD(*DS3) 
070327
A  50                                  SFLDSP 
070221
A  51                                  SFLDSPCTL 
070221
A  52                                  SFLCLR 
070221
A  53                                  SFLEND(*MORE) 
070221

Any help would be appreciated. Thank you very much

Jeff Williams 


--
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 e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.


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.