Previous Topic: &ZBROID

Next Topic: &ZCOLS


&ZBROTYPE

Indicates the type of broadcast associated with the issuing procedure.

When a user receives a broadcast message an NCL procedure is invoked to perform associated processing. This procedure ($NMBRO) must be able to determine the type of broadcast to be processed and process accordingly. The &ZBROTYPE system variable is primed with the type of broadcast. One of the following values is set:

GENERAL

A general broadcast is being processed. A general broadcast is sent to all terminals and is not specifically destined for this user only.

SPECIFIC

A specific terminal broadcast is being processed. A specific broadcast is one that has been sent to a selective group of terminal using the wildcard selection techniques provided by the system.

USER

A broadcast destined for this user is being processed. A user broadcast is one that has been sent to one or more users using the wildcard selection techniques provided by the system.

NONE

No broadcast has been set.

Example: &ZBROTYPE

& GOTO .&ZBROTYPE
 .
 .
 .
.SPECIFIC
 .   .-* Specific broadcast processing
 .
.GENERAL 
.
   .-* General broadcast processing
.
.USER
 .
   .-* User broadcast processing 
.

Note: For more information, see the sample $NMBRO procedure in the distribution library.