SET PREFIX
Purpose
The SET PREFIX subcommand has two formats. Use the first format to control the display of the prefix area. Use the second format to define a synonym for a prefix.
Operands
- ON
- displays a five-character prefix area (
=====) for each logical line on the screen. - Left
- Right
- displays the prefix area on either the left (LEFT operand) or right (RIGHT operand) side of the screen. You can then enter prefix subcommands and macros in the prefix area.
- OFF
- removes the prefix area from the screen.
- Nulls
- displays nulls in the prefix area, enabling the insert key, and moves the prefix area to side of screen specified.
- Synonym
- is the keyword operand that indicates a synonym is to be defined for a prefix subcommand or macro.
- newname
- is a synonym to be assigned to a prefix subcommand or macro. The newname can be up to five alphabetic or special characters.
- oldname
- is the name of a prefix subcommand or macro for which you are defining a synonym. The oldname can be up to eight characters.
Initial Setting
PREFIX ON LEFT
Eight prefix synonyms are defined:
Newname Oldname
> PRFSHIFT
>> PRFSHIFT
< PRFSHIFT
<< PRFSHIFT
X PREFIXX
XX PREFIXX
S PRFSHOW
..... SIUsage Notes
- When using SET PREFIX ON with SET NUMBER ON, a five-digit line number is displayed instead of equal signs. When using SET PREFIX NULLS with SET NUMBER ON, any leading zeros are translated to nulls.
- Using SET PREFIX OFF affects the number of columns used by XEDIT to display information.
- In some GUI environments, it may be helpful to issue SET NUMBER OFF and SET PREFIX NULLS to ease typing in
the prefix area. Alternatively, you may need to do one of the following:
- toggle the insert key or
- delete characters.
Examples
For more information, see z/VM: XEDIT User's Guide.
Messages and Return Codes
- 520E
- Invalid operand: operand [RC=5]
- 545E
- Missing operand(s) [RC=5]
- 548E
- Invalid synonym operand: operand [RC=5]
- 554E
- Not enough virtual storage available [RC=104]
where return codes are:
- 0
- Normal
- 5
- Invalid or missing operand(s)
- 6
- Subcommand rejected in the profile due to LOAD error, or QUIT subcommand has been issued in a macro called from the last file in the ring
- 104
- No storage available
