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 can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What is rmode(any) ?
What rules are to be followed while using the corresponding options?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Write the code to count the sum of n natural numbers.
State the various causes of s0c1, s0c5 and s0c7.
Why occurs cannot be used in 01 level in COBOL?
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 Global and External Variables?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How do you reference the fixed block file formats from cobol programs
How do define dynamic array in cobol.
How do we get current date from system with century in COBOL?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?