View previous topic :: View next topic
|
Author |
Message |
william51 Warnings : 1 New User
Joined: 06 Jul 2006 Posts: 31
|
|
|
|
what is the difference between LINK and CALL |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Quote: |
between LINK and CALL? |
Are you referring to CICS COBOL program? |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
Hi,
A Cobol Call can be done from a batch or a CICS program and is used to pass and receive data back from another cobol program.
A link is a CICS command and is used to pass data to and receive data from a CICS program. data is passed in the CICS commarea and the Link command is executed to trigger the CICS program.
Hope i answered your question. shoot back if u still have any doubts.
Thanks,
Diwakar
-----------
Nobody is perfect. I am Nobody |
|
Back to top |
|
|
kashyani
New User
Joined: 11 Apr 2007 Posts: 5 Location: mumbai
|
|
|
|
Hi,
Well Practically thr is no difference between link and call..
But yes thr is one logical difference..
If u r using call in program A to call program B and if u make any changes in B then u have to relinkedit the program A in addition to Program B.
But if u r using link then there is no need to relinkedit the program A
which is less time consuming in comaprison to that in case 1.
So it totally depends on the programmer that where he wants to use call and where link..
Hope it will help. |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
'normally' you use LINK when you invoke a program with CICS sentences. (although you could invoke them using CALL -and taking care about the EIB block). |
|
Back to top |
|
|
|