View previous topic :: View next topic
|
Author |
Message |
girishms
New User
Joined: 06 Jun 2008 Posts: 21 Location: chennai
|
|
|
|
Hi all...
Has anybody worked on ENQ and DEQ macros in assembler???
If so please guide me....
Thanks,
Girish |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
ENQ uses a QNAME,RNAME pair of values to serialize access to a shared resource, so everyone must use the same values to protect the same resource. The scope of the ENQ is also important (STEP, SYSTEM, SYSTEMS) as well as shared vs. exclusive.
You can test the availability of an ENQ, attempt ENQ with error returned if unavailable, or wait unconditionally for an ENQ.
For example, ISPF EDIT uses QNAME=SPFEDIT and RNAME=data.set.name[and.member?] , scope SYSTEMS and exclusive.
The MVS Assembler Services Reference manual describes the macros and has simple examples. |
|
Back to top |
|
|
girishms
New User
Joined: 06 Jun 2008 Posts: 21 Location: chennai
|
|
|
|
Thanks a lot !!!! |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Bill,
that was a great little post.
they still have RAGBRAI every year about this time?
I did it from 1986 thru 92.
I am safe now, the wife is gone and I am in europe. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Dick,
RAGBRAI is running this week! I'm not a rider but they seem to have a good time. Someone spread tacks on the road this year and caused a bunch of flats. Follow the action HERE |
|
Back to top |
|
|
|