Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 
What is resource in CICS ENQ RESOURCE(data-area)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
sunitatprasad

New User


Joined: 18 May 2006
Posts: 9

PostPosted: Thu May 25, 2006 7:14 pm    Post subject: What is resource in CICS ENQ RESOURCE(data-area)
Reply with quote

Hi all,

In the command

EXEC CICS ENQ RESOURCE(data-area)
END-EXEC

1) WHAT ALL CAN BE THE RESOURCES?

2) IN THE CASE OF VSAM FILE BEING ENQ-ueued
IS IT THE LOGICAL FILE BEING USED?


Thanks in advance,

Sunita
Back to top
View user's profile Send private message

sada_polaris

New User


Joined: 24 May 2006
Posts: 13

PostPosted: Mon May 29, 2006 11:40 am    Post subject: Re: ENQ-ueuing of resources
Reply with quote

Let me explain.
Resource can be TSQ, TDQ, Files, DASD.

Say if you ENQ a vsam file then the file can be updated by that ENQed program where as the other user can only browse through the vsam contents.
Back to top
View user's profile Send private message
sunitatprasad

New User


Joined: 18 May 2006
Posts: 9

PostPosted: Mon May 29, 2006 12:23 pm    Post subject: Re: ENQ-ueuing of resources
Reply with quote

hi,

that's ok.

but What i want to know is that

in the command :
EXEC CICS ENQ
RESOURCE(WS-RESOURCE-NAME)
END-EXEC.

What will be the content of "WS-RESOURCE-NAME"?

Will it be the logical file name or anything else?

Thanks in advance,
Sunita
Back to top
View user's profile Send private message
sada_polaris

New User


Joined: 24 May 2006
Posts: 13

PostPosted: Mon May 29, 2006 12:35 pm    Post subject:
Reply with quote

Quote:
hi,

that's ok.

but What i want to know is that

in the command :
EXEC CICS ENQ
RESOURCE(WS-RESOURCE-NAME)
END-EXEC.

What will be the content of "WS-RESOURCE-NAME"?

Will it be the logical file name or anything else?

Thanks in advance,
Sunita


Say if u need to enq the resource(VSAM) file then you need to mention the VSAM dataset name (8 Character defined in CICS region)
Back to top
View user's profile Send private message
jajuhby

New User


Joined: 05 Sep 2006
Posts: 2

PostPosted: Tue Sep 05, 2006 8:32 am    Post subject: enq-ueueing database tables
Reply with quote

Hi everyone,

Is it possible to enq-ueue on a database table directly? I need to be able to serialize the requests/fetches from a database table... How do I go about this?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 5 Wed Aug 23, 2017 9:59 pm
No new posts Finding IMS resource blocker after se... Hooman24 IMS DB/DC 1 Wed Aug 16, 2017 9:17 pm
No new posts Need to track the CICS transaction fr... sam8051 CICS 3 Mon Aug 07, 2017 3:11 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us