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 change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Explain how you can characterize tables in cobol?
For rewrite, why is it mandatory that file needs to be opened?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How do define dynamic array in cobol.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
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 a report item?
Why would you use find and get rather than to obtain?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What are all the divisions of a COBOL program?
how do you define single dimensional array and multidimensional array in your cobol?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?