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 ceci transaction commands?
What is the use of the eibaid field?
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?
How can you access esds files from cics?
What is task control?
Can you define cemt?
What is the use of mdt (modified data tag)?
what are the differences between and exec cics xctl and an exec cics link command?
What is the pcp in the cics?
Specify cics transaction initiation process?
Explain the difference between the xctl and link commands?
How vsam files are read in cics pgms?
What is the pic clause for the data type of length option field type of data fields?
What are the uses of ppt in cics?
what are the commands used to gain exclusive control over a resource?