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


Upper

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

Allows you to translate a value to uppercase. To specify this translation, code FORMAT=UPPER on the XLATL tag. This translation is always successful.

We'll add a translate list to the authorc variable class in the example under Numeric variables. The translate list converts the author's name to uppercase.
<varclass name=authorc type='CHAR 40' msg=liba001>
  <xlatl format=upper>
  </xlatl>

This figure shows the results on input and output translations for the previous example:

Figure 1. Variable translation results
On input, the user-entered value of "AuThor" trnalsates to the value "AUTHOR" stored in the pool. On output, the pool value "AuThOR" translates to the value "AUTHOR" displayed to the user.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014