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?

Answer Posted / ameins

It will read three consecutive records.

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

853


Explain what you understand by passing by value.

1134


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

1060


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7854


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9070


How many sections are there in data division in COBOL?

1113


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1104


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1228


How to know whether the module is dynamical or statistical?

1121


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1139


What is the difference between external and global variables in COBOL?

1437


What is amode(31)

1152


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

1084


Discuss about changing dataset name in proc.

1215


What rules are to be followed while using the corresponding options?

1049