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 difference between goback, stop run and exit program in cobol?
HOw can I get the negative sign while deduct high value from low value
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
what is amode(24), amode(31), rmode(24) and rmode(any)?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
how do you reference the rrds file formats from cobol programs
What is inspect in cobol ?
how do you reference the variable unblock file formats from cobol programs
what is the use of outrecord?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Name some of the examples of COBOl 11?
how to move the records from file to array table. give with code example
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there