What is BDAM?

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Previous topicNext topic
User avatar

Topic Author
Anuj Dhawan
Posts: 2624
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Zodiac: Sagittarius

What is BDAM?

Post by Anuj Dhawan » Sun May 26, 2013 2:25 pm

Basic Direct Access Method (BDAM) arranges records in any sequence your program indicates, and retrieves records by actual or relative address. If you do not know the exact location of a record, you can specify a point in the data set where a search for the record is to begin. Data sets organized this way are called direct data sets.

BDAM is no longer supported by COBOL. however as stated earlier, BDAM allows retrieval of data by relative block number. With BDAM, you have a method to generate the block number and that block contains the data record. There is no key required, you can read the one block of data you need, but the only way to sequentially access the blocks is one by one.

It's function, for the most part, has been replaced by RRDS VSAM files. Some vendors still use it. Unless 'am mistaken, Panvalet files are BDAM. Also, I think IAM files, although simulating VSAM, are actually BDAM files.


Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.

Previous topicNext topic