View previous topic :: View next topic
|
Author |
Message |
dsbhati
New User
Joined: 13 Jun 2005 Posts: 10 Location: india
|
|
|
|
Hi all,
Could any tell me what is synchronous and asynchronous call???
Thanks & Regards,
Darshan |
|
Back to top |
|
|
mdtendulkar
Active User
Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
Back to top |
|
|
dsbhati
New User
Joined: 13 Jun 2005 Posts: 10 Location: india
|
|
|
|
Mayuresh,
Could u tell how can ipmlement these in cobol??
can we do or not?/
Regards,
Darshan |
|
Back to top |
|
|
mdtendulkar
Active User
Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
|
|
darshan,
Synchronous Call:
There are two main ways in which one program can invoke other
1) EXEC CICS LINK
This allows one program to transfer control to another and continue execution after the called program has returned. This also occurs by means of native programming language such as COBOL CALL statement.
2) EXEC CICS XCTL
Allows for one program to call other in synchronous but unlike LINK will not receive control back when the called program returns.
In both the cases, COMMAREA is used to pass parameters and returned values
Asynchronous Call:
One program can call other by passing data in the FROM area defined in EXEC CICS START command. Programm for which START has been issued is executed as logical level 1, independent of the level of the program that issued START. FROM area can be accessed using RETRIEVE command
Also you can code CICS + MQSERIES program for asynchronous calls
Hope this helps
Regards,
Mayuresh |
|
Back to top |
|
|
|