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 MDT? What are FSET, FRSET ?
what are the two ways of breaking a cpu bound process to allow other task to gain access to cpu?
Is it possible start a transaction CICS from job Batch? How do it?
How do you handle errors in CICS pgms ?
What is an ASRA?
Use of DFHCOMMAREA in cics
What is CECI?
What will happen if some program tries to process a queue on which an ENQ command has been issued by some other program?
The EIB field which gives the last CICS command executed is
What is the command used for receiving a map from a terminal?
IN CICS APPLICATION PROGRAM, INSTEAD OF HARDCODING MAP AND MPASET NAMES WHILE SENDING AND REIEVING ...CAN WE DO LIKE THIS ??? MOVE MAP AND MAPSET NAMES TO WORKING STORAGE SECTION VARIABLES AND USE THOSE VARIABLES WHILE SENDING AND RECIEVING MAP.IF YES, HOW CAN WE MOVE MAP INPUT , OUTPUT VARIABLES. IF ANYBODY KNOWS THIS PLEASE POST THE ANSWER
How To Set MDT(Modified Data Tag) Thru Application Program? (Dynamically)?