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

IN THE CASE OF FB , IT WILL FILL SPACE I.E, FILLER, BUT IN
VARAIBLE MODE YOU CAN'T SEE SPACE OR FILLER.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between binary search and sequential search?

643


What the difference is between continue and next sentence?

663


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


What are the different rules for performing sort operation?

763


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

932






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

732


State the various causes of s0c1, s0c5 and s0c7.

665


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.

3720


What is rmode(24)

680


What is rmode(any) ?

686


how to refer the data field?

1812


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

691


Define static linking and dynamic linking.

669


Write a program to enter and display the names of students in a class using the occurs clause.

654


Write down the divisions of cobol program?

671