CICS Coding CommandsCICS DFHMDF Macro CICS Data Processing
CICS function can be coded in between EXEC CICS and END-EXEC.
If the command can be coded in between EXEC CICS and END-EXEC, then only the coded function/command will be understood by CICS translator.
Once the CICS translator translated the command/function coded in program, then the command/function will be executable to get the desired output.
The CICS function/command can be coded like below in between EXEC CICS and END-EXEC.
EXEC CICS CICS Function END-EXEC.
These CICS commands are understood by the CICS translator and will create the COBOL call statements during the compilation process.
How the CICS will communicate to user?
CICS environment will communicate to the user using terminating & reinitiating method which is called as Pseudo conversation.
What is Pseudo Conversation?
Whenever there is an interaction between the system and the system don’t know when the user is going to respond.
So it will dump the map to terminal (SEND) & terminate out of the program(RETURN).
It reinitiates the program when the user enters the information (RECEIVE).
According to the system point of view it is multitasking (terminating & reinitiating).
Pseudo = Terminating & Reinitiating
CICS program communicates with the user by using the pair of SEND and RECEIVE commands with CICS environment.
Once the user has entered the information in the screen, the program starts executing with the data entered by the user.
Whenever there is an interaction between the user and system and don’t know when the user going to respond. So system dump map onto the terminal and terminate out of program.
System reinitiates the program, when the user has entered the data according to system point of view it is multi tasking environment. (Termination and reinitiating).
Commands used in pseudo conversation:
The below are the list of commands majorly used in pseudo conversation
1. SEND :
Send the map onto the screen. It also terminates out of the program(make the control come out of the program)
2. RETURN :
Used to establish the connection back. (Reinitiates the program).
3. RECEIVE :
Receives the data what the user entered on the screen.
CICS DFHMDF Macro CICS Data Processing