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



Thanks Chris,

There is this at the file level. Since 132 is first, that is the default.
DSPSIZ(27 132 *DS4
24 80 *DS3)


Unless the record is 80 col, I do not specify at the record level.

Not to mention, all starting positions specified after col 80 are fine. So it does not issue the warning if fields are specified beyond 80 positions, just AT 80 positions.






"Hiebert, Chris" <chris.hiebert@xxxxxxxxxxxxxx> 2/15/2019 9:43 AM >>>
Did you make sure the display file only contained the DSPSIZ for 132?
DSPSIZ(27 132 *DS4)

If you had the DSPSIZ for 80, then try to remove that and see if you still get the original error.
DSPSIZ(24 80 *DS3)

Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Buddy McClean
Sent: Wednesday, February 13, 2019 1:10 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: 132 Display File oddness

Good Day

An interesting gotcha that kept me occupied for an embarrassing amount of time.

I have a SFL display file that uses 132 pos wide display. I have 2 sub files and 1 kept getting an error saying the PAGVAL() was too large. Even though they were almost identical.

After some time, I found that if there is a field that spans col 80, even if there are fields after that, it will give the PAGVAL halt.

So I changed the field to not be in that position and no halt. I suppose it is the boundary between an 80 col and 132 and may have control char.

Strange.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3WOG9BKFEwK1s&m=7uMY44rKaQXqWTdIDwHwo2cd2CROiOCkgLcdodAFqQ0&s=QRZPf4JLb2MrPdcsUM7OorPq2QF16H6oGoccuA-o-ew&e=
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_rpg400-2Dl&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3WOG9BKFEwK1s&m=7uMY44rKaQXqWTdIDwHwo2cd2CROiOCkgLcdodAFqQ0&s=xV-b4WkQTGtguYRAHXMJBJBeVtMBU9TE_iqsnDdBRpQ&e=.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3WOG9BKFEwK1s&m=7uMY44rKaQXqWTdIDwHwo2cd2CROiOCkgLcdodAFqQ0&s=TsZhg2Bgq2dotAkgBEEcj7PcmadlDgSR8f7rz81pEKQ&e=

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.