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

I have a source program compiled with Cobol-2. The output
file has a record length of 100 defined in the program but
a record of 60 bytes getting written into it. i.e. The rest
of 40 bytes I am not Writing anything. But it by default
puts some values into the last 40 bytes. However it does
not impact anything. But when Compiled the module with
Enterprise Cobol the last 40 bytes were spaces as fillers.
Can anyone explain?

Answer Posted / sivakumar sekharannair

I will try to answer as per my understanding on the
behaviour.
With cobol-2 junk values- This is because the the 40 bytes
are not properly initialized and so the system puts some
junk values.
With enterprise cobol - spaces- I beleive that the
enterprise cobol before using an work arean intialize it by
itself and then use it. that is the reason why the unused
40 bytes had spaces.
My answer is just an assumption

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

2228


What are the various section in data division and briefly explain them.

1192


What are declaratives and what are their uses in cobol?

1207


Mention the guidelines to write a structured cobol program?

1101


What is rmode(24)

1154


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1365


What is Pic 9v99 Indicates in COBOL?

1270


what is search and searchall?what is the diffrence between them?give an best example?

6842


What is the difference between PIC 9.99 and 9v99 in COBOL?

1338


In which area will you utilize 88 level items in cobol?

1167


What is the difference between PIC 9.99 and PIC9v99?

1348


What is amode(31)

1182


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1157


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.

4175


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2479