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 / islam

the correct answer is : c (i.e. 1)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is redefines clause in COBOL?

1275


What is an in line perform? When would you use it? Anything else you wish to say about it.

1058


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1205


Write the code implementing the perform … varying.

1039


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

1130


How do you get the data to code the BMS macro?

1950


What are various search techniques in cobol? Explain.

1054


) How do u handle errors in BMS macro

2011


what happens if parmparameter passes zero bytes to the program

2114


Difference between cobol and cobol-ii?

1251


What is difference between static and dynamic call in cobol?

1359


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

1084


Write some characteristics of cobol as means of business language.

1126


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1151


Are you comfortable in cobol or jcl?

1026