In an on-line environment, how can you prevent more than
one user from accessing the same Transient Data Queue at
the same time?

Answer Posted / saisankar

by providing loking mechanisms

we can lock the TDQ by using ENQ command.

eg:
EXEC CICS ENQ
RESOURCE('QID')
END-EXEC.

later we need to unlock it thru DEQ

eg:
EXEC CICS DEQ
RESOURCE('QID')
END-EXEC.

(any info mail me saisankar85@gmail.com)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when an xctl is done, does the tranid change ? Is a new task created ? Does it cause an implicit syncpoint to be issued ?

723


Is length = 0 sufficient to ascertain that the field has been modified?

574


What is the primary aspect of CICS?

666


Explain how many conditions can you include in a single handle condition command?

617


what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?

610






Can you explain dfheiblk?

627


Explain how do you establish a starting position in a browse operation?

576


Explain the difference between a symbolic map and physical map?

571


Explain the system transid cemt?

598


Explain cedf transaction commands?

629


What is the difference between a return with transid and xctl?

581


Explain how pa key is different from pf key?

654


Name the three ways available for a program to position the cursor on the screen?

596


name the command that is used to dump the main storage areas related to a task?

633


In case if the user inputs the characters which turn out to be uppercase, then what is the procedure to close that condition?

577