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 an in line perform? When would you use it? Anything else you wish to say about it.

1020


Are you comfortable in cobol or jcl?

988


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

1185


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1317


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2077


Name some of the examples of COBOl 11?

3082


How do we get current date from system with century in COBOL?

1320


Define cobol?

1312


What is difference between static and dynamic call in cobol?

1301


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1054


How many bytes S(8) comp field occupy and its maximum value?

2089


what is amode(24), amode(31), rmode(24) and rmode(any)?

1092


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4119


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

1120


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3092