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
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 |
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 |
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 |
How to make protected field in BMS invisible through application program?
Explain how do you establish a starting position in a browse operation?
If we say that bms length of field = 0, then what does that mean?
I was asked in HSBC interview following questions: 1. A string was given " techincal seminar on cobol language" Interviewer asked me to calculate the number of vowels in this string.
What is the size of commarea
How would you release control of the record in a READ for UPDATE?
Specify the requirements for Automatic Task Initiation. (Mention the control table, it?s entries and the corresponding Procedure division CICS command).
List out all the tables that are a part of cics ?
Explain how do you set the mdt option to on status, even if data is not entered?
What are the common cics service programs and explain their usage?
what are the differences between and exec cics xctl and an exec cics link command?
Name three ways the Modified Data Tag can be set on?