Interview Questions   Tutorials   Discussions   Programs   

CICS - What is the difference between link and xctl?




408
views
asked mar August 4, 2014 10:57 AM  

What is the difference between link and xctl?


           

1 Answers



 
answered By Mswami   0  

  • Link invokes an application program which is at next lower level.
  • XCTL invokes an application program which is at the same level.
  • Link returns back the control to the calling program where as XCTL does not return the control to the calling program.

The XCTL command passes control to another program, but the resources requested by the first program may still be allocated. A task does not end until a RETURN statement is executed. While in LINK command, program control resumes its instruction following the LINK parameter. The disadvantage of LINK is that it requires that both the calling program and the called program remain in main memory even though both are no longer needed.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert