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


Highlighted phrases

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

The HP (highlighted phrase) tag provides emphasis through highlighting. You can focus the user's attention to particular sections of the panel text by highlighting words, phrases, or entire paragraphs.

The HP tag requires a matching end tag to indicate the end of a highlighted phrase.

This markup example shows the use of the HP tag:
<!DOCTYPE DM SYSTEM>

 <VARCLASS NAME=date    TYPE='char 8'>
 <VARCLASS NAME=numcls  TYPE='numeric 7'>
 <VARCLASS NAME=namecls TYPE='char 25'>
 <VARCLASS NAME=char1cls TYPE='char 1'>
 <VARCLASS NAME=char7cls TYPE='char 7'>

 <VARLIST>
   <VARDCL NAME=whchsrch VARCLASS=char1cls>
   <VARDCL NAME=curdate VARCLASS=date>
   <VARDCL NAME=cardno  VARCLASS=numcls>
   <VARDCL NAME=name    VARCLASS=namecls>
   <VARDCL NAME=address VARCLASS=namecls>
   <VARDCL NAME=cardsel VARCLASS=char1cls>
   <VARDCL NAME=card  VARCLASS=char7cls>
   <VARDCL NAME=north VARCLASS=char1cls>
   <VARDCL NAME=south VARCLASS=char1cls>
   <VARDCL NAME=east  VARCLASS=char1cls>
   <VARDCL NAME=west  VARCLASS=char1cls>
 </VARLIST>

<PANEL NAME=hlitep>Library Card Registration
<AB>
 <ABC>File
   <PDC>Add Entry
     <ACTION RUN=add>
   <PDC>Delete Entry
     <ACTION RUN=delete>
   <PDC>Update Entry
     <ACTION RUN=update>
   <PDC>Exit
     <ACTION RUN=exit>
 <ABC>Search
   <PDC CHECKVAR=whchsrch MATCH=1>Search on name
     <ACTION SETVAR=whchsrch VALUE=1>
     <ACTION RUN=search>
   <PDC CHECKVAR=whchsrch MATCH=2>Search on card number
     <ACTION SETVAR=whchsrch VALUE=2>
     <ACTION RUN=search>
  <ABC>Help
    <PDC>Extended Help...
      <ACTION RUN=exhelp>
    <PDC>Keys Help...
      <ACTION RUN=keyshelp>
 </AB>
<TOPINST>Type in <HP>patron's name</HP> and <HP>card number</HP>
         (if applicable).
<TOPINST>Then select an action bar choice.
<AREA>
    <DTACOL PMTWIDTH=12 ENTWIDTH=25 DESWIDTH=25 SELWIDTH=25>
    <DTAFLD DATAVAR=curdate USAGE=out ENTWIDTH=8>Date
    <DTAFLD DATAVAR=cardno ENTWIDTH=7>Card No.
      <DTAFLDD>(A 7-digit number)
    <DTAFLD DATAVAR=name>Name
      <DTAFLDD>(Last, First, M.I.)
    <DTAFLD DATAVAR=address>Address
     </DTACOL>
  <DIVIDER>
  <REGION DIR=horiz>
  <SELFLD NAME=cardsel PMTWIDTH=30 SELWIDTH=38>Choose
  one of the following
    <CHOICE CHECKVAR=card MATCH=new>New
    <CHOICE CHECKVAR=card MATCH=renew>Renewal
    <CHOICE CHECKVAR=card MATCH=replace>Replacement
  </SELFLD>
  <SELFLD TYPE=multi PMTWIDTH=30 SELWIDTH=25>Check valid branches
    <CHOICE NAME=north HELP=nthhlp CHECKVAR=nth>North Branch
    <CHOICE NAME=south HELP=sthhlp CHECKVAR=sth>South Branch
    <CHOICE NAME=east HELP=esthlp CHECKVAR=est>East Branch
    <CHOICE NAME=west HELP=wsthlp CHECKVAR=wst>West Branch
  </SELFLD>
  </REGION>
</AREA>
<CMDAREA>Enter a command
</PANEL>

Here is the formatted result:

Figure 1. Highlighted phrase example
   File  Search  Help
 --------------------------------------------------------------------------
                         Library Card Registration

 Type in patron's name and card number (if applicable).

 Then select an action bar choice.

 Date . . . : 08/29/90
 Card No. . . _______  (A 7-digit number)
 Name . . . . _________________________  (Last, First, M.I.)
 Address  . . _________________________

 Choose one of the following           Check valid branches
 __  1.  New                           _  North Branch
     2.  Renewal                       _  South Branch
     3.  Replacement                   _  East Branch
                                       _  West Branch

 Enter a command ===> ______________________________________________________
  F1=Help        F2=Split       F3=Exit        F6=KEYSHELP    F9=Swap
 F12=Cancel

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014