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 some translator and compile options and explain their meaning?
What does a cics translator do?
What are the classifications of the cics program?
What is the cics command level?
What are the types of the dfhmdf present in the cics?
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?
Kindly specify the pic clause for the hhmmss type of data fields?
mention the option (along with argument type) used in a cics command to retrieve the response code after execution of the command?
Explain how do you access the records randomly in tsq?
what is eib, how is can be used?
Explain 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?
Explain the difference between pseudo-conversational and conversational?
which cics command must be issued by the application program in order to gain access to the common work area (cwa)?
How is Telon(CA-Telon) used to build map?
Sync points cannot be requested by the application programs? State true or false