SET COLOR
Purpose
Use the COLOR option to associate specific colors with certain areas of the XEDIT screen. Note, this option may be specified as COLOR or COLOUR.
Operands
- *
- indicates all of the fields will be chosen in that group. (Arrow, Cmdline, CUrline, Filearea, Idline, Msgline, Pending, PRefix, Scale, SHadow, STatarea, Tabline, and TOfeof).
- Arrow
- the arrow pointing to command line.
- Cmdline
- the line where commands are entered.
- CUrline
- the file line that is the current line.
- Filearea
- file data area, excluding the current line, the TOF and EOF lines.
- Idline
- the file identification line on line 1 of the screen.
- Msgline
- the area for message display.
- Pending
- the pending macro or subcommand as entered in the prefix area.
- PRefix
- the five-position area that lies either to the left or the right of each line of the file, as defined in SET PREFIX.
- Scale
- the scale line.
- SHadow
- shadow line(s) resulting from selective line editing (see Effects of Selective Line Editing Subcommands).
- STatarea
- status area in lower right-hand corner of screen, which displays the current status of your editing session.
- Tabline
- the line that displays a T in every tab column, according to the current tab settings.
- TOfeof
- the top of file and end of file notices.
- Blue
- Red
- Pink
- Green
- Turquoise
- Yellow
- White
- Default
- are the choices for the color of the field. If a color is not specified, the current color is not changed.
- BLInk
- REVvideo (reverse video)
- Underline
- NONe
- are the choices for the extended highlighting of the field. If an extended highlighting setting is not specified, the current extended highlighting setting is not changed.
- High
- displays the field highlighted.
- Nohigh
- displays the
field not highlighted (normal intensity).
If you omit HIGH or NOHIGH, the current HIGH or NOHIGH setting is not changed. See Usage Note 1.
- PS0
- PSA
- PSB
- PSC
- PSD
- PSE
- PSF
- are the choices for the programmed symbol set of the field. PS0 indicates using the default character set.
Initial Setting
FIELD COLOR EXTHI HIGH/NOHIGH PSs
ARROW DEFAULT NONE HIGH PS0
CMDLINE DEFAULT NONE NOHIGH PS0
CURLINE DEFAULT NONE HIGH PS0
FILEAREA DEFAULT NONE NOHIGH PS0
IDLINE DEFAULT NONE HIGH PS0
MSGLINE RED NONE HIGH PS0
PENDING DEFAULT NONE HIGH PS0
PREFIX DEFAULT NONE NOHIGH PS0
SCALE DEFAULT NONE HIGH PS0
SHADOW DEFAULT NONE NOHIGH PS0
STATAREA DEFAULT NONE HIGH PS0
TABLINE DEFAULT NONE HIGH PS0
TOFEOF DEFAULT NONE NOHIGH PS0
Usage Notes
- The SET COLOR subcommand accepts the color, extended highlighting and programmed symbol set operands regardless of whether the device has the ability to use those attributes. However, the action taken is dependent upon the device. For example, HIGH and NOHIGH are ignored on a 3279 display (unless the color was DEFAULT), color is ignored on a 3278 display, and color, extended highlighting, and character set are ignored on a 3277 display. Also, QUERY and EXTRACT return all the current settings, even those ignored on any given terminal.
- The attributes following the field keyword can appear in any order. Only one attribute is required following the field.
- If TOFEOF is set OFF (see SET TOFEOF), the extended highlighting attributes (reverse video and underline) are still visible.
- The color and extended highlighting of the current line override the color and extended highlighting of the filearea and TOFEOF for any line that is the current line.
- The color and extended highlighting of the scale override the color and extended highlighting of the tabline when the scale and tabline are on the same line.
- On 3270 terminals equipped with the Programmed Symbol (PS) feature you can specify alternate
character sets to be used on your terminal. The characters in these sets use different symbols, such
as a different style or font, than the default character set.
New character sets are loaded using the Graphic Data Display Manager (GDDM®) licensed program (5748-XXH) or an application that loads programmed symbol sets. During the loading of programmed symbol sets, the user specifies symbol set identifiers (SSIDs). In XEDIT, the allowable SSIDs are in the decimal range 193 through 198. These SSIDs correspond to PSA through PSF, respectively (that is, 193 to PSA). Load character sets before invoking XEDIT. Otherwise, if you load a new set, it is not recognized and the last character set loaded prior to invoking the editor is displayed; likewise, if you drop a programmed symbol set, the editor is not aware the set is no longer available and attempts to use that set. This may cause I/O errors when the display is written (resulting in SET TERMINAL TYPEWRITER). To avoid problems, do not load or delete program symbol sets when in the XEDIT environment.
For more information on programmed symbol sets, see IBM 3270 Information Display System Data Stream Programmer's Reference.
Messages and Return Codes
- 520E
- Invalid operand: operand [RC=5]
- 545E
- Missing operand(s) [RC=5]
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
