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

why do we use VSAM files instead of ordiary files


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
princeaggarwal

New User


Joined: 22 Feb 2007
Posts: 5
Location: Chandigarh

PostPosted: Thu Apr 05, 2007 1:46 pm
Reply with quote

VSAM files are for reason being used in Mainframe.
Back to top
View user's profile Send private message
vkphani

New User


Joined: 29 Oct 2003
Posts: 29

PostPosted: Thu Apr 05, 2007 1:52 pm
Reply with quote

1. You can have primary key in case of VSAM files.
2. You can not add or delete records in an ESDS file.
3. Faster access to data.
4. CICS supports only VSAM files.

and many more.
Back to top
View user's profile Send private message
vkphani

New User


Joined: 29 Oct 2003
Posts: 29

PostPosted: Thu Apr 05, 2007 1:53 pm
Reply with quote

5. You can directly go to a particular record in case of RRDS file.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Apr 05, 2007 1:57 pm
Reply with quote

Quote:
2. You can not add or delete records in an ESDS file.

Are you sure about this ?
Back to top
View user's profile Send private message
vkphani

New User


Joined: 29 Oct 2003
Posts: 29

PostPosted: Thu Apr 05, 2007 2:03 pm
Reply with quote

Quote:
Are you sure about this ?


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

Global Moderator


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

PostPosted: Thu Apr 05, 2007 2:03 pm
Reply with quote

Quote:

1. You can have primary key in case of VSAM files.
2. You can not add or delete records in an ESDS file.
3. Faster access to data.
4. CICS supports only VSAM files.


Point 1 - you can also have one or more alternate index(es) to acces the data via fields which are not the key of the base cluster.

Point 2 - In addition to the point raised in my previous post, ESDS can also be accessed via alternate index(es)

Point 3 - probably not since the introduction in RAID DASD technology.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top