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
Name the divisions, which are available in a cobol program?
What is a SSRANGE and NOSSRANGE?
How can you get the ksds file records into your cobol program?
Difference between array and sub-script ?
What is amode(24)?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
explain sorting techniques in cobol program?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What type of SDLC u followed? Why?
What is the difference between goback, stop run and exit program in cobol?
How do you define a variable of comp-1 and comp-2?
Can we change the password using ALTER? anyone tried and changed?
What is the difference between structured cobol programming and object alternativelyiented cobol?
HOw can I get the negative sign while deduct high value from low value
how to refer the data field?