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 are the commands used to gain exclusive control over a resource?
Explain cemt transaction commands?
Define the attribute byte?
What is the use of mdt (modified data tag)?
Highlight the points of differences between XCTL and START?
Explain how do you handle errors in cics programs?
Name the cics command that gives the length of twa area?
Explain the difference between link and xctl?
How can you access esds files from cics?
How do you use altindxs in batch, cics programs?
Explain the uses that are associated to tsq and tdq ?
Define temporary storage?
how can you prevent more than one user from accessing the same transient data queue?
Why do we need integrated cics translator?
Kindly specify the pic clause for the hhmmss type of data fields?