Define, Default field control characters – IBM SC34-5764-01 User Manual

Page 319

Advertising
background image

characters are re-activated. Certain keyword combinations are incompatible and are not allowed while
others which may seem meaningless are allowed. For example, INVISIBLE and color. This may be useful
when the field attribute is changed dynamically within a REXX program (the invisible field can be made
visible which makes color meaningful).

The characteristics of the .DEFINE verb follow.

v

It must start on the first column, followed by a space, and capitalized.

v

It terminates at 'End of line' unless a continuation character (a comma) is used.

v

All keywords have a minimum of a two-character abbreviation.

v

The maximum number of control characters that you can define at one time is 32. (The default control
characters are included in this count.)

v

It must be placed before the .PANEL verb.

You can also define variable identifier control characters that let you associate REXX variables with Panel
Facility variables. Then, in your panel definition you can imbed the variable identifier control character
instead of the REXX variable name. The same REXX variable can be assigned to different variable
identifier control characters.

v

A stem name must end in a period.

v

A variable list can have more variables listed than are used, but less causes an error.

v

Multiple variable identifier control characters can be defined and each one is independent of one
another.

.DEFINE

The format of the .DEFINE verb follows. Also, the default control characters are specified if you do not
want to define your own.

.DEFINE

char

options
VAriable

stem.

variable

DROP

options:

UNProtect

PRotect
SKip

NORmal

BRight
INVisible

DEfcolor
GReen
RED
BLUe
TUrquoise
WHite
YEllow
PInk

BLInk
REVerse
UNDerline

NOJustify

LEft
RIght

NULls

PAd

(

)

BLAnks
char

NUMeric

CUrsor

MDT

Default field control characters

#

Defcolor skip normal

+

Defcolor protect bright

%

Defcolor unprotect normal

Panel Facility

Chapter 24. REXX/CICS Panel Facility

297

Advertising