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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm


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