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...

consider the following progrm statements
MOVE 0 TO SW.NO.OF.REC
PERFORM PRI-OUT UNTIL SW=1
DISPALY NO.OF.REC
STOP RUN
PRE-OUT
READ IN-FILE AT END
MOVE 1 TO SW
WRITE OUO-REC FROM IN-REC
ADD 1 TO NO.OF REC
if the IN-FILE contains 1000 records what value will be
displayedafter the
PERFORM is over?assume that N0.OF.REC has PIC 9(4)
a.1000
b.1001
c.1
d.none of the above since there is a syntex error

Answer Posted / satyaprem

the programmer need to pay attention to code ...syntax
error ..looks ans 1 but not true ...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can read the file from bottom?

1158


How can you get the ksds file records into your cobol program?

1100


What guidelines should be followed to write a structured cobol prgm?

1148


Can we change the password using ALTER? anyone tried and changed?

2021


For rewrite, why is it mandatory that file needs to be opened?

1109


Why occurs cannot be used in 01 level in COBOL?

1162


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

2213


How do you reference the following file formats from cobol programs?

1164


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3263


Which is not true about evaluate statement

2458


What is the difference between next sentence and continue in cobol programing language?

1223


How do you differentiate between cobol and cobol-ii?

1213


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2435


What is the problem of ordered sequential files access?

1164


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1243