Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
ENQ and DEQ macros...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER
Author Message
girishms

New User


Joined: 06 Jun 2008
Posts: 22
Location: chennai

PostPosted: Thu Jul 24, 2008 5:59 pm    Post subject: ENQ and DEQ macros...
Reply with quote

Hi all...

Has anybody worked on ENQ and DEQ macros in assembler???


If so please guide me....


Thanks,
Girish
Back to top
View user's profile Send private message
References
Bill Dennis

Senior Member


Joined: 17 Aug 2007
Posts: 313
Location: Iowa, USA

PostPosted: Thu Jul 24, 2008 6:43 pm    Post subject:
Reply with quote

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
View user's profile Send private message
girishms

New User


Joined: 06 Jun 2008
Posts: 22
Location: chennai

PostPosted: Thu Jul 24, 2008 7:13 pm    Post subject:
Reply with quote

Thanks a lot !!!!
Back to top
View user's profile Send private message
dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1639
Location: germany

PostPosted: Fri Jul 25, 2008 4:19 am    Post subject: Reply to: ENQ and DEQ macros...
Reply with quote

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
View user's profile Send private message
Bill Dennis

Senior Member


Joined: 17 Aug 2007
Posts: 313
Location: Iowa, USA

PostPosted: Fri Jul 25, 2008 6:53 pm    Post subject:
Reply with quote

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. icon_cry.gif Follow the action HERE
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER All times are GMT + 6 Hours
Page 1 of 1