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 ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / neha
And in addition to Ravi's answer you also have to mention
file as variable while defining the file.
| Is This Answer Correct ? | 3 Yes | 1 No |
i WANT ALL ERROR codes IN CICS and DB2
i am a btech cs 2009 passout. i am opting for mainframe course. is it good to do this course? pls. anyone suggest me
What is comp-1 and comp-2?
how many bytes does s9(7)COMP-3 field occupies?
how we can edit records in vsam data set and non vsam data sets
What is difference between comp & comp-4?
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
what is search and searchall?what is the diffrence between them?give an best example?
How are the next sentence and continue different from each other?
How you can delete a record from a ps file in cobol?
What is SQL Code -904 and -903 in DB2 And how to handle it?
01 a pic s9(5) occupies how many bytes ?