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?

Answers were Sorted based on User's Feedback



What is the difference between a RETURN with TRANSID and XCTL ?For example prog. A is issuing REUT..

Answer / narender pathi

RETURN TRANSID can only be executed in the highest logical level where as XCTL can be used to transfer control in any level. However in the highest logical level both work similar way.

You will get INVREQ if you try to execute RETURN TRANSID in lower logical levels.

Regards,
Narender Pathi,
Broadridge Hyderabad

Is This Answer Correct ?    6 Yes 2 No

What is the difference between a RETURN with TRANSID and XCTL ?For example prog. A is issuing REUT..

Answer / 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

What is the difference between a RETURN with TRANSID and XCTL ?For example prog. A is issuing REUT..

Answer / shankargouda y annigeri

When we issue a return with transis..The control is given
to the transid which must be one logical upwards.
In example 1:A is issuing REUTRN with TRANSID to
prog B..Means control goes to prog B which must be one
logical upwards..

XCTL means:No return is expected..

Is This Answer Correct ?    5 Yes 8 No

Post New Answer

More CICS Interview Questions

What are the some important fields in the eib block?

0 Answers  


Which is the macro used for making an entry in the PPT

1 Answers  


Define the term function request shipping?

0 Answers  


The first step in the development of an application system is the Requirement Analysis(True or False).

1 Answers  


How can you accomplish breakpoint in intertest?

2 Answers   IBM,






How to get the cursor position when we receive a map?

0 Answers  


How is addressability achieved to the data outside programs working-storage.?

3 Answers  


How do you access storage outside your CICS program?

2 Answers   IBM,


How can we initiate a transaction from batch?

6 Answers   Merrill Lynch,


What is the usage of language in the PPT entry?

2 Answers   IBM,


Explain the mdt in cics?

0 Answers  


What is trigger level in the context of TDQs?

2 Answers   IBM,


Categories