Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


in a indexed file what is procedure for read the records
from 12 to 18. please give the code example

Answers were Sorted based on User's Feedback



in a indexed file what is procedure for read the records from 12 to 18. please give the code exampl..

Answer / santhosh vayathuri

use fallowing code

file-control
organization is indexed.
access mode is dynamic
record key is eno


procedure division

move 12 to eno


perform readpara until fnd = yes

stop run.

readpara.
read file1
if eno = 18
move 'yes' to fnd
end-if.

Is This Answer Correct ?    2 Yes 1 No

in a indexed file what is procedure for read the records from 12 to 18. please give the code exampl..

Answer / satish

it is dynamical acess.using start verb it is done

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is static and dynamic call in cobol?

0 Answers  


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

1 Answers  


what are the isolation levels and where we use it in the db2 program

3 Answers   TCS,


Can we use redefine clause in occurs clause?

10 Answers  


what is the purpose of linkage section?

10 Answers  


How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one

10 Answers   IBM,


how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it

2 Answers  


wht is load module and object module ?

2 Answers   DELL, TCS,


how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........

4 Answers   Wipro,


HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?

2 Answers   Cap Gemini,


what are decleratives in cobol?

0 Answers   GGG, Satyam,


What is the difference between a binary search and a sequential search what are the pertinent cobol?

0 Answers  


Categories