Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain the exact situation, when to use CALL, XCTL and LINK?

Answers were Sorted based on User's Feedback



Explain the exact situation, when to use CALL, XCTL and LINK?..

Answer / mehdee

1- We do XCTL to another program and we do not want to
return.
2- We do LINK to another program and we do want to return.
3- We do CALL to another program and we do want to return,
and we use it if we need to pass and return more
information than what COMMAREA is holding by the "USING"
option in the CALL.

Is This Answer Correct ?    4 Yes 0 No

Explain the exact situation, when to use CALL, XCTL and LINK?..

Answer / suman kumar

A called program remains in the last used state after it
returns control but link/xctl program always brings a new copy

Is This Answer Correct ?    3 Yes 1 No

Explain the exact situation, when to use CALL, XCTL and LINK?..

Answer / qasim

1- We do XCTL to another program and we do not want to
return.
2- We do LINK to another program and we do want to return.
3- We do CALL to another program and we do want to return,
and we use it if we need to pass and return more
information than what COMMAREA is holding by the "USING"
option in the CALL.
this is the exact use of above 3 keywords.

Is This Answer Correct ?    1 Yes 0 No

Explain the exact situation, when to use CALL, XCTL and LINK?..

Answer / sriharsha s r

I worked on all the 3 situations. Using CALL statement is
very interesting.

In main program use send text command then Call subprogram
(pure batch) using call statement by passing values..
Use call when You want to call pure batch program from
CICS, but use goback statement in Subprogram to get the
value back to CICS program.
Then use once again Send text command to dispaly the value
which You receive from subprogram.

Main program:
EXEC CICS SEND TEXT from (value of variable in main
program)) END-EXEC.
CALL WS-PGM1 by using A by reference, B by content
EXEC CICS SEND TEXT from (value received from subprogram)

Is This Answer Correct ?    2 Yes 2 No

Explain the exact situation, when to use CALL, XCTL and LINK?..

Answer / girish kumar

IN THE MAP JUST U CODE PICIN AS X(LENGTH) AND NEVER CODE THE
ANYTHING IN THE "INITIAL" JUST GIVE A BLANK SPACE.
FOR EX: IF YOU ARE DOING ADDITION USE
FUNCTION NUM VALUES(NO1I) PIC X(5).
FUNCTION NUM VALUES(NO2I) PIC X(5).
THEN COMPUTE NO1I + NO2I.

CODE LIKE THIS IN APPLICATION PROGRAM
I GET THE EXACT RESULT.

Is This Answer Correct ?    1 Yes 1 No

Explain the exact situation, when to use CALL, XCTL and LINK?..

Answer / sanvz

in additon to the above answers, VSCOBOLII allows to make
CALL stmt, so you can do this in ur earlier versions

if you routine is imbedded to ur main program, then that
case CALL is more effective.

if the modification are higher ,sub program size is higher
go for LINK, once issue link that u the control to one
level down to ur calling program. and ur calling pgm will
expect a return,

Xctl is more convienent way calling a progam in CIcs,.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More CICS Interview Questions

What is the content of the PPT entry?

3 Answers   CTS, IBM,


which is the cics control program that provides communication services between user written application programs and terminals?

0 Answers   IBM,


What are the attribute values of Skipper and Stopper fields?

1 Answers  


Can a tsq of one particular transaction be accessed from an alternate transaction?

1 Answers  


What is the error condition that is set when the file specified in the NAME option is not in the FCT?

1 Answers   UHG,


How ENQ and DEQ used in CICS?

0 Answers  


how can we differentiate between conventional and pseudo-conventional coding just by seeing cobol code?

2 Answers   Patni,


Explain the difference between using the read command with into option and set option?

0 Answers  


Receive consists of buffer option in it. What is the significance of this option?

0 Answers  


If no exception handling is provided in the program, what will happen ?

1 Answers  


Define the term mro (multi region operation)?

0 Answers  


Explain how do you dynamically set the cursor position to a specific field?

0 Answers  


Categories