Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

COMMIT & ROLLBACK WE WILL NOT USE IN CICS PROGRAMMING INSTEAD OF COMMIT WE USE SYNC POINT THEN WT WE USE FOR ROLL BACK?

3 Answers  


What is dynamic transaction backout?

0 Answers  


What is cics load command?

0 Answers  


What is the drawback of using HANDLE CONDITION?

1 Answers   IBM,


What is the meaning of the deq command?

0 Answers  


What CICS facilities can you use to save data between the transactions?

1 Answers   IBM,


What is the CICS command that gives the length of TWA area?

3 Answers   IBM, TCS,


How do you make your BMS maps case sensitive?

2 Answers   IBM,


Transaction TRN1 has associated program PROG1 (pseudo- conversational). Under certain condition, PROG1 transfer control (XCTL) to PROG2, which should have his own pseudo- conversation with the terminal. When PROG2 send the map and execute a RETURN TRANSID('TRN1'), after receiving the control from the terminal, which program will be initiated?

3 Answers  


Is it possible to delete Symbolic Map? What is the impactness if we delete symbolic map?

3 Answers   CTS,


Mention the option (along with argument type) used in a CICS command to retrieve the response code

3 Answers  


Give certain situations where NEWCOPY is obligatory?

0 Answers  


Categories