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



Understood....Thanks....

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Richard Thomas
Sent: Thursday, November 12, 2009 10:54 AM
To: 'RPG programming on the IBM i / System i'
Subject: RE: Capture display size too small

I don't think QsnRtvScrDim will do the job - think it returns the
current
dimensions for the screen (which could be *DS3 on a *DS4-capable
device),
not whether it supports *DS4. It's been years since I looked at the DSM
APIs
so I could be wide of the mark here.

Richard

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Coyle, Stephen F.
Sent: 12 November 2009 15:41
To: RPG programming on the IBM i / System i
Subject: RE: Capture display size too small

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




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