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 |
If TDQs are selfdestructive then why they are used? AND Why TSQs are preferred over TDQs?
What is Quasi-reentrancy?
What is the use of the eibaid field?
i have three programs... I used Dfhcommarea in for first program for third program i used TSQ .....what i have to use for second program???
Specify the CICS command used to read a VSAM record starting with prefix ?F?. Code all the relevant options.
What is CEDF?
What is a transid and explain the system transid CEMT?
Can you define attribute byte?
Define exec cics retrieve?
Where are transient data sets defined to CICS?
Can you explain dfheiblk?
What is the primary aspect of CICS?