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
IF I mention stop run in CICS what happens?
What is the difference between Global and External Variables?
Explain the configuration section of a cobol program with examples of syntax.
How to know whether the module is dynamical or statistical?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are the rules of the move verb?
Write down the divisions of cobol program?
How to print 10 to 1 if the input have only 10 digit number?
What is the usage of comp fields in cobol?
What is difference between static and dynamic call in cobol?
Why did you choose to work with ibm mainframe cobol programming?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What are the different rules to perform a Search?