how to access vsam files in cobol and how to differentiate
that this is ESDS file
Answer Posted / 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 View All Answers
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is the LINKAGE SECTION used in COBOL?
What is cobol?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What do you understand by psb and acb?
How to know whether the module is dynamical or statistical?
What is Pic 9v99 Indicates in COBOL?
what is the use of outrecord?
Can we redefine the field of x(200) to less than 200?
Which Search verb is equivalent to PERFORM…VARYING?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
how do you reference the variable unblock file formats from cobol programs
What is the difference between structured cobol programming and object alternativelyiented cobol?
what are decleratives in cobol?