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


Examples

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

The XMP (example) tag is similar to the LINES tag, in that it allows you to code unformatted text. However, the text of an XMP definition is indented two spaces from the current margin, as opposed to the text of a LINES definition, which is not indented from the current margin.

Like a LINES definition, you should avoid coding lines of text in an XMP definition that exceed the available formatting width of the information region. If the text exceeds the defined width, it is truncated.

The XMP tag requires a matching end tag.

Here’s the formatted result of an example using the XMP tag:

Figure 1. XMP
                       Order a Toy

 Type the catalog number of the toy you want to order
 and press Enter. The number must be a 6-digit number.

 For example:

   Catalog Number. . . 581678













 
The markup for the previous panel looks like this:
<!doctype dm system>
<panel name=toy1 width=57>Order a Toy
<area>
<info width=55>
<p>Type the catalog number of the toy you want to order
and press Enter.
The number must be a 6-digit number.
<p>For example:
<xmp>
Catalog Number. . . 581678
</xmp>
</info>
</area>
</panel>

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014