i have a variable block which is used in my cobol program
as input file having records of 4080 after compilation
while runing the program im getiing file attribut mismatch
and it is saying tht the record length of the file is 4084
can any one knw the answer how to reslove it ?
Answer Posted / ravi
For Variable length file(VB) first 4 characters are used to
store the length of each record. So if your record contains
4080 then actual length is 4080 + 4 = 4084.
So to resolve abend --- increase record length to 4084.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How do we get current date from system with century in COBOL?
What are the access modes of START statement?
Write a cobol program making use of the redefine clause.
HOw can I get the negative sign while deduct high value from low value
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the Purpose of Pointer in the string?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
how do you reference the rrds file formats from cobol programs
how do you reference the printer file formats from cobol programs
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is cobol?
What are the different types of condition in cobol and write their forms.