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

I think you ppl are hitting on wrong direction for
answering this question. The question doesn't seem to be
asking how to resolve a junk character, instead it's asking
about the different behaviour of the same program in two
different versions of Cobol - COBOLII and Enterprise COBOL.
One is placing junk characters in the last 40 bytes and the
other one intialized it to spaces. Any possible answer from
anyone now...?

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1641


HOw can I get the negative sign while deduct high value from low value

2296


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2487


what is amode(24), amode(31), rmode(24) and rmode(any)?

1191


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

1225


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

1147


how do you reference the rrds file formats from cobol programs

1651


What is inspect in cobol ?

1349


how do you reference the variable unblock file formats from cobol programs

1374


what is the use of outrecord?

2269


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2181


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1299


Name some of the examples of COBOl 11?

3196


how to move the records from file to array table. give with code example

2723


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

2512