Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


whar is the difference bwn LINK() and XCTL()?

Answers were Sorted based on User's Feedback



whar is the difference bwn LINK() and XCTL()?..

Answer / tej

Correction for XCTL :

XCTL transfers control to a subprogram at the same logical
level(not higher level as mentioned in the above answer) and
it does not expect the control to return to the main program.

Is This Answer Correct ?    26 Yes 2 No

whar is the difference bwn LINK() and XCTL()?..

Answer / tony prabu

Actually in the above answer it's mentioned that for XCTL
the control never get back that's right but the control
goes to CICS itself

Is This Answer Correct ?    6 Yes 0 No

whar is the difference bwn LINK() and XCTL()?..

Answer / qasim@omtech

for XCTL ,
the control never get back that's right but the control
goes to CICS itself

This is an explanation to the above answer.

XCTL:-Copy of the data is passed to the called program. it
means data changed by called program will not reflect in
calling program.

Since it do not expect the control to return to calling
program, as soon as the calling program issues a XCTL
command, calling program will be released from memory and
called program will load into memory.

Link:-Data is passed to the called program. it means data
changed by called program will reflect in calling program.

It expect the control to return to calling program, called
program will not release from memory.

Is This Answer Correct ?    5 Yes 0 No

whar is the difference bwn LINK() and XCTL()?..

Answer / lu

Link is passing control to another program and it get back
after.
Ex:
program-A : a)Perform Link-program-B
b) move xx to yy.
After executing perform , it returns to b...

XCTL is passing control to another program, and it NEVER
get back.
program-A : a) Perform XCTL-program-B...



This is a basic rule when you write CICS pseudo-
conversational....

Is This Answer Correct ?    6 Yes 2 No

whar is the difference bwn LINK() and XCTL()?..

Answer / rajesh reddy

The link() command is used to pass ctrl from an application
progrm at one logical to another application at the next
lower logical level.The calling program expects control to
be returned.

The xctl() command is used to pass control from one
application to another application program at the same
logical level .The calling program does not expect contol
to be returned.

In both cases data can be passed through a special purpose
register COMMAREA.

Is This Answer Correct ?    2 Yes 0 No

whar is the difference bwn LINK() and XCTL()?..

Answer / harsha

This is in addition to the above answers.

XCTL:-Copy of the data is passed to the called program. it
means data changed by called program will not reflect in
calling program.

Since it do not expect the control to return to calling
program, as soon as the calling program issues a XCTL
command, calling program will be released from memory and
called program will load into memory.

Link:-Data is passed to the called program. it means data
changed by called program will reflect in calling program.

It expect the control to return to calling program, called
program will not release from memory.

Is This Answer Correct ?    2 Yes 0 No

whar is the difference bwn LINK() and XCTL()?..

Answer / g.kalyani

XCTL() is used to control the pass to the higher level
programand doesnt return back to the previous program.

LINK() is used to send the contol to lower level
programs .And it will returns to back to the program from
where it has come.

Is This Answer Correct ?    13 Yes 16 No

Post New Answer

More CICS Interview Questions

What are the two ways of breaking a CPU bound process to allow other tasks to gain access to CPU.

3 Answers   Patni,


Explain the system transid cemt?

0 Answers  


Explain the difference between pseudo-conversational and conversational?

0 Answers  


What is the term bms in cics?

0 Answers  


What is the difference between Re-Entrant and Quasi re entrant program?? By looking at the program how can you tell if its re- entrant or not??

1 Answers   IBM,






How to import the cics code for updations? what are steps do we need follow for execution again after modification? plz any body help me to know

1 Answers   IBM,


Define an aica abend?

0 Answers  


can there be multiple mapsets for a single program?

1 Answers  


In case you modify the attribute field of map do you need to recompile the map?

5 Answers   RBS,


What is MDT ? How it is related FSEAT & FRESET? what is the meaning of MDT on.. pls ans With explanation is will be more helpfull thank you

2 Answers  


How do u know if a start command intiated a transaction or a terminal intiated a transaction

2 Answers   ProKarma,


How to prevent user to access a screen directly from cics Native screen by using Trans Id?

2 Answers   IBM,


Categories