View previous topic :: View next topic |
Author |
Message |
midnighthunger Beginner
Joined: 21 Dec 2005 Posts: 2 Topics: 1
|
Posted: Wed Dec 21, 2005 1:32 am Post subject: HOW TO USE ENQ and DEQ |
|
|
HI
I have a doubt in using this ENQS and DEQS , what is its specific use
please give me with a sample piece of code
Regards _________________ WITH S MIDNIGHTHUNGER |
|
Back to top |
|
 |
Maximus Beginner
Joined: 17 Nov 2005 Posts: 21 Topics: 11
|
Posted: Wed Dec 21, 2005 1:48 am Post subject: |
|
|
Midnight Hunger,
ENQ gains exclusive control over the queues while the DEQ gives out the control holding on that queue.
Mainly used in multiuser environment.
- Maximus
******
Do some research before posting.... |
|
Back to top |
|
 |
Maximus Beginner
Joined: 17 Nov 2005 Posts: 21 Topics: 11
|
Posted: Wed Dec 21, 2005 2:05 am Post subject: |
|
|
HI maximus
The hardest thing for the gladiator is find code pieces not concept , please help me in this regard |
|
Back to top |
|
 |
midnighthunger Beginner
Joined: 21 Dec 2005 Posts: 2 Topics: 1
|
Posted: Wed Dec 21, 2005 2:16 am Post subject: |
|
|
hi maximus
what is this??? I cant get ,I am confused what do you mean to say _________________ WITH S MIDNIGHTHUNGER |
|
Back to top |
|
 |
haree_amrid Beginner
Joined: 21 Dec 2005 Posts: 9 Topics: 3 Location: INDIA
|
Posted: Wed Dec 21, 2005 9:53 am Post subject: |
|
|
Hi,
ENQ command is to gain the exclusive control of the resources(like queues, files etc), the resources which we want to get exclusive control should be mentioned in the ENQ statement.
EXEC CICS ENQ
RESOURCE(RESOURCE-NAME)
END-EXEC.
Similarly DEQ will remove the exclusive control over the resources.
EXEC CICS DEQ
RESOURCE(RESOURCE-NAME)
END-EXEC. _________________ With Regards,
Hareesh Amrideswaran |
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
|
Back to top |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
|
Back to top |
|
 |
|
|