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: 8798
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: 8798
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Joining files with intermittent heade... SYNCSORT 1
No new posts INPFIL FILES, FNAMES examples SYNCSORT 7
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts JCL to merge two files side by side DFSORT/ICETOOL 3
No new posts Create a specific record/file based o... SYNCSORT 8
Search our Forums:


Back to Top