Got this from one of Scott's articles. The Retrieve Screen Dimensions
(QsnRtvScrDim) API.
D height s 10I 0
D width s 10I 0
.
.
QsnRtvScrDim( height
: width
: *omit
: *omit );
Good Luck...
- Steve
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Wintermute, Sharon
Sent: Thursday, November 12, 2009 10:29 AM
To: RPG programming on the IBM i / System i
Subject: Capture display size too small
I have a routine that requires the display size of 27X132.
How can I capture the fact without going to the device that it is only a
24X80 terminal?
What I want to do is to display a different screen telling them they
can't access that function do to the limitation rather than have it blow
up.
TIA,
Sharon Wintermute
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.