Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Ways to share data between Cobol and ... Benchwarmer Java & MQSeries 3 Thu May 10, 2018 9:16 pm
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 5 Sat Apr 14, 2018 1:58 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us