how to access vsam files in cobol and how to differentiate
that this is ESDS file



how to access vsam files in cobol and how to differentiate that this is ESDS file..

Answer / javiad

In order to access VSAM file in a cobol program, we need to
code oransiation, access and rec key in the file descrption.

For ESDS add prefix AS- to the DD Name.

Is This Answer Correct ?    20 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is an explicit scope terminator?

3 Answers  


I had 100 records and i want to execute last three records by using cobol programming?what will be coding?

4 Answers   IBM,


Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.

4 Answers  


In COBOL "BEFORE" advancing is there or not ?

3 Answers  


hw to create 3 dimensional array & hw to access it?

1 Answers  






I know my query will return more than one row but I don't want cursor what should I do?

1 Answers  


I have a File that has duplicate records. I need only those records that occur more than thrice.?

3 Answers   IBM, Wipro,


Suppose i want to declare a binary comp fild of 7 byte .how to write?

6 Answers   IBM,


A s9(4). B v9(4) value 0.21 can i move this?

3 Answers  


Why there is no questions in this column?

6 Answers  


What guidelines should be followed to write a structured cobol prgm?

0 Answers  


what is the coding difference between COBOL and CICS.

8 Answers   Cap Gemini,


Categories