|
The
EDITSET and EDSET primary commands cause the Editor Settings dialog
to begin, enabling you to modify Editor settings.
Syntax
>>-+-EDITSET-+-------------------------------------------------><
'-EDSET---'
Description The EDITSET primary command
enables you to modify the Editor settings.
The Edit and View Settings panel Entering the EDITSET or EDSET
primary commands, or choosing the Edit_Settings action bar item causes
the panel shown in Figure 1 to display:
Figure 1. Edit and View Settings panel
(ISREDSET) ┌─────────────────────────────────────────────────────────────────────────────┐
│ Edit and View Settings │
│ More: + │
│ Settings for current and future Edit and View sessions: │
│ │
│ User session initial macro . . . . . . . . . . . . . . │
│ Maximum initial storage allowed for Edit and View . . 0 │
│ Target line for Find/Change/Exclude string . . . . . . 2 │
│ Enter "/" to select option │
│ _ Always position Find/Change/Exclude string to target line │
│ _ Remove action bars in ISPF edit and view panels │
│ _ Force ISRE776 if RCHANGE passed arguments │
│ │
│ CUT default . . 2 1. Append PASTE default . . 2 1. Delete │
│ 2. Replace 2. Keep │
│ │
│ Settings for future sessions. Select Apply Setting Immediately for the │
│ setting to affect the current session as well. │
│ │
│ Enter "/" to select option │
│ Command ===> │
│ F1=Help F2=Split F3=Exit F7=Backward F8=Forward │
│ F9=Swap F12=Cancel │
└─────────────────────────────────────────────────────────────────────────────┘
The fields on the panel are as follows:
- User session initial macro
- You can specify a macro to be run before you begin editing your
sequential data set or any member of a partitioned data set. This
initial macro allows you to set up a particular editing environment
for the Edit session you are beginning. This initial macro runs in
addition to any IMACRO value in your profile.
- Maximum initial storage allowed for Edit and View
- The maximum amount of storage that edit and view use when initially
loading the data into the edit or view session. This number is in
kilobytes and is rounded to the nearest 128 KB value. If you set a
limit on the initial amount of storage allowed, and a session requires
more than that amount, the data is shown in BROWSE mode instead of
edit or view.
A value of zero indicates that the edit session
should not impose any limits on initial storage used. If this value
is zero and there is not enough storage to load the data, a program
error can result.
- Target line for Find/Change/Exclude string
- This indicates the line of the edit data display to which the
target line of a FIND, CHANGE, or EXCLUDE command should be positioned.
The value can be from 1 to 99, the default is 2. If the value specified
is greater than the last line of the display, the target line is positioned
to the last line of the display.
- Always position Find/Change/Exclude string to target line
- This determines whether the editor always positions the target
line of a FIND, CHANGE, or EXCLUDE command to the target line specified
in the "Target line for found/changed/excluded string" field,
or only position the string if it is not currently on the display.
The default is to only position the line if it is not on the current
display.
- Remove action bars in ISPF edit and view panels
- If this field is selected, the action bars in the edit or view
panels are not shown. This field affects only those panels that are
included in ISPF, and has no effect on customized edit panels or edit
panels provided with products other than ISPF.
- Force ISRE776 if RCHANGE passed arguments
- If this field is selected then EDIT will ensure that when RCHANGE
is issued from a PF key, it does not try to process input from the
command line. In this case RCHANGE will treat anything that you type
on the command line as an invalid parameter and will return an error
message ISRE776. For more information, see Edit commands and PF key processing.
- CUT default
-
- Append
- If data exists on the clipboard, append the new data being cut
to the end of the existing data.
- Replace
- If data exists on the clipboard, replace it with the new data
being cut.
- PASTE default
-
- Delete
- Remove the data from the clipboard after it has been pasted.
- Keep
- Do not remove the data from the clipboard after it has been pasted.
This allows for data to be pasted multiple times.
- Confirm Cancel/Move/Replace
- When you select this field with a "/", a confirmation panel displays
when you request one of these actions, and the execution of that action
would result in data changes being lost or existing data being overwritten.
- For MOVE, the confirm panel is displayed if the data to be moved
exists. Otherwise, an error message is displayed.
- For REPLACE, the confirm panel is displayed if the data to be
replaced exists. Otherwise, the REPLACE command functions like the
edit CREATE command, and no confirmation panel is displayed.
- For CANCEL, the confirmation panel is displayed if any data changes
have been made, whether through primary commands, line commands, or
typing.
Note: Any commands or data changes pending at the time the
CANCEL command is issued are ignored. Data changes are "pending" if
changes have been made to the displayed edit data, but no interaction
with the host (ENTER, PF key, or command other than CANCEL) has occurred.
If no other changes have been made during the edit session up to that
point, the confirmation panel is not displayed.
- Apply Setting Immediately
- Controls whether a change in the setting applies to the current
edit session (immediately) or on the next edit session.
- Preserve VB record length
- You can select this option to cause the editor to store the original
length of each record in variable-length data sets and when a record
is saved, the original record length is used as the minimum length
for the record.
- Apply Setting Immediately
- Controls whether a change in the setting applies to the current
edit session (immediately) or on the next edit session.
Examples These steps show the use of the
EDITSET primary command:
- Assume that you are editing a member named PGM8 and you want to
change the setting for Confirming a Cancel, Move, or Replace action.
So, you enter the EDITSET command on the command line as shown in Figure 2.
Figure 2. EDITSET primary command example
- When you press Enter, the Edit and View Settings panel (Figure 1) appears.
- If necessary, scroll down to display the Confirm Cancel/Move/Replace
field. Enter or remove the slash mark in the Confirm Cancel/Move/Replace
field to make the setting as you want it to be.
|