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?
Answer Posted / 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 |
Post New Answer View All Answers
Define ceci?
Whenever a cics program goes through a compilation process, there is always some extra code that is added to the program. Where exactly does this new piece of code go to and what is it termed as ?
Can you define bms?
What is the main function of the sign-on table?
Explain how many conditions can you include in a single handle condition command?
which cics command must be issued by the application program in order to gain access to the common work area (cwa)?
Name the three ways available for a program to position the cursor on the screen?
which transient data queue support ati?
How to establish dynamic cursor position on a map?
How many ways are there for initiating a transaction?
What is the difference between a return with transid and xctl?
What is the use of tdq and tsq?
what is the differences between getting the system time with eibtime and asktime command?
What is the common systems area?
Kindly specify the pic clause for the hhmmss type of data fields?