.SCC
Type
OMEGAMON Immediate command
Description
Sets display color or highlighting for text and commands by type. The .SCC command displays and sets options that determine how highlighting and/or color is used when an OMEGAMON screen is sent to a user’s terminal. Since display characteristics depend on the type of terminal you are supporting, .SCC contains keywords that, in combination, will accommodate any of the various 3270-type devices. Here is the screen display format:
.SCC
: Display=ccccc ProfileDefinitionMode=OFF
: ExtendedHighlighting=ccc
+
: Major=ccccccccc Minor=cccccccc Immed=cccccccc Default=cccccccc
+
+ XACB Display Options:
: Clr1=cccccccc Clr2=cccccccc Clr3=cccccccc Clr4=cccccccc
: Clr5=cccccccc Clr6=cccccccc Clr7=cccccccc
Device support
This discussion divides color/highlighting capabilities into the following device categories:- Non-EDS
- Devices that do not support an extended data stream (EDS), but
support highlighting. There are two types of non-EDS devices.
- Monochrome non-EDS, which use high or low intensity to distinguish fields in a display.
- Color non-EDS, which distinguish between high and low intensity by using different colors in a display. The colors displayed depend on whether the device is a 2-base color or 4-base color device, and whether a field is protected or unprotected. For example, most 4-base color devices display high intensity fields in red (unprotected) and white (protected), low intensity fields in green (unprotected) and blue (protected).
- Monochrome EDS
- Monochrome devices that support the extended data stream. A field may be displayed in either high or low intensity in combination with the extended highlighting attributes (blinking, reverse video, and underscoring).
- Color EDS
- Color devices that support the extended data stream. A field may be displayed in any of the 7 extended colors in combination with the extended highlighting attributes.
Profile definition mode
Before customizing your color/highlighting definitions, determine which mode of .SCC is appropriate. The mode is controlled by the ProfileDefinitionMode
keyword,
as shown in the following screen: .SCC
: Display=ccccc ProfileDefinitionMode=ON/OFF
: ExtendedHighlighting=ccc
- OFF
- Changes to .SCC affect only the current OMEGAMON session.
- ON
- Intended for use when creating or changing a user profile. After
defining the settings, you must issue a profile save command in order
for these definitions to be saved and reused. (They may also take
effect during the current session if you subsequently change the value
of the
Display=
keyword.) Setting this keyword to ON enables you to configure options for different types of terminals on the same screen.
Keywords and values
The following sections describe the remainder of the .SCC keywords and valid values.
For any keyword or value, you need only type as many letters as it takes to make an entry unique. You may type any keyword and value on the command line after .SCC and bypass the multi-line display. The command comments itself out and flags itself DONE at the end of the line. This facility allows for changes to .SCC values from within screen spaces.
Display intensity or color
The Display
keyword
has 4 possible settings.
.SCC
: Display=BASIC|HIGH|LOW|COLOR
+
- BASIC
- Allows you to set HIGH or LOW intensity for fields on monochrome
terminals or non-EDS color terminals. Note: When the BASIC display option is used on color devices that can support EDS, OMEGAMON will treat that device as a four-base color terminal (non-EDS).
- HIGH
- Specifies that all fields be displayed in high intensity.
- LOW
- Specifies that all fields be displayed in low intensity.
- COLOR
- For color EDS terminals only, allows you to specify the color of each field.
- On a non-EDS terminal, values of
Green
andBlue
translate to low intensity; all other color values translate to high intensity. - On an EDS terminal, a value of
HI
translates to the colorRed
; a value ofLO
translates to the colorGreen
.
Extended highlighting
The ExtendedHighlighting
keyword
is used only with devices that support the extended data stream.
: ExtendedHighlighting=ON|OFF
- OFF
- Extended highlighting features are not available. Use with non-EDS devices.
- ON
- Extended highlighting features are available. When
Display=COLOR
, this value is automatically set to ON. (Extended attributes are not supported in ISPF mode.)
ExtendedHighlighting=ON
unless
you have a terminal that supports an extended data stream (or unless
you have ProfileDefinitionMode=ON
). If you do this
accidentally, you may get a PROGnnn or a screen erasure error. You
may press the ATTN or PA1 key to resume the session, but be aware
that this action also clears the current security authorization and
the current screen space.Display fields
Following is the display
format of .SCC with ProfileDefinitionMode=ON
. It
shows the display field keywords and valid values. For the Display=COLOR
option,
color names can be Red, Green, White, Blue, Pink, Yellow, or Turquoise.
For the Display=BASIC
option, highlighting values
can be HIGH or LOW. The value of the Default
keyword
can be used as a variable definition for the Major, Minor, Immed,
and XACB Display Options. In the figure, the Default value is abbreviated
as DEF
.
ProfileDefinitionMode=ON
.SCC
: Display=COLOR|BASIC ProfileDefinitionMode=ON
: ExtendedHighlighting=ON
+
: Display=COLOR Options:
: MajorC=color|DEF MinorC=color|DEF ImmedC=color|DEF DefaultC=color
+
+ XACB Display Options:
: Clr1C=color|DEF Clr2C=color|DEF Clr3C=color|DEF Clr4C=color|DEF
: Clr5C=color|DEF Clr6C=color|DEF Clr7C=color|DEF
+
: Display=BASIC Options:
: MajorB=HI|LO|DEF MinorB=HI|LO|DEF ImmedB=HI|LO|DEF DefaultB=HI|LO
+
+ XACB Display Options:
: Clr1B=HI|LO|DEF Clr2B=HI|LO|DEF Clr3B=HI|LO|DEF Clr4B=HI|LO|DEF
: Clr5B=HI|LO|DEF Clr6B=HI|LO|DEF Clr7B=HI|LO|DEF
You can control the following field names with .SCC:
- Major
- Controls color or highlighting for major commands and their output.
- Minor
- Controls color or highlighting for minor commands and their output.
- Immed
- Controls color or highlighting for immediate commands and their output.
- Default
- Controls color or highlighting for other unprotected fields (for example, error message text, help text).
- XACB Options
- Controls exception analysis message text. The keywords Clr1 through Clr7 can be used as substitutes for the color names (Red, Blue, and so on) or highlighting (HI or LO) when customizing exception messages with the XACB command.
The following table describes the color and highlighting settings for .SCC according to the type of terminal you are supporting.
Related Information
The following table lists display options.
If you have... | And you want... | Use these keywords... |
---|---|---|
A non-EDS terminal | some fields in high intensity and some fields in low intensity | Display=BASIC ExtendedHighlighting=OFF Major, Minor, Immed, XACB options=HI|LO|DEF Default=HI|LO |
A non-EDS terminal | all fields in high intensity | Display=HI ExtendedHighlighting=OFF (All other settings default to HI.) |
A non-EDS terminal | all fields in low intensity | Display=LO ExtendedHighlighting=OFF (All other settings default to LO.) |
A monochrome EDS terminal | some fields in high intensity and some fields in low intensity, plus blinking, underscoring, or reverse video | Display=BASIC ExtendedHighlighting=ON Major, Minor, Immed, XACB options=HI|LO|DEF Default=HI|LO |
A monochrome EDS terminal | all fields in high intensity, plus blinking, underscoring, or reverse video | Display=HI ExtendedHighlighting=ON (All other settings default to HI.) |
A monochrome EDS terminal | all fields in low intensity plus blinking, underscoring, or reverse video | Display=LO ExtendedHighlighting=ON (All other settings default to LO.) |
A color EDS terminal | to specify the color of each field, plus blinking, underscoring, or reverse video | Display=COLOR ExtendedHighlighting=ON Major, Minor, Immed, XACB options=color|DEF Default=color |