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

Name the cics command used to access current date and time?

574


Define communication area?

569


Explain the cics command that is used for reading a record from the tdq?

553


What are the types of the dfhmdf present in the cics?

598


how do you execute a background cics txn ?

828






Explain the function of the load command?

589


Define floating maps with illustration?

567


Explain the thress bms options?

574


how can you prevent more than one user from accessing the same transient data queue?

610


What is CICS ?

600


Can you explain dfheiblk?

625


What is the meaning of the eibaid field?

530


the dfhcommara is used to pass information from one application to another. What are some other ways that this function can be accomplished?

668


Name the two types of transient data queues?

568


What is a transid?

577