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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm


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