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
Name the cics command used to access current date and time?
Define communication area?
Explain the cics command that is used for reading a record from the tdq?
What are the types of the dfhmdf present in the cics?
how do you execute a background cics txn ?
Explain the function of the load command?
Define floating maps with illustration?
Explain the thress bms options?
how can you prevent more than one user from accessing the same transient data queue?
What is CICS ?
Can you explain dfheiblk?
What is the meaning of the eibaid field?
the dfhcommara is used to pass information from one application to another. What are some other ways that this function can be accomplished?
Name the two types of transient data queues?
What is a transid?