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 / prashanth
IN THE CASE OF FB , IT WILL FILL SPACE I.E, FILLER, BUT IN
VARAIBLE MODE YOU CAN'T SEE SPACE OR FILLER.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
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.
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What the difference is between continue and next sentence?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What are 77 levels used for?
How many sections are there in data division in COBOL?
Why did you choose to work with ibm mainframe cobol programming?
how do you reference the ksds vsam file formats from cobol programs
what is amode(24), amode(31), rmode(24) and rmode(any)?
How you can characterize tables in cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is a SSRANGE and NOSSRANGE?
HOw can I get the negative sign while deduct high value from low value
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.