What is the difference between a RETURN with TRANSID and
XCTL ?For example prog. A is issuing REUTRN with TRANSID to
prog B. Prog A. is issuing XCTL to prog B?
Answer Posted / harish
hI,
iF EXEC CICS
RETURN END-EXC MEANS LIKE STOP RUN CONTROL GOES
TO CICS
CONSIDER
A.PROG
EXEC CICS
RETURN TRANSID('ABCD') MEANS RETURN THE CONTROL TO B
PROG TRANSID('ABCD')
EXEC CICS
XCTL PROGB
COMMAREA(WS-COMMAREA)
LENGTH(10)
END-EXEC.
MEANS ITS PERMANENTLY TRANSFERRING CONTROL TO
PROGB,NEVER EXPECT THE CONTROL TO RETURN BACK......
AS YOU KNOW IN COBOL WHAT HAPPENS IF WE ISSUE "GOTO"
Harish poomgame shivappa
NIIT Technolgies
Kolkata
| Is This Answer Correct ? | 8 Yes | 8 No |
Post New Answer View All Answers
Explain what is the massinsert option?
How do we pass parameters into a CICS –DB2 program
what is an mdt (modified data tag)? Its menaing and use?
What is the comaera (communication area)?
Can you explain dfheiblk?
Define exec cics retrieve?
What is the common work area?
what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?
In the EIB block of CICS, highlight the names of few of the important fields?
how do you intitiate another transaction?
How to get the cursor position when we receive a map?
Give certain situations where NEWCOPY is obligatory?
What are the types of the dfhmdf present in the cics?
What is the pcp in the cics?
Explain how do you set the mdt option to on status, even if data is not entered?