Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...The forum looks great! You guys have done a fantastic job on arranging things there...Your site is very precise and fun to visit..."

Geography

Where in the world do Tek-Tips members come from?

CICS Application VSAM Log dataset doesn't show the updates.

Mfcics (Programmer)
27 Apr 05 10:42
Hi,

The updates that are made to one of the VSAM datasets using CICS application doesn't show the updates when I browse it in TSO(Still the file is allocated to CICS). But when I copy that dataset to an other VSAM file in TSO, the updates are seen. Does anyone knows why is it that way ?

Cheers,
Som.
stevexff (Programmer)
28 Apr 05 3:23
May be a buffer issue. Although updates always get logged and the logs flushed to disk, they may not get written to the actual dataset until the buffer gets flushed, which may be some time later. There are a lot of factors (what kind of buffer pools are used, whether VSAM is in its own address space, what the shareoptions are for the file.
Mfcics (Programmer)
28 Apr 05 5:16
Thank you for your reply.
It is a ESDS dataset defined with (2,3) share options.
I am not sure how to find out what buffer pools are used and whether it is using its own address space or not. I have just pasted here the allocation attributes for this dataset.

Average LRECL ===> 600 Owner ===> (NULL)
Maximum LRECL ===> 1795 Creation Date ===> 2004.134
Total records ===> 287 Expiration ===> 1999.999
Retrieved ==> 479 Update ===> 2005.118 02.58.39
NSPND NERAS RUS Storage class ===> S1
UNORD SPEED SHR(2,3) Management ===> USR1
Data class ===> (NULL)
Data space usage -TRACKS- KILOBYTES - CA's - - CI's - percent
Allocated space 750 37500 50 3750
High used space 15 150 1 15 0.4
CI Size ===> 10240 Allocation ===> CYLINDER
CIs per CA ===> 75 Primary ===> 50
Block size ===> 10240 Secondary ===> 20
Block/Track ===> 5 Volume ===> CDAP19
Tracks/CA ===> 15 Volume count ===> 1
Buffer space ===> 20480 Extents ===> 1
stevexff (Programmer)
5 May 05 5:40
ESDSs are basically sequential files done over into VSAM. Although you can update in place using explicit RBAs, it is more usual to just append records to the end. What constitutes 'the end' depends on the SHAREOPTIONs. Your (2,3) basically means that you can have one writer and multiple readers. Unless you change this to (4,3) the readers will not see the new records until the file is closed by the writer, which updates the high used RBA in the catalog. But DON'T change it to (4,3), as the way this is implemented disables all buffering and forces a real I/O every time the dataset is read or written. This is a recipe for really crap performance, and not what we like to see in an online system.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close