Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

what is the difference between LINK and CALL?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: what is the difference between LINK and CALL?
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: 1439
Location: Bangalore,India

PostPosted: Mon Apr 23, 2007 10:24 am    Post subject: Re: what is the difference between LINK and CALL?
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    Post subject:
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    Post subject: Re: what is the difference between LINK and CALL?
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us