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 effect on RECEIVE MAP when PF key is pressed? PA key is pressed?
Explain the difference between a package and a plan.
What is the pcp in the cics?
Why must all CICS programs have a Linkage Section ?
What are the databases that CICS can access?
Why is it important not to execute a STOP RUN in CICS ?
In a CICS program, how will you read a VSAM file?
Name a few CICS programs which are generally used ?
What is the COMMAREA(communications area)?
What will happen if the TDQ that you want to delete is not in the DCT?
Hai I have a VSAM file and there are two CICS pgms A and B both intends to update the file. How to code the program so that it does not under go a dead lock situation.
How many conditions can you include in a single HANDLE CONDITION command?