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 information can be obtained from the EIBRCODE?
what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?
What information do you get when an EXEC CICS STARTCODE is issued?
What is meant by program reentrance?
What are fset, frset?
How to get the sign-on user-id from an application program?
What are the situations under which NEWCOPY is required ?
What is the other way of terminating a transaction?
Given below code, find the value of 'x'. Perform s001-x thru s001-y. s001-x. add 1 to x . s001-1x. ------- . s001-y. perform s001-1y 10 times . s001-1y. perform s001-2y 10 times . s001-2y. perform s001-x 10 times .
What is the syncpoint and its use?
A mapset consists of three maps and 10 fields on each map . How many of the following will be needed ?
Can you define mdt?