what is difference between call and link ?
Answers were Sorted based on User's Feedback
Answer / sandeep_1985
Call is for static call to the sub module. The load module
of main module will contain the load of called sub module.
So you need to generate the main module if you happened to
do any change in the sub module otherwise it won't pick up
the correct load.
while
Link is the dynamic call to the sub module. At the run time
the linker will link the sub module load. So no need to
generate main module if you happened to change sub module.
Any more info required????
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / g.sudalai muthu
Call statement can be said to be similar to LINK since both
transfer control at Lower logical Level whereas XCTL
transfers control at the same level. Also in CALL the
control must transfer to the calling program like LINK but
unlike XCTL. In CICS, information is passed to the called
pgm through DFHCOMMAREA alongwith lenght of data. XCTL
command requires fewer overheads, hence its performance is
relatively better in comparison to the LINK command. Also,
the calling program does not expect control to be returned.
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / chand
Call is used in Batch programing and Link is used in Online
programming(CICS) both are used for transfer control from
one program to another program.
Is This Answer Correct ? | 3 Yes | 9 No |
What is the common work area (CWA)?
what is invreq condition?
What is the use of a TDQ, TSQ?
Can we use both FSET n FRSET together in BMS? And if yes then what will happen?
Can ESDS files be accessed from CICS?
Can a program change protected field ?
How do you define Task Work Area?
What information can be obtained from the EIBRCODE?
what is effect on receive map when
What is the function of the Terminal Control Table(TCT)?
What is the difference between a RETURN with TRANSID and XCTL ?For example prog. A is issuing REUTRN with TRANSID to prog B. Prog A. is issuing XCTL to prog B?
What is the purpose of the Program List Table?