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


Attention and warning (ATTENTION and WARNING tags)

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

Attention statements and warning statements alert the user of a possible risk involved with a user action, or of existing error conditions.

You must immediately precede the ATTENTION or WARNING tag with a P (paragraph) tag, LI (list item) tag, or LP (list part) tag. The warning statement formats with the term "Warning:" before the text. The attention statement formats with the term "Attention:" before the text.

The ATTENTION and WARNING tags have no associated attributes and require a matching end tag.

Here is the markup for a warning statement that formats as a paragraph.
<!doctype dm system>
<panel name=addfile width=50>Changing a File
  <area>
    <info width=48>
      <p>After you have made the desired changes
      to the file, press Enter to save the changes.
      <p><warning>Pressing Enter saves
      ALL changes made to the file.
      You can cancel this operation by pressing
      the F12=Cancel key.
      </warning>
    </info>
  </area>
</panel>

Here is the formatted result:

Figure 1. Warning
                 Changing a File

 After you have made the desired changes to the
 file, press Enter to save the changes.

 Warning: Pressing Enter saves ALL changes made
 to the file. You can cancel this operation by
 pressing the F12=Cancel key.













 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014