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
Difference between array and sub-script ?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are literals?
How to know whether the module is dynamical or statistical?
how to access the file from prodution from changeman tool and to submit a file to production
Write the code implementing the perform … varying.
How do you define a variable of comp-1 and comp-2?
What is difference between static and dynamic call in 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?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How you can read the file from bottom?
What is the difference between binary search and sequential search?
What is link edit in cobol?
What is the difference between comp and comp-3 usage?
) how do u code after getting data?