CMSG—message switching
UNSUP OPRT TRMNL xxxxxxxx
An operator identifier without a terminal identifier was
specified as a ROUTE destination; however that
operator is signed on to a terminal that is a type not
supported by BMS and is, therefore, an invalid
destination.
The valid reply to this is the same as for the message
OPRTR ID NOT SIGNDON.
UNSUP TERMINAL xxxxxxxx
A terminal identifier, specified as a ROUTE destination,
is for a terminal type not supported by BMS and is,
therefore, an invalid destination.
The valid reply to this is the same as for the message
INVLD TERMINL ID.
ZERO LENGTH MSG AT ''
A message must have at least one character enclosed in
single quotation marks. A single quotation mark to be
included as part of a message must be entered as two
separate single quotation mark characters. A message
must start with a single quotation mark and may be
followed immediately by pairs of single quotation marks.
+DATE INVLD 2330 TO 0030
A DATE=+ option is invalid from 30 minutes before to 30
minutes after midnight.
Examples of complete message-switching
transactions
Here are some typical examples of the CMSG transaction.
In all of the examples,
1. CMSG R=ALL,‘GOOD MORNING#TODAY IS FRIDAY
FEB 1’,S
This sends a good morning message to all
terminals.
2. CMSG ‘GOOD MORNING’,R=.G1,T=0900,S
This routes a good morning message to be
delivered at 0900 hours to all destinations
contained in DFHTLTG1. (Locations in Eastern
time zone.)
3. CMSG ‘GOOD MORNING’,R=(.G2,+CHI4),T=1000,S
This message is for delivery at 10.00 hours to
terminals in Central time zone (DFHTLTG2).
Also included as a destination is termid CHI4,
which was recently added but not yet included in
the TLT.
4. CMSG ‘SUPERVISORS’ ‘MEETING IN 5
MINUTES’,O=(4,7),S
This routes the message to all supervisors who
are assigned operator class 4 or 7 and are
currently signed on to CICS.
5. CMSG R=ALL,‘NEW PRICE MODEL 402 - $28.70’,S
This sends the price of the new model to all
terminals.
6. CMSG ‘FRED - WHAT IS CURRENT STOCK ON P/N
4837-LP4# BPK’,R=BLD3,H,S
This routes a message to BLD3 asking Fred a
question and including the requestor’s initials
(operator identifier). A heading is included so
that Fred also knows the originating termid.
7. CMSG ‘PNO 4837-LP4, QTY 26?’,R=/BPK,H,S
This shows Fred’s answer routed to the terminal
at which operator identifier BPK is currently
signed on.
8. CMSG ‘BRID KADDER ARRIVING 3:15 PST. PLEASE
MAKE RESERVATION# M. KRN’,R=PADC,H,S
This makes a request for a reservation for a Mr
Kadder.
9. CMSG ‘SHUTDOWN IN 5 MINUTES’,R=ALL,T=1655,S
This sends the shutdown message to all
terminals.
Note: Examples 1, 2, 3, and 9 are possible candidates for
inclusion in a sequential (BSAM) terminal input
stream during startup.
Chapter 19. Message switching CMSG 245