Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
BDAM vs sequential dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 42
Location: Hyderabad

PostPosted: Sat Sep 12, 2009 1:18 am    Post subject: BDAM vs sequential dataset
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

Site Director


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

PostPosted: Sat Sep 12, 2009 1:28 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sat Sep 12, 2009 3:02 am    Post subject:
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: 42
Location: Hyderabad

PostPosted: Tue Sep 15, 2009 8:30 am    Post subject: Reply to: BDAM vs sequential dataset
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    Post subject:
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

Senior Member


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

PostPosted: Tue Sep 15, 2009 5:16 pm    Post subject:
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

Site Director


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

PostPosted: Tue Sep 15, 2009 9:14 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us