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
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
) How do u handle errors in BMS macro
Name the divisions, which are available in a cobol program?
Define cobol?
Write down the divisions of cobol program?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What are the pertinent COBOL commands?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between external and global variables in COBOL?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?