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


If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially?

For example :
Input File
01
02
03

Para 900
Read infile
Display Infile rec
Read infile
Display infile rec
Read infile
Display infile rec.

What will be the output?

Answers were Sorted based on User's Feedback



If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read ..

Answer / ameins

It will read three consecutive records.

Is This Answer Correct ?    12 Yes 2 No

If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read ..

Answer / ??????

It will read the same record three times.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

what is the purpose of linkage section?

10 Answers  


what is subscript in cobol?give realtime example?

2 Answers   Wipro,


Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .

4 Answers   IBM, Syntel, TCS,


how can u redefine picx(10) with pic 9(6).

3 Answers   TCS,


COMP-3 field occupy ?

8 Answers  


how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas

3 Answers   IBM,


how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0

4 Answers   TCS,


how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


What is the mode in which you will OPEN a file for writing?

4 Answers  


consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above

3 Answers   TCS,


How arrays can be defined in COBOL?

0 Answers  


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

0 Answers  


Categories