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 the compute verb? How is it used?
IF I mention stop run in CICS what happens?
What are the rules of the move verb?
What are the different open modes available in cobol?
What is perform what is varying?
When is inspect verb is used in cobol?
What is report-item in COBOL?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between goback, stop run and exit program in cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Name the sections present in data division.
What are declaratives and what are their uses in cobol?
Are you comfortable in cobol or jcl?
Why would you use find and get rather than to obtain?