Specifies a format string that is used to display the prefix area.
Scope: View
Syntax
query prefixdisplayformat
set prefixdisplayformat Format
Options
Format |
This string describes how the prefix
data will be displayed, subject to the following rules:
|
Description
The prefixdisplayformat parameter controls how the prefix data will be displayed in the left margin of an edit view. The prefix data is divided into two parts, a text part and a numeric part. This division is defined by the prefixformat parameter. The format string will determine how these two parts are displayed in relation to one another.
Note that the prefixshow parameter must be used to control whether the prefix data is actually displayed. If there is no prefix data, or there is no numeric part to the prefix data, the line number will be displayed in the numeric part of the prefixdisplayformat format string.
If the text part of the prefix data contains DBCS data, no attempt to maintain the integrity of DBCS characters will be made during display formatting.
Example
If the prefixformat parameter is set to 999999XXXXXX, and the numeric part consists of a 6-digit number and the text part consists of a 6- digit date. To display the prefix data area as a 6-digit sequence number followed by the date, the following command could be used.
set prefixdisplayformat "999999 XX/XX/XX"
API Return Codes
-8 |
Insufficient storage to continue. |
![]()
prefixformat Parameter
prefixshow Parameter
