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


Multiple AREA tags

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

The default AREA tag formatting arranges areas vertically within the panel body.

The WIDTH and DIR attributes of the AREA tag allow areas to be formatted horizontally.

Here is markup that shows horizontal areas. Figure 1 shows the formatted result.
<!DOCTYPE DM SYSTEM(
  <!entity sampvar2 system>
  <!entity sampabc system>)>
&sampvar2;

<PANEL NAME=scrarea4 KEYLIST=keylxmp>File-A-Case
<AB>
&sampabc;
</AB>
<CMDAREA>Enter a command
<TOPINST COMPACT>
         Type in client's name and case number (if applicable).
<TOPINST>Then select an action bar choice.
<AREA width=50 dir=horiz>
<DTAFLD DATAVAR=caseno PMTWIDTH=12 ENTWIDTH=7 DESWIDTH=21>Case No
   <DTAFLDD>(A 7-digit number)
<DTAFLD DATAVAR=name PMTWIDTH=12 ENTWIDTH=25 DESWIDTH=8>Name
   <DTAFLDD>(Last, First, M.I.)
<DTAFLD DATAVAR=address PMTWIDTH=12 ENTWIDTH=25>Address
<DIVIDER>
<SELFLD NAME=casesel PMTWIDTH=11 PMTLOC=before SELWIDTH=38>Choose
one of the following
   <CHOICE CHECKVAR=case MATCH=civ>Civil
   <CHOICE CHECKVAR=case MATCH=estate>Real Estate
   <CHOICE CHECKVAR=case MATCH=environ>Environmental
</SELFLD>
</AREA>
<AREA width=26 dir=horiz>
<SELFLD TYPE=multi PMTWIDTH=24 SELWIDTH=26 depth=10>
  Check type of offense
   <CHOICE NAME=patin HELP=patin CHECKVAR=val>Patent Infringement
   <CHOICE NAME=defa HELP=defame CHECKVAR=def>Defamation
   <CHOICE NAME=cont HELP=cont CHECKVAR=con>Breach of Valid Contract
   <CHOICE NAME=priv HELP=priv CHECKVAR=pri>Invasion of Privacy
   <CHOICE NAME=incr HELP=incr CHECKVAR=icr>Interference with Contractual
           Relations
   <CHOICE NAME=disp HELP=disp CHECKVAR=dis>Improper Disposal of Medical
           By-Products
   <CHOICE NAME=fraud HELP=fraud CHECKVAR=fra>Fraud
</SELFLD>
</AREA>
</PANEL>
Figure 1. Multiple horizontal areas
   File  Search  Help
 -------------------------------------------------------------------------
                                File-A-Case

 Type in client's name and case number (if applicable).
 Then select an action bar choice.
                                                  Check type of offense
                                                  #SAREA37                 #
 Case No  . . _______  (A 7-digit number)         #                        #
 Name . . . . _________________________  (Last,   #                        #
                                         First,   #                        #
                                         M.I.)    #                        #
 Address  . . _________________________           #                        #
                                                  #                        #
 Choose one                                       #                        #
 of the                                           #                        #
 following   __  1.  Civil                        #                        #
                 2.  Real Estate
                 3.  Environmental
 Enter a command ===> ____________________________________________________
  F1=Help        F3=Exit        F5=Display     F6=Keyshelp   F10=Actions
 F12=Cancel

Here are the contents of the scrollable area:

     )AREA SAREA37
 _  Patent Infringement
 _  Defamation
 _  Breach of Valid
    Contract
 _  Invasion of Privacy
 _  Interference with
    Contractual Relations
 _  Improper Disposal of
    Medical By-Products
 _  Fraud
     )AREA SAREA37

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014