MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is Speed & Recovery in VSAM?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Rao
Beginner


Joined: 04 Apr 2004
Posts: 2
Topics: 1

PostPosted: Mon Jun 07, 2004 1:54 am    Post subject: What is Speed & Recovery in VSAM? Reply with quote

What is speed and recovery in VSAM?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Jun 07, 2004 5:05 am    Post subject: Reply with quote

Rao,

Speed/recovery are optional parameters when defining cluster or the Alternate Index.

SPEED]RECOVERY:

specifies whether storage allocated to the data component is to be preformatted before records are inserted. SPEED]RECOVERY applies only to initial loading.

When you specify RECOVERY, your initial load takes longer because the control areas are written initially with end-of-file indicators and again with your data records. When you specify SPEED, your initial load is quicker.

SPEED
specifies that the data component's space is not preformatted. Its space might contain data records from a previous use of the space, or it might contain binary zeros (its contents are unpredictable).

If the initial load fails, you must load the data records again from the beginning, because VSAM is unable to determine where your last correctly written record is. (VSAM cannot find a valid end-of-file indicator when it searches your data records.)

RECOVERY
specifies that the data component's control areas are written with records that indicate end of file. When a data record is written (during the initial load) into a control interval, it is always followed by a record that identifies the record that has just been written as the last record in the cluster.

If the initial load fails, you can resume loading data records after the last correctly written data record, because an end-of-file indicator identifies it as the last record.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rao
Beginner


Joined: 04 Apr 2004
Posts: 2
Topics: 1

PostPosted: Mon Jun 07, 2004 10:05 pm    Post subject: Reply with quote

Hi Kolosu,

Thanks for your fast response

Cheers,
Rao.P
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group