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
What are the cobol coding sheets?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Write the code to count the sum of n natural numbers.
What is comp-1 and comp-2?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
In which area will you utilize 88 level items in cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Write down the divisions of cobol program?
Name the divisions, which are available in a cobol program?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What type of SDLC u followed? Why?
What are various search techniques in cobol? Explain.