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 are the cics transactions?
what are the commands used to gain exclusive control over a resource?
can anyone tell me about paginglogic in CICS,Please?
If you use the OPTIMIZE compiler option the size of the program can be reduced by 5 to 10%(True or False)
How is dynamic memory allocated within a CICS application program?
Why must all CICS programs have a Linkage Section ?
Name the cics command that gives the length of twa area?
Can you define transid?
Define exec cics retrieve?
What is a deadlock?
What happens when a CICS command contains the NOHANDLE option?
How to dsect parameter is used in bms?