×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Cor
Thanks. Sorry about that here is the SFL and the CTL portion of the code
A          R S01SFL                    SFL                    
A*%%TS  SD  20060623  084533  BKO         REL-V5R3M0  5722-WDS
A            S1POS          1A  B  7  2                       
A            S1ITEM        15A  O  7  4                       
A            S1DESC        29A  O  7 20                       
A            S1HQTY         9Y 0O  7 54EDTCDE(J)              
A            S1HOUS         3A  O  7 50                       
A            S1COST        13Y 8O  7 67EDTCDE(3)              
A N98                                  DSPATR(ND)             
A          R S01CTL                    SFLCTL(S01SFL)         
A*%%TS  SD  20070221  003008  ECK         REL-V5R3M0  5722-WDS
A                                      SFLSIZ(0020)      
A                                      SFLPAG(0019)      
A                                      CF03(03 'EXIT')   
A                                      ROLLUP            
A                                      OVERLAY           
A                                      DSPMOD(*DS3)      
A  50                                  SFLDSP            
A  51                                  SFLDSPCTL         
A  52                                  SFLCLR            
A  53                                  SFLEND(*MORE)     
A            DSPPRN         4S 0H      SFLRCDNBR         

Thanks
Jeff

On Tue, 27 Mar 2007 07:16:37 +0200, Takken, Cor wrote
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.

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


--
WOW! Homepage (http://www.wowway.com)


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