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

Particular area has been affected in cics screen, what is the process to find?

3 Answers   Cap Gemini,


hi,what is the module? how many modules in mainframe based banking projects

0 Answers  


what is the difference between task and transaction in cics?

5 Answers  


Can you explain dfheiblk?

0 Answers  


What are the main topics in CICS to prepare for interview purpose and for real time purpose?

2 Answers   iGate,






Can we use both FSET n FRSET together in BMS? And if yes then what will happen?

4 Answers  


What are the situations under which NEWCOPY is required ?

2 Answers   Cap Gemini, IBM,


What is Tclass in cics?what is its importance? How it is implemented?

2 Answers   IBM,


Which of the following are recoverable CICS resources?

1 Answers   IBM,


Generally we check EIBALEN = 0 to decide whether first call or not. If I do not pass any value in the COMMAREA then EIBCALEN will be 0 even on second call. Now how can we say the program is called for the first time or second time?

3 Answers   Accenture,


What is a Logical Unit of Work (LUW)?

1 Answers  


What is the CICS supplied transaction which performs syntax checking of a CICS command?

3 Answers  


Categories