Now that you’ve defined your maps, you can think about writing them to a terminal. The terminal to which you write, of course, is the one that sent the input and thereby invoked the transaction. This is the only terminal to which a transaction can write directly.
The EXEC CICS SEND MAP command writes formatted data to a terminal. It looks like this:
EXEC CICS SEND MAP(
name) options ... END-EXEC
The items in this macro are:
This specifies the name of the map you want to send. It is limited to 1–7 characters and it’s required. Put it in quotes if it’s a literal.
This specifies the unsuffixed name (1–7 characters) of the mapset that you want to send. The mapset must reside in the CICS program library. The mapset can be defined either by using RDO or by the autoinstall program when the mapset is first used. If this option is not specified, the name given in the MAP option is assumed to be that of the mapset.
The number of maps per mapset is limited to a maximum of 9998. Put the name in quotes if it’s a literal.
There are a number of options that you can specify; they affect what’s sent and how it is sent. Except where noted, you can use any combination of them. The possibilities are:
This means the same thing in the SEND command as it does in the DFHMSD and DFHMDI macros for the map: it causes the audible alarm to be sounded. The alarm sounds if you specify ALARM in either the map definition or the ...