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


COMPOPT (Compiler Options)

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

The COMPOPT tag sets compiler options for the current source file.

Syntax

Read syntax diagramSkip visual syntax diagram
             .-REPLACE---.  .-SCREEN-.  .-NODBCS-.   
>>-<COMPOPT--+-----------+--+--------+--+--------+-------------->
             '-NOREPLACE-'  '-DISK---'  '-DBCS---'   

                                  .-NOPANEL-.  .-NOMSGSUPP-.   
>--+--------+--+---------------+--+---------+--+-----------+---->
   +-NOKANA-+  '-KEYLAPPL=xxxx-'  '-PANEL---'  '-MSGSUPP---'   
   '-KANA---'                                                  

   .-NOCUASUPP-.  .-PREP---.  .-CUAATTR---.  .-NOLSTVIEW-.   
>--+-----------+--+--------+--+-----------+--+-----------+------>
   '-CUASUPP---'  '-NOPREP-'  '-NOCUAATTR-'  '-LSTVIEW---'   

   .-STATS---.  .-NOSCRIPT-.  .-NOLISTING------------.   
>--+---------+--+----------+--+----------------------+---------->
   '-NOSTATS-'  '-SCRIPT---'  |         .-NOFORMAT-. |   
                              '-LISTING-+----------+-'   
                                        '-FORMAT---'     

   .-NOMSGEXPAND-.  .-LOGREPL---.  .-LISTREPL---.   
>--+-------------+--+-----------+--+------------+--------------->
   '-MSGEXPAND---'  '-NOLOGREPL-'  '-NOLISTREPL-'   

   .-ACTBAR---.  .-GUI---.  .-VERSION---.  .-NOMERGESAREA-.   
>--+----------+--+-------+--+-----------+--+--------------+----->
   '-NOACTBAR-'  '-NOGUI-'  '-NOVERSION-'  '-MERGESAREA---'   

   .-NODISPLAY-.  .-NODISPLAYW-.  .-DSNCHK---.  .-GRAPHIC---.   
>--+-----------+--+------------+--+----------+--+-----------+--->
   '-DISPLAY---'  '-DISPLAYW---'  '-NODSNCHK-'  '-NOGRAPHIC-'   

   .-ZVARS---.  .-NODBALIGN-.  .-NOMCOMMENT-.  .-NOV3PADC-.   
>--+---------+--+-----------+--+------------+--+----------+----->
   '-NOZVARS-'  '-DBALIGN---'  '-MCOMMENT---'  '-V3PADC---'   

>--+-----+--+-------+--+-------------------+-->----------------->
   '-ADD-'  '-RESET-'  '-national-language-'      

>--+------------+----------------------------------------------><
   '-</COMPOPT>-'   

With the exception of ADD and RESET, all of the option keywords used for the COMPOPT tag are the same as those used for Conversion utility syntax. See that topic for information about these keywords.

The COMPOPT tag keyword RESET restores the conversion utility options to their original invocation settings.

Comments

The COMPOPT tag can be placed within the Doctype definition to encompass the entire DTL source file or it can be placed before the first PANEL, HELP, MSGMBR, KEYL, or CMDTBL tag that requires a compiler option change.

Unless the ADD option is specified when the COMPOPT tag is processed, all conversion utility options except PANEL, DISK, SCREEN, DISPLAY, DISPLAYW, DBCS, and KANA are first reset to the defined default values. The options specified on the COMPOPT tag are then applied.

When the ADD option is included, the original options remain in effect and the options from the COMPOPT tag are added to the current list. ADD overrides any existing option.

The options set by this tag remain in effect for the current source file until another COMPOPT tag is processed. If you are converting a list of members, either from member list selections or from a DTLLST list of members, the conversion utility options are reset to their original invocation settings when the current source file is completed.

The PROFILE and PROFDDN options defined as part of the conversion utility invocation syntax are not supported by the COMPOPT tag.

Restrictions

None.

Processing

None.

Examples

This source file markup contains a compiler options line that specifies the compiler options to be used converting this source file:
<!doctype dm system>
<varclass name=vc1 type='char 10'>
<varclass name=vc2 type='char 6'>
<varlist>
<vardcl name=lst1 varclass=vc1>
<vardcl name=lst2 varclass=vc2>
</varlist>

<compopt noprep noreplace>

<panel name=compopt depth=19 width=50>
This is panel Compopt

<LSTFLD >
  <LSTGRP headline=yes>
    <LSTCOL colwidth=10 datavar=lst1 usage=in varclass=vc1 line=1
            required=yes autotab=yes align=end help=h1 msg=abcd101>COL1
    <LSTCOL colwidth=6  datavar=lst2 usage=in varclass=vc2 line=2
            required=yes autotab=yes align=end help=h1 msg=abcd101>COL2
  </LSTGRP>
</LSTFLD>
<cmdarea>
 </panel>

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014