What is the difference between Call and a Link?



What is the difference between Call and a Link?..

Answer / Shishir Chouhan

A 'CALL' in COBOL transfers control to another program and returns back when the called program finishes. A 'LINK' establishes a connection between two programs but does not transfer control. The link can be used for data exchange without interrupting the flow of the main program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

If we use GO BACK instead of STOP RUN in cobol?

2 Answers   Temenos,


HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?

1 Answers  


I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.

3 Answers  


We have 3 programms A,B,C.In the middle of the program A the controls goes to program B and in the middle of the program B control wants to go program C,after completion of program C again control comes to program B and again after completion of program B control comes to program A.How the process will takes and what are the controls we use for that process.If it is possible anybody of you explain with example?

5 Answers   IBM,


input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.

1 Answers  


How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.

6 Answers   Accenture,


what is internal sort and external sort ? which is preferable ?

2 Answers   TCS,


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1 Answers   IBM,


Without using move verb how to move one variable to another.

5 Answers  


how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)

6 Answers  


Difference between ps, esds

3 Answers  


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

7 Answers   T systems,


Categories