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 |
Name some translator and compile options and explain their meaning?
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 .
why we code ACCUM parameter in cics send time
What are the CICS commands available for program control?
Can QSAM files be accessed from CICS?
Explain the difference between and exec cics xctl and an exec cics link command?
Define the term mro (multi region operation)?
Why doesn?t CICS use the Cobol Open and Close statements ?
What does EIB mean in CICS?
What is effect on RECEIVE MAP when PF key is pressed? PA key is pressed?
which is the cics control program that provides communication services between user written application programs and terminals?
Explain the difference between getting the system time with eibtime and asktime command?