EDITCAPS
- 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 FM/Db2 users.
- Force all users of the FM/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 File Manager/Db2
edit session.
You can use certain settings of the EDITCAPS parameters to create an environment where every FM/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 FMN2POPI, 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 FMN2POPI 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 FM/Db2 profile, the effect depends on the setting of the second parameter (described below). If INITFIXED is specified for the second parameter, then every FM/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 FM/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 FM/Db2 sessions in the user's profile.
- CAPSCMD, NOCAPSCMD
- Determines if the user is permitted to use the CAPS command within a File Manager/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 File Manager/Db2 edit session, as required. When NOCAPSCMD is specified, the CAPS command is disabled, and is fixed at whatever setting was selected when the FM/Db2 edit session commenced.
- EDITCAPS can also be specified in the FMN0POPI macro, which appears at the start of the FMN2POPT definition. Specifying EDITCAPS in the FMN0POPI macro has no effect on the FM/Db2 editor. To change the EDITCAPS behavior in a File Manager/Db2 edit session, the EDITCAPS option must be specified in the FMN2POPI macro.
- The EDITCAPS option available for the File Manager Base function has no effect in FM/Db2.