IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

WHAT SYNCHRONOUS/ASYNCHRONOUS CALL??


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dsbhati

New User


Joined: 13 Jun 2005
Posts: 10
Location: india

PostPosted: Fri Jun 24, 2005 11:42 am
Reply with quote

Hi all,

Could any tell me what is synchronous and asynchronous call???

Thanks & Regards,
Darshan
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Wed Jun 29, 2005 8:11 am
Reply with quote

darshan,

A detailed query would have resulted in answers

btw...a 2 min search in google, would have given you following results

http://www.google.com/search?biw=1004&hl=en&q=synchronous+call&btnG=Google+Search

Hope this helps,

Regards
Mayuresh
Back to top
View user's profile Send private message
dsbhati

New User


Joined: 13 Jun 2005
Posts: 10
Location: india

PostPosted: Fri Jul 01, 2005 11:11 am
Reply with quote

Mayuresh,

Could u tell how can ipmlement these in cobol??

can we do or not?/


Regards,
Darshan
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Fri Jul 01, 2005 4:24 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts CICS DPL call CICS 6
Search our Forums:

Back to Top