How can u pass the control from one prog to another in CICS?
Answers were Sorted based on User's Feedback
Answer / qasim@omtech
1.By using xctl and link
2.You can use CALL statement also
3.By using "return(transaction-name)" syntax also
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sriharsga s r
To pass control from One program to other program
Use Link, XCTL and CALL
If You are using Link or XCTL in calling program, then use
Return command in the Called program to send control back
to Calling program.
If You are using CALL statement in Calling program,then use
GOBACK in called program to send control back to Calling
program.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / y@$w@nth
The following are the commands to pass control from one
program to another program
XCTL(to pass control to the same level program and won't
expects the return of control )
LINK(to pass control to the one level to next lower level
and expects the control to return back)
RETURN( Use this in the called program to return control to
the called program When it is called through XCTL or LINK )
CALL
GOBACK(use this in the called program to return control to
the calling program When the it is called through CALL
statement)
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / tony prabu
Ya it's right usin not simply return but by specfying the
transaction to be executed to be mentioned thus the program
that run that transaction runs.
ex:
return(transaction-name)
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / murali pithani
We can pass control to the program by starting a
transaction in the source program.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is meant by program reentrance?
Is it possible start a transaction CICS from job Batch? How do it?
what we will give in the ATI after reaching the trigger level eaither transation or program. EXEC CICS TRANSID() TERMID() TRIGGERLVL() what we have to code eaither TRANSATION OR PROGRAM
Into what fields will the date and time values be moved after execution of the above command?
what are the differences between and exec cics xctl and exec cics start command?
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?
Explain the cics command that is used for reading a record from the tdq?
What is the command used to send a map to a terminal?
What is a resident program?
How does COBOL11 and CICS release 1.7 provide for exceptional and how does that differ from VS COBOL and earlier CICS release?
Why is GETMAIN command needed?? Will program not work if we do not give GETMAIN?
What other file control processing commands are used for file updating?