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

s9(18) comp-3:: What is the size of memory it takes internally?

4 Answers  


Describe the cobol database components?

0 Answers  


01 b pic +9(4) How many bytes it will take for storage???

2 Answers  


01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

11 Answers   FirstApex, NIIT,


01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?

3 Answers   Patni,






What is wrong with the following data declaration? 01 W-DATE PIC X(6). 05 DD PIC 99. 05 MM PIC 99. 05 YY PIC 99. (a) Nothing is wrong. (b) Under W-DATE all level 05 items are having a PIC 99 but level 01 has PIC X(6). (c) PIC can't be specified for a group item. (d) DD, MM, and YY are invalid datanames.

6 Answers   Mphasis, TCS,


What is normalisation?

2 Answers   IBM,


i need a small 3d program using inline and outline.

0 Answers  


Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.

3 Answers  


if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error

8 Answers   Cap Gemini,


What is the use of EVALUATE statement?

4 Answers   Tesco,


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

0 Answers  


Categories