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 define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
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 the access modes of START statement?
What is the compute verb? How is it used?
How to print 10 to 1 if the input have only 10 digit number?
A table has two indexes defined. Which one will be used by the SEARCH?
What the difference is between continue and next sentence?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is perform what is varying?
What are the pertinent COBOL
Write a program to explain size error.
how do you reference the fixed unblock file formats from cobol programs
how do you reference the ksds vsam file formats from cobol programs
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?