SHIVAREDDY
New User
Joined: 25 Jul 2005 Posts: 20
|
|
|
|
Hi manjunathan,
Hope the below documentation helps you.Its simple and straight.
Conversational Modes
Terminal Conversation takes place in 2 ways.
Conversational:
A mode of dialogue between program and terminal based on a combination of sending message and receiving message within the same task.
Since human response is slower than the CPU speed, a significant amount of resource will be wasted just waiting .
Pseudo-Conversational.
A mode of dialogue between program and terminal which appears to the operator as a continuous conversation but which is actually carried by a series of tasks
Multitasking CICS allows multiple transactions (tasks) to
execute at the same time
Multithreading CICS allows multiple concurrent tasks to share
the same program
Re-entrant Programs running under CICS do not change themselves so that they can continue from where they left off after an interruption
Conversational Transaction ? Example
PROCEDURE DIVISION.
FIRST-PROCESS.
EXEC CICS RECEIVE ---- <= TSK1, 12345
END-EXEC.
: Process
EXEC CICS SEND ----- <= EMP(12345) Details
END-EXEC.
* - - - - - - Program Waits For Response - - - - -
SECOND PROCESS.
EXEC CICS RECEIVE ----- <= User Enters Data
END-EXEC.
: Process
Pseudo-Conversational ?Example
Transaction TSK1
Program PROG1
PROCEDURE DIVISION.
:
EXEC CICS RECEIVE
END-EXEC.
:
EXEC CICS SEND
END-EXEC.
EXEC CICS RETURN
TRANSID (?TSK2?)
END-EXEC.
CHEERS |
|