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 does EXIT do ?

3 Answers   Deloitte,


How you can delete a record from a ps file in cobol?

1 Answers  


There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?

2 Answers  


How is sign stored in a COMP field ?

3 Answers   Accenture,


HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?

1 Answers  


COMP?

2 Answers  


What is the difference between PIC 9.99 and 9v99?

7 Answers  


What is level 66 used for ?

3 Answers   TCS,


What is the Importance of GLOBAL clause According to new standards of COBOL?

2 Answers   Infosys,


what is the maximum error code in mainframe

2 Answers  


How to read a record from bottom of a file which is indexed by 'A'.

4 Answers   Oracle,


after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)

7 Answers   Allianz, Wipro,


Categories