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

what is the difference between LINK and CALL?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
william51
Warnings : 1

New User


Joined: 06 Jul 2006
Posts: 31

PostPosted: Mon Apr 23, 2007 10:18 am
Reply with quote

what is the difference between LINK and CALL
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Apr 23, 2007 10:24 am
Reply with quote

Quote:
between LINK and CALL?


Are you referring to CICS COBOL program?
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Mon Apr 23, 2007 1:36 pm
Reply with quote

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
View user's profile Send private message
kashyani

New User


Joined: 11 Apr 2007
Posts: 5
Location: mumbai

PostPosted: Mon Apr 23, 2007 2:31 pm
Reply with quote

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
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Mon Apr 23, 2007 2:37 pm
Reply with quote

'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
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 -> Mainframe Interview Questions

 


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 Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts Batch call online program, EXCI task ... CICS 3
Search our Forums:

Back to Top