how can we establish a link between two maps using a cobol
application program....lets say how can u use 'back' in a
map ..to come back on previous .
Answers were Sorted based on User's Feedback
Answer / kumar
linking of two maps is nothing but transfering of control.
And this can be achieved by using LINK,XCTL commands.
| Is This Answer Correct ? | 24 Yes | 0 No |
Answer / madhuri tungal
as kumar said... linking of two maps is nothing but
transfering of control and that can be achieved by
LINK (control will be returned back to main program)
or
XCTL (control wil not be returned back to main program).
to come back to main program or transfer control to any
program use following command:
exec cics return(transaction-id) end-exec.
above command will transfer the control to program
associated with transaction-id.
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / anna
you can not do return with transid from sub prgm to main
prgm i.e from link to main prgm you do not have area to
save trans id
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / arun
we can establish a link between two maps in 3 ways .
LINK (control will be returned back to main program) and
XCTL (control wil not be returned back to main program).
But for the second one we have to give the return statement
with the main programs transaction-id. otherwise the control
wil not return back to the main map.
| Is This Answer Correct ? | 3 Yes | 5 No |
What is the command used for receiving a map from a terminal?
Can you explain dfhmdf bms macro?
Can you define mdt?
What is the function of DFHMDF BMS macro?
Why is a TERM ID recommended in naming a TSQ?
What is the command used to request notification when the specified time has expired?
Define an aey9 abend?
How are VSAM files Read in CICS pgms?
What is meant by pseudo-conversation?
What is ATI? What kind of TDQ can be used?
What is the command that is used to delay the processing of a task for a specified time interval
Define cics interface block?