z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Edit profile modes

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The data you edit controls four special edit profile modes. These modes are set when data is first edited or new data is copied in.
Caps mode
The editor sets caps mode on if it detects that a member to be edited contains no lowercase characters and sets caps mode off if the member does contain lowercase characters.
Number mode
The editor sets number mode on and changes number options if it detects that the data contains valid sequence numbers. It sets number mode off if the data does not contain valid sequence numbers.
Pack mode
The editor sets pack mode on if the data being edited was previously saved in packed format and sets pack mode off if the data was not previously saved in packed format.
Stats mode
The editor sets STATS mode on if the member being edited currently has ISPF statistics and sets STATS mode off if the member did not previously have ISPF statistics.

The ISPF editor changes the special data modes even if the original edit profile of the member edit profile is locked. However, for locked profiles, it does not save the changes to the profile.

For your convenience, the editor changes the special data modes automatically to correspond to the data. This allows you to use the default edit profile with a single data set, even though some members may contain programs (CAPS ON) while other members contain text (CAPS OFF). Some of the members may have statistics to be maintained, while other members are stored without statistics. Some members may be in packed data format, while others are in standard data format. Finally, some members may have sequence numbers while others do not.

When the editor changes your edit profile to correspond to the data, special message lines appear. If you want to override the change, enter the appropriate command. For example, if the editor changes caps mode from on to off because it finds lowercase characters in the data, type CAPS ON and press Enter to reset it.

If you have special requirements, you might not want the editor to change the special modes. You may want to have caps mode on, even if the data contains lowercase data, or you may want to generate statistics on output, regardless of whether the member originally had statistics. If so, you can write an initial macro to specify how the editor is to run these special modes. You would then use IMACRO to associate the initial macro with the edit profile. See Initial macros for more information on initial macros.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014