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

BDAM vs sequential dataset


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

New User


Joined: 05 Mar 2009
Posts: 46
Location: Hyderabad

PostPosted: Sat Sep 12, 2009 1:18 am
Reply with quote

Can anyone tell me what is the difference between sequntial data set and a BDAM dataset.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Sep 12, 2009 1:28 am
Reply with quote

Hello,

BDAM is used for direct access rather than sequential access.

The millionth record in a 5million record file can be read in one read rather than reading all of the records before it.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Sat Sep 12, 2009 2:30 am
Reply with quote

Also, BDAM is no longer supported by COBOL. It's function, for the most part, has been replaced by RRDS VSAM files. Some vendors still use it. I think Panvalet files are BDAM. Also, I think IAM files, although simulating VSAM, are actually BDAM files.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Sep 12, 2009 3:02 am
Reply with quote

Hello,

The biggest use of BDAM that i've seen is in various database products.
Back to top
View user's profile Send private message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 46
Location: Hyderabad

PostPosted: Tue Sep 15, 2009 8:30 am
Reply with quote

Hi All,

Thank you very much for your clarifications, I have one more doubt.

What is the difference between BDAM and VSAM , functionality of both looks similar to me. Is there any difference.Please clarify.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Sep 15, 2009 8:41 am
Reply with quote

Virtual Storage Access Method files can be Entry Sequenced Data Sets (similar to BSAM or QSAM), Relative Record Data Sets, Key Sequenced Data Sets (similar to the old ISAM files), or Linear Data Sets. Basic Direct Access Method files are most like RRDS. Google is your friend.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Sep 15, 2009 5:16 pm
Reply with quote

Optionally, BDAM uses hardware keys. Hardware keys are less efficient than the optional software keys in virtual sequential access method (VSAM).
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 15, 2009 9:14 pm
Reply with quote

Hi Anuj,

Quote:
Hardware keys are less efficient than the optional software keys in virtual sequential access method (VSAM).
Maybe (i've not heard that particular thought before), but bdam (in every case that i've worked with) far outperforms vsam . . .
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Sep 15, 2009 10:01 pm
Reply with quote

Quote:
...bdam (in every case that i've worked with) far outperforms vsam . . .
When I worked at a shop that converted from OS/VS COBOL to COBOL II, and therefore BDAM to RRDS VSAM, the BDAM files that some folks were used to had to be "pried from their cold, dead hands". icon_lol.gif
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top