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 are the commands used to gain exclusive control over a resource?

1150


Explain cemt transaction commands?

1073


Define the attribute byte?

1053


What is the use of mdt (modified data tag)?

1001


Highlight the points of differences between XCTL and START?

1138


Explain how do you handle errors in cics programs?

939


Name the cics command that gives the length of twa area?

930


Explain the difference between link and xctl?

894


How can you access esds files from cics?

1032


How do you use altindxs in batch, cics programs?

988


Explain the uses that are associated to tsq and tdq ?

1035


Define temporary storage?

987


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

1029


Why do we need integrated cics translator?

993


Kindly specify the pic clause for the hhmmss type of data fields?

997