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


PARML (Parameter List)

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

The PARML tag defines a parameter list within an information region.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-<PARML--+-------------------------+--+-----------------+----->
           |        .-10-----------. |  |        .-ALL--. |   
           '-TSIZE=-+-S1 S2 ... Sn-+-'  '-BREAK=-+-FIT--+-'   
                                                 '-NONE-'     

>--+---------+--+------+--+----------+-------------------------->
   '-COMPACT-'  '-SKIP-'  '-INDENT=n-'   

>--+--------------------+--+-----------------+------------------>
   |         .-START--. |  |         .-NO--. |   
   '-FORMAT=-+-CENTER-+-'  '-DIVEND=-+-YES-+-'   
             '-END----'                          

>--+----------------+-->--</PARML>-----------------------------><
   |        .-NO--. |                
   '-SPLIT=-+-YES-+-'                

Parameters

TSIZE=10 | S1 S2... Sn
This attribute defines the space allocated for the parameter term. The default is 10 characters. The minimum TSIZE value is 0 and the maximum is 40.

When multiple TSIZE values are specified, a PT tag must be coded for each value. The sizes are applied to the PT tags in the order the tags are encountered in the DTL source file.

BREAK=ALL | FIT | NONE
This attribute controls the formatting of the parameter terms and descriptions. If BREAK=ALL (the default), every description is on the line below the term. If BREAK=FIT, the description is on the line below the term if the term is longer than the TSIZE value. If BREAK=NONE, the term is on the same line as the description, spilling into the description area if the length exceeds the TSIZE value.
COMPACT
This attribute causes the conversion utility to format the list without a blank line between the items.
SKIP
This attribute causes a blank line to be formatted before the first parameter term when COMPACT is also specified.
INDENT=n
This attribute specifies that the parameter list be indented from the current left margin.
FORMAT=START | CENTER | END
This attribute specifies the placement of the PT tag text within the space specified by TSIZE. The PARML tag FORMAT setting applies to all of the PT tags within the parameter list.
DIVEND=NO | YES
This attribute specifies whether a divider character is formatted following the PD tag text. When DIVEND=YES, the formatting width of the PD text is reduced to allow space for the divider character.
SPLIT=NO | YES
This attribute controls the format of the last PT tag in a multiple PT tag group. It is used only when BREAK=ALL or when BREAK=FIT and the PT tag text length exceeds the TSIZE value. When SPLIT=YES, the text following the last PT tag in the PT group (typically one or two dashes) is placed in front of the first line of the formatted PD tag text. The SPLIT setting on a PARML tag applies to all of the PT tag groups within the parameter list.

Comments

The PARML tag defines a parameter list within an information region.

Parameter lists are similar to definition lists. They involve three tags: PARML (parameter list) and a matching end tag, PT (parameter term), and PD (parameter description). As in definition lists, the term tag defines a term, and the definition tag defines the description associated with the term. The PD tag must immediately follow the PT tag that it is associated with.

Parameter lists can occur anywhere in an information region; you can nest them within other lists, and you can nest other lists within parameter lists.

Restrictions

  • The PARML tag requires an end tag.
  • You must code the PARML tag within an INFO definition. See INFO (Information Region) for a complete description of this tag.

Processing

Table 1. Tags you can code within a PARML definition
Tag Reference Usage Required
PD PD (Parameter Description) Multiple No
PLDIV PLDIV (Parameter List Divider) Multiple No
PT PT (Parameter Term) Multiple No
PTDIV PTDIV (Parameter Term Divider) Multiple No

Examples

Here is help panel markup that contains two parameter lists. The second parameter list is nested within the second parameter description of the first list. Figure 1 shows the formatted result.
<!DOCTYPE DM SYSTEM>

<HELP NAME=parmls DEPTH=22>Part Number Code Help
<AREA>
<INFO>
  <P>Valid part numbers consist of a three-digit
  number followed by a 2-character suffix.
  <PARML TSIZE=6>
    <PT>123
    <PD>The first three digits represent
    the lot number of the part.
    <PT>AA
    <PD>The 2-character suffix represents the
    department the part originated from.
    The valid suffixes are:
      <PARML BREAK=none COMPACT>
        <PT>TO
        <PD>Tools
        <PT>EL
        <PD>Electrical
        <PT>ME
        <PD>Mechanical
      </PARML>
  </PARML>
</INFO>
</AREA>
</HELP>
Figure 1. Parameter list
              Part Number Code Help

 Valid part numbers consist of a three-digit
 number followed by a 2-character suffix.

 123
       The first three digits represent the lot
       number of the part.

 AA
       The 2-character suffix represents the
       department the part originated from. The
       valid suffixes are:

       TO        Tools
       EL        Electrical
       ME        Mechanical


  F1=Help         F3=Exit         F5=Exhelp
  F6=Keyshelp     F7=PrvTopic     F8=NxtTopic
 F10=PrvPage     F11=NxtPage     F12=Cancel

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014