What is the difference between Call and Link in cobol?

Showing Answers 1 - 8 of 8 Answers


  • Dec 9th, 2005

Call means that we no need to do ppt entry.

For link we have to do ppt entry.

  Was this answer useful?  Yes


  • Dec 22nd, 2005

Call canot be used when the program contains CICS statements.

  Was this answer useful?  Yes


  • Dec 31st, 2005

call means u r calling a predifined cobol app in to u r called program while running time only.

but link u r calling sub program into main while compiling time.

  Was this answer useful?  Yes


  • Jan 16th, 2006

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. CALL XPDF321  USING PDF321-LK. would be a dynamic call (resolved at execution time),  
CALL 'XPDF321'  USING PDF321-LK would be a static call resolved when the program is compiled. A call from a CICS program would be outside of CICS since it does not involve the exec cics command.

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.




  • May 16th, 2006

call; control goes sub program returns back to mainprog this is used in cobol

Link: this is also same bur it is used in cics

  Was this answer useful?  Yes


  • Aug 27th, 2007

In the cal statement, the called program is included in the load module so if we changed the called program, we have to compile the load module again. but in the link we need not to recompile the load module after changing the linked program.

  Was this answer useful?  Yes


  • Jan 8th, 2008

Be aware that CALL does not mean the called module is part of the load module. That is only true if it is a Static call. Dynamic calls do not include the called routine in the load module.

This question must be related to CICS since COBOL does not have a LINK statement. There are distinctions as listed below:

Static CALL: Called module is part of the load module. CICS knows nothing about it and doesn't get involved with the communication between the modules.

Dynamic CALL: Called module is not part of the load module. CICS needs a PPT entry for both the called and calling program. Under the covers, CICS treats it like a LINK request. Arguments are passed as with a static call.

LINK: CICS command-level request to pass control to another module with a return back to the caller. Arguments are passed in a COMMAREA.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Answer Question

Click here to Login / Register your free account

Send   Reset


Related Answered Questions


Related Open Questions