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 the maps in cics?
Explain the usage of language in the ppt entry?
Explain the difference between intra partition tdq and extra partition tdq?
Explain how do you access the records randomly in tsq?
which transient data queue support ati?
difference between tsq and tdq?
Define RCT.
Can you explain primary aspect of cics?
which cics service transaction is used to gain accessibility to cics control tables? Mention the one that has the highest priority.?
What is the pic clause for the any bll cell type of data fields?
list the sequence of steps used to achieve modiication in skip sequential mode?
What is meant by MDT? Furthermore, comment on FRSET and FSET ?
What is the difference between a return with transid and xctl?
Define the attribute byte?
Explain how would you resolve an asra abend?