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 many bytes S(8) comp field occupy and its maximum value?

2144


example for sub strings ? and refernce modifications whit output pls

2318


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2401


What is amode(31)

1175


Why did you choose to work with ibm mainframe cobol programming?

1114


Explain about different table spaces.

1108


What are literals?

1137


how can i see junk values in dclgen or in hostvariable of comp ?

3003


What the difference is between continue and next sentence?

1172


Name some of the examples of COBOl 11?

3143


What is redefines clause in COBOL?

1295


What are the access modes of START statement?

1273


What is the use of intialize verb?

1256


How do you reference the following file formats from cobol programs?

1164


What is rmode(any) ?

1270