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

How do you access the records randomly in TSQ ?

2 Answers   IBM,


which cics service transaction is used to gain accessibility to cics control tables? Mention the one that has the highest priority.?

0 Answers   IBM,


can there be multiple mapsets for a single program?

1 Answers  


What is DFHBMSCA?

3 Answers  


What are the three ways available for a program to position the cursor on the screen?

2 Answers   IBM,






What is non-conventional programs?

0 Answers  


How to implement function keys in cics ...Interview ask me there is requirement to include two function key in the program F1 and F2 Keys...when F1 key  is press record should be inserted into database after reading the input file and when F2 is press ,record should be updated in databased...explain about the entire process including testing also..?please expain in step by step ?

1 Answers   HeadStrong, Polaris,


What are the main uses of the transaction in the cics?

0 Answers  


If I create a TSQ from one transaction, can I read it from another transaction?

4 Answers   IBM,


Explain the logical message in cics?

0 Answers  


difference between tsq and tdq?

0 Answers   IBM,


What is interval control?

0 Answers  


Categories