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
What is inspect in cobol ?
what are decleratives in cobol?
Define cobol?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are the different open modes available in cobol?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What are declaratives and what are their uses in cobol?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
how do you reference the variable block file formats from cobol programs
Explain how to differentiate call by context by comparing it to other calls?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
what is the difference between COBOL2 AND COBOL390?
What are the access modes of START statement?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?