EDITCAPS

Read syntax diagramSkip visual syntax diagram
             .-(INITOFF,PROFILE,CAPSCMD)-----------------------.   
>>-EDITCAPS=-+-------------------------------------------------+-><
             |   .-INITOFF-.   .-PROFILE---.   .-CAPSCMD---.   |   
             '-(-+---------+-,-+-----------+-,-+-----------+-)-'   
                 '-INITON--'   '-INITFIXED-'   '-NOCAPSCMD-'       

EDITCAPS
Controls the setting of the CAPS option in edit. A number of options are provided, which allow you to:
  • Set the initial value (either CAPS ON or CAPS OFF) for new ZDT/Db2 users.
  • Force all users of the ZDT/Db2 editor to commence an edit session with either CAPS ON or CAPS OFF; alternatively to allow the user to control the initial CAPS setting using a new editor option, that is saved in the user's ISPF profile.
  • Disable the CAPS command within a ZDT/Db2 edit session.

    You can use certain settings of the EDITCAPS parameters to create an environment where every ZDT/Db2 edit session starts with CAPS ON, and this cannot be altered using the CAPS OFF command.

There are three sub-parameters to EDITCAPS. You do not have to specify them all in HFM2POPI, but if you do so, they must be in the order shown in the syntax diagram. If you specify more than one, they must be separated by commas. If you specify any sub-parameters, you must also provide the parentheses.

If you do not specify EDITCAPS at all in your HFM2POPI macro, the default setting of (INITOFF,PROFILE,CAPSCMD) is used.

These sub-parameters are described below.

INITOFF, INITON
Determines the initial CAPS setting in the user's profile, when the profile is first created.

For users with an existing ZDT/Db2 profile, the effect depends on the setting of the second parameter (described below). If INITFIXED is specified for the second parameter, then every ZDT/Db2 edit session begins with either CAPS OFF if INITOFF is specified, or CAPS ON if INITON is specified.

PROFILE, INITFIXED
Determines if the user can alter the initial setting of CAPS in ZDT/Db2 edit. INITFIXED prevents the user from altering the initial setting of CAPS. PROFILE allows the user to change this initial setting and it is preserved between ZDT/Db2 sessions in the user's profile.
CAPSCMD, NOCAPSCMD
Determines if the user is permitted to use the CAPS command within a ZDT/Db2 edit session. NOCAPSCMD does not affect the CASE command, which remains available for use.

When CAPSCMD is specified, the user can turn CAPS on or off in a ZDT/Db2 edit session, as required. When NOCAPSCMD is specified, the CAPS command is disabled, and is fixed at whatever setting was selected when the ZDT/Db2 edit session commenced.

Note:
  1. EDITCAPS can also be specified in the HFM0POPI macro, which appears at the start of the HFM2POPT definition. Specifying EDITCAPS in the HFM0POPI macro has no effect on the ZDT/Db2 editor. To change the EDITCAPS behaviour in a ZDT/Db2 edit session, the EDITCAPS option must be specified in the HFM2POPI macro.
  2. The EDITCAPS option available for the Z Data Tools base function has no effect in ZDT/Db2.