z/OS ISPF Dialog Tag Language Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Panel size (width and depth)

z/OS ISPF Dialog Tag Language Guide and Reference
SC19-3620-00

Use the DEPTH and WIDTH attributes of the PANEL tag to define the size of an application panel. The PANEL tag has a default WIDTH value of 76 characters and a default DEPTH value of 22 lines. If you specify WINDOW=NO, the default WIDTH is 80 and the default DEPTH is 24. These are the values the conversion utility assumes if you do not specify dimensions for WIDTH and DEPTH.

Here is an example that defines the panel size as 60 characters wide and 15 lines deep:
<panel name=mainpan width=60 depth=15>Catalog Ordering System
⋮
</panel>
To make the width of the panel 76 characters (the default width), we only need to specify a value for DEPTH, as in this markup:
<panel name=mainpan depth=15>Catalog Ordering System
⋮
</panel>

This results in a panel with a default width of 76 characters and a specified depth of 15 lines.

Because you can display application panels in pop-ups, you should allow for pop-up borders (added by ISPF at run time) when you define the WIDTH and DEPTH values for application panels. When the panel is displayed in a pop-up, ISPF adds two lines to the depth specified and 4 characters to the width specified for pop-up borders. Remember that ISPF cannot display a panel whose size exceeds the device size and issues an error message at run time in this situation.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014