Variable LVLINE holds the last visible line of an area. If you know where
the area start on your panel, it is easy to know screen depth.

ITschak

On Thu, Aug 4, 2011 at 4:25 PM, Chuck Arney <ch...@arneycomputer.com> wrote:

> In an assembler ISPF application I am trying to adjust the size of a
> dynamic
> screen area based on the results of a PQUERY and the ZPFSHOW variable.
>  But,
> the ZPFSHOW variable does not seem to work as expected.  It appears that it
> is not updated with the actual state of the PFSHOW command results.
> According to the documentation it should contain ON or OFF but usually I
> get
> a blank value and changing the PFSHOW state does not change the ZPFSHOW
> variable.  Using Dialog Test (7.3) I can change the value from blank to ON
> but it gets reset to blank.
>
> Can anyone explain this or describe a proper way to know the actual
> displayable size of a dynamic screen area?  I understand a command could be
> used to turn the PFK display on or off dynamically but I would rather
> respect the user settings.  I also know I could just leave the last two
> rows
> unused, but I would rather use all that's available.
>
> Chuck Arney
> Arney Computer Systems
> www.arneycomputer.com
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to