Re: Window in 2nd pgm?

Justin Taylor <[email protected]>
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <CAJu8Sp_eFCGEr3XaOLxjNDv-zE6Ubj-BmULJGygsMHZoN9MS8A@mail.gmail.com>
I don't think the INFDS in the subordinate program would show the display
size of the calling program.



On Thu, Aug 28, 2025 at 6:29 PM Roger Harman <[email protected]>
wrote:

> I've never had to deal with this but is there some reason for not
> declaring and using an INFDS for the DSPF?  Seems a lot easier than dealing
> with the API.
>
> DEV_TYPE      CHAR(1) POS(272);    // Device type - *DS3, *DS4, etc.
> NUM_ROWS    INT(5)     POS(282);    // Number of rows
> NUM_COLS     INT(5)     POS(284);    // Number of cols
>
> Roger Harman
> COMMON Certified Application Developer - ILE RPG on IBM i on Power
>
>
>
-- 
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact [email protected] for any subscription related questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.