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
How many bytes S(8) comp field occupy and its maximum value?
example for sub strings ? and refernce modifications whit output pls
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...)
What is amode(31)
Why did you choose to work with ibm mainframe cobol programming?
Explain about different table spaces.
What are literals?
how can i see junk values in dclgen or in hostvariable of comp ?
What the difference is between continue and next sentence?
Name some of the examples of COBOl 11?
What is redefines clause in COBOL?
What are the access modes of START statement?
What is the use of intialize verb?
How do you reference the following file formats from cobol programs?
What is rmode(any) ?