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


Please Help Members By Posting Answers For Below Questions

Explain ceci transaction commands?

568


What is the use of the eibaid field?

626


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?

614


How can you access esds files from cics?

601


What is task control?

600






Can you define cemt?

665


What is the use of mdt (modified data tag)?

623


what are the differences between and exec cics xctl and an exec cics link command?

716


What is the pcp in the cics?

535


Specify cics transaction initiation process?

576


Explain the difference between the xctl and link commands?

524


How vsam files are read in cics pgms?

742


What is the pic clause for the data type of length option field type of data fields?

561


What are the uses of ppt in cics?

551


what are the commands used to gain exclusive control over a resource?

692