×
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.
I have a display file that defines a subfile in a window. The display size is *DS4.
I wanted to add the ability to display this same window on a *DS3 screen. The sindow is 11x45, and in the upper left hand corner of the screen so it should fit.
When I add *DS3 as a secondary size, I get CPD7817 - Value on SFLPAG too large for display size. But it should fit fine SFLPAG is 10, and SFLLIN is 3 (makes two columns of 5 rows).
In fact when I look at it in RDi, the window and subfile fits with columns and rows to spare on all sides for both *DS3 and *DS4 display sizes.
If I replace *DS4 with *DS3, there is no error on compile.
So to recap:
1) display file compiles fine with DSPSIZ(*DS4)
2) display file compiles fine with DSPSIZ(*DS3) - and no other changes
3) I get CPD7817 if I use DSPSIZ(*DS4 *DS3) or DSPSIZ(*DS3 *DS4)
Well, as I was writing this, I discovered that if you are using SFLLIN with multiple display sizes, you have to specify it twice, once for each display size. Even if it is the same. So to fix my issue, I had to add:
*DS3 SFLLIN(3)
*DS4 SFLLIN(3)
Apparently this is the only keyword that functions this way. So I thought I might share this little gotcha with the group.
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
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.