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

Explain the function of the terminal control table?

557


What is the syncpoint command?

599


Add a field to screen when what's the flow of impact?

2415


What are the types of important programs that are used in the cics?

615


Explain the function of the load command?

595






Name the three ways available for a program to position the cursor on the screen?

597


which cics command must be issued by the application program in order to gain access to the common work area (cwa)?

671


Explain what is the massinsert option?

639


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

572


What is the use of the eibaid field?

621


Can you explain common systems area?

664


Can you define aica abend?

689


What do you mean by CEMT?

775


Explain cebr transaction commands?

550


If we wish to create bms executable, what are the basic steps that the user has to go through?

639