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 to print 10 to 1 if the input have only 10 digit number?
What is a scope terminator give example?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How to remove 2 duplicate records and copy only one using job control language?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
how do you reference the variable unblock file formats from cobol programs
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between binary search and sequential search?
Explain what you understand by passing by value.
What is the difference between goback, stop run and exit program in cobol?
What are various search techniques in cobol? Explain.
What is the difference between structured cobol programming and object alternativelyiented cobol?