|
Jeff, In addition to the remarks made earlier on this list, my observations (which might be completely off the mark): You specify (through the DSPMOD(*DS3)) that you want to display the subfile on a 24x80 screen. In the SFLCTL you also specify that the subfile pagesize is 19 (therefore you want to show 19 lines, starting from the first subfile line. The first line of the subfile is positioned on line 7, if I add 19 to 7 I end up with line 26 which is well over the last displayable line of 24, so effectively dropping 3 lines of the subfile out of the display and leaving no room for the "more..." indication if indicator 53 is turned on. Just a wild guess... Kind regards, Cor
-----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of jeffw@xxxxxxxxxxxxxxxx Sent: dinsdag 27 maart 2007 14:36 To: RPG programming on the AS400 / iSeries Cc: rpg400-l-bounces@xxxxxxxxxxxx Subject: RE: Different Display Screen Sizes same DSPF 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 wroteJeff, Without the part which specifies the subfile, nobody willbe able togive more than just a wild guess. So if you could not onlysupply thesource for the control record, but also the subfile wemight just beable 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 manyscreens andmultiple subfiles. Some of the screens are over 80 and some are lower than 80. I want to set it up so that the screenswill resizemore accurately. I have never done this before but I ampretty sureI can do it using this: A DSPSIZ(27 132 *DS4 A 24 80 *DS3) When I try just to compile with the above code withoutadding it tothe 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 controlI get thiswarning 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 takea 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,confidentialinformation and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party.If you arenot an intended recipient then please promptly delete thise- mail andany attachment and all copies and inform the sender. Thank you. -- This is the RPG programming on the AS400 / iSeries(RPG400-L) mailinglist To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l oremail: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a momentto reviewthe archives at http://archive.midrange.com/rpg400-l.-- WOW! Homepage (http://www.wowway.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.
As an Amazon Associate we earn from qualifying purchases.
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.