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 / ramanujam

it may be filled with null values. Junk charecters.
Due to before writing data it has to initialize.

That is the reason it is showing junk charecters.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1212


A table has two indexes defined. Which one will be used by the SEARCH?

1291


Are you comfortable in cobol or jcl?

1063


What is the problem of ordered sequential files access?

1175


What kind of error is trapped by on size error option?

1255


Write a cobol program making use of the redefine clause.

1193


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

1254


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

1479


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3241


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2560


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2485


What is amode(31)

1183


how do you reference the ksds vsam file formats from cobol programs

1203


What is perform what is varying?

1187


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

1601