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 the significance of having a ESDS with "FIRST R

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: What is the significance of having a ESDS with "FIRST R
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: 8593
Location: Back in jolly old England

PostPosted: Tue May 13, 2008 6:55 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: What is the significance of having a ESDS with &qu
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Thu May 15, 2008 5:12 pm    Post subject: Reply to: What is the significance of having a ESDS with &qu
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    Post subject:
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    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 Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts Multi row fetch - "for read only... Nileshkul DB2 3 Sun Aug 14, 2016 12:52 am
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm
No new posts Need to show date in "DYYMMDD.TH... deepak_shrivastava DFSORT/ICETOOL 2 Tue Jan 05, 2016 7:15 pm


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