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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the pcp in the cics?

939


What is the procedure to solve an ASRA ABEND?

1042


Define cedf?

963


what is eib, how is can be used?

1108


Every map is categorized into multiple fields, and there are three common working storage fields present for each of these respective fields. Mention those?

1063


What is the syncpoint command?

1219


Explain the function of the load command?

1136


What is CICS ?

991


What is the eib parameter?

1057


Explain the difference between a return with transid and xctl? For example program. A is issuing return with transid to program b. Program a. Is isssuing xctl to program b?

1049


What is an mdt (modified data tag)?

1032


What are the main uses of the transaction in the cics?

1036


Explain the difference between cics program control table (pct) and cics processing program table (ppt)?

1067


Define task work area?

1326


how can you prevent more than one user from accessing the same transient data queue?

1090