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
What is the pcp in the cics?
What is the procedure to solve an ASRA ABEND?
Define cedf?
what is eib, how is can be used?
Every map is categorized into multiple fields, and there are three common working storage fields present for each of these respective fields. Mention those?
What is the syncpoint command?
Explain the function of the load command?
What is CICS ?
What is the eib parameter?
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?
What is an mdt (modified data tag)?
What are the main uses of the transaction in the cics?
Explain the difference between cics program control table (pct) and cics processing program table (ppt)?
Define task work area?
how can you prevent more than one user from accessing the same transient data queue?