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
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is amode(31)
What are 77 levels used for?
Write a cobol program making use of the redefine clause.
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Which mode is used to operate the sequential file?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
how to refer the data field?
How to know whether the module is dynamical or statistical?
Which is not true about evaluate statement
) what is the difference between AID and HANDLE AID?
For rewrite, why is it mandatory that file needs to be opened?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.