CICS Pseudo ConversationCICS Symbolic Map Variables CICS Send Map
As we discussed earlier, programs pseudo conversation happening through SEND, RECEIVE and RETURN.
But the MAPs conversation also used the same commands except RETURN.
The commands used in the MAPs (BMS) conversation are : RECEIVE, SEND MAP, SEND CONTROL, SEND TEXT, SEND PAGE.
Lets discuss about commands SEND, RECEIVE and RETURN commands.
SEND cammand can be used for three different purposes like below.
- SEND MAP
- SEND TEXT
- SEND CONTROL
Used to send map to the terminal.
Used to send mapped data to the terminal through application program.
Before executing the SEND command, the application program should prepare the data in the symbolic map area layout.
If FROM is not coded, then CICS automatically finds the symbolic map area (mapname+O) for the corresponding MAP and fill the MAP from the layout data and send it to the terminal.
SEND MAP command can be explained in detail here .
SEND TEXT can be sent to the terminal without any predefined BMS maps.
The very first byte of the screen is reserved.
It can be used to place a blank or new line character.
The data text can be placed from row1 and column 2 on the screen.
If the data is exceeds a page, then ERASE option needs to be coded along with SEND TEXT to clear the screen before next SEND TEXT.
SEND TEXT command can be explained in detail here .
SEND CONTROL option used to send the control to the terminal.
This is dynamic way of sending the control to terminal.
SEND CONTROL command can be explained in detail here .
Used to receive the information entered by the user into application program.
In other words, receives the screen input into the application data area.
Along with RECEIVE MAP command, the cursor position will be placed in EIBCPOSN and terminal attention identifier information stored in EIBAID.
RECEIVE command can be explained in detail here .
Returns the program control back.
Returns the control to the next logical higher level.
If the program is triggered from a LINK command, then control returns to the calling program.
If the program is directly triggered from Transaction triggering, control will return to the CICS region.
If the RETURN executed without any parameters, both control and COMMAREA are handed over to calling program.
If no logical higher level there, control return to CICS.
If the RETURN has TRANSID parameter coded along with it, then the transaction provided with TRANSID will start triggering.
RETURN command can be explained in detail here.
CICS Symbolic Map Variables CICS Send Map