Can we initialize a BDAM file, if yes - how?

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Post Reply
Subhash Chander
Registered Member
Posts: 20
Joined: Sun Jul 21, 2013 4:56 am

Can we initialize a BDAM file, if yes - how?

Post by Subhash Chander »

Hi,

I think for writing records into a new BDAM file we have to initialize it, I tried initializing BDAM data set by inserting and deleting records using FILE-AID and executed the program but it fails with SYNAD error.

Can anybody help in knowing how to initialize a BDAM file in general or using FILE-AID?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Can we initialize a BDAM file, if yes - how?

Post by Robert Sample »

What language is the program you are attempting to execute? Enterprise COBOL, for example, does not support the use of BDAM files in any way and you MUST use VSAM RRDS instead of BDAM if you are writing Enterprise COBOL code. I believe you can still access BDAM files in HLASM, but I would have to research that in the manual since I am not sure about it.
Subhash Chander
Registered Member
Posts: 20
Joined: Sun Jul 21, 2013 4:56 am

Re: Can we initialize a BDAM file, if yes - how?

Post by Subhash Chander »

I was thinking to use COBOL and did a research and came to know that you're correct. Apart from HLASM, is there no other language to support BDAM?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Can we initialize a BDAM file, if yes - how?

Post by Robert Sample »

I believe Enterprise PL/I regional files are BDAM but I cannot test that at this time.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”