IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is the significance of having a ESDS with "FIRST R


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arulraj_samuel

New User


Joined: 05 Mar 2007
Posts: 6
Location: Chennai

PostPosted: Tue May 13, 2008 6:24 pm
Reply with quote

Hi,

What is the significance of having a ESDS with "FIRST REF" option? Will it allow updating an ESDS as an inquiry is done.

Arul
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue May 13, 2008 6:55 pm
Reply with quote

Where is "FIRST REF" mentioned in the IDCAMS manual ?
Back to top
View user's profile Send private message
mytags

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Wed May 14, 2008 9:40 am
Reply with quote

Hi Arul,
Can you please post question with full details?
hari
Back to top
View user's profile Send private message
arulraj_samuel

New User


Joined: 05 Mar 2007
Posts: 6
Location: Chennai

PostPosted: Thu May 15, 2008 5:06 pm
Reply with quote

Hi Hari,

My requirement is to process a ESDS file thru Batch Jobs, ESDS file under discussion is allocated to CICS region as well. So any updates by online region to this file may be missed out since the file will be occupied Batch Job. To avoid it, if we have the ESDS closed with "Open with First Ref" option, then any update to the ESDS file while the batch job is in progress can be captured. Here the significance of "Open with First Ref" option is not clear.

Can you please explain it?

Arul
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu May 15, 2008 5:12 pm
Reply with quote

FIRST REF is not an IDCAMS option...
it' s a CICS dataset definition attribute...
it simply means ... if the dataset is closed open it the first time it is being used

google with "CICS OPEN WITH FIRST REF"
or look at the relevant CICS documentation
(something like Resource definition Manual)

strange... an ESDS cluster used under CICS icon_question.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu May 15, 2008 5:32 pm
Reply with quote

enrico,

back in the late 70's early 80's, we found that ksds files (with large records) were really slow. So, we would use an esds file for the master and use a ksds as the index to the esds. the ksds (index file) was small enough that most of it was available in memory, so acccess the ksds by key, use the rba (contained in data portion of ksds record) to access the esds.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Random read in ESDS file by using RBA JCL & VSAM 6
No new posts Newbie Stuck on "Duplicate Datas... TSO/ISPF 5
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
No new posts VSAM ESDS File to store large data 4GB JCL & VSAM 5
Search our Forums:

Back to Top