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

Explain what you understand by passing by value.

1154


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2276


What is static and dynamic call in cobol?

1070


What is the difference between goback, stop run and exit program in cobol?

1591


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17880


Write down the divisions of cobol program?

1258


What is the difference between Call and a Link?

1198


What is report-item in COBOL?

1156


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

1233


Are you comfortable in cobol or jcl?

1049


What is the use of intialize verb?

1255


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

2677


What are the different rules to perform a Search?

1098


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1234


What is the usage of comp fields in cobol?

1188