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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is inspect verb is used in cobol?

1304


Can a Search can be done on a table with or without Index?

1325


What is the usage of comp fields in cobol?

1222


What are various search techniques in cobol? Explain.

1105


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1294


In which area will you utilize 88 level items in cobol?

1204


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1225


What kind of error is trapped by on size error option?

1286


What is amode(31)

1211


How you can characterize tables in cobol?

1250


What is the difference between comp and comp-3 usage?

1250


How arrays can be defined in COBOL?

1291


what is difference between cobol and cobol/400

23058


What is cobol?

1286


explain sorting techniques in cobol program?

1236