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 cebr transaction commands?
Define TCT.
What is meant by a ‘Transid’ ?
For protecting a transaction using the transaction security function, the two things that must be done are?
What is the syncpoint command?
what are the differences between and exec cics xctl and exec cics start command?
What is fset?
If we wish to create bms executable, what are the basic steps that the user has to go through?
Explain the function of the load command?
Name the command which is used to release a record on which exclusive control is gained?
What are the recoverable cics resources?
Code the related portions of cics/cobol-i programs to gain addressability to twa area assigned to a particular task. Assme that the size of twa area is 300bytes. What are the advantages if cobol-ii is used in the place of cobol?
Can you define attribute byte?
Explain how do you establish a starting position in a browse operation?
Can dynamic calls be used in CICS?