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

In COBOL, what is the different between index and subscript?

1222


What are the different rules to perform a Search?

1076


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1183


What are the rules of the move verb?

1239


What is redefines clause in COBOL?

1274


how do you reference the rrds file formats from cobol programs

1549


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1225


What are the pertinent COBOL

2550


how to move the records from file to array table. give with code example

2652


Difference between array and sub-script ?

1633


Give some examples of command terminators?

1237


Which division and paragraphs are mandatory for a COBOL program?

1251


What are various search techniques in cobol? Explain.

1053


Explain about different table spaces.

1079


What are the different open modes available in cobol?

1174