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 / ramanujam
it may be filled with null values. Junk charecters.
Due to before writing data it has to initialize.
That is the reason it is showing junk charecters.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
A table has two indexes defined. Which one will be used by the SEARCH?
Are you comfortable in cobol or jcl?
What is the problem of ordered sequential files access?
What kind of error is trapped by on size error option?
Write a cobol program making use of the redefine clause.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the difference between external and global variables in COBOL?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is amode(31)
how do you reference the ksds vsam file formats from cobol programs
What is perform what is varying?
What is the difference between goback, stop run and exit program in cobol?