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 |
HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?
Why would you use find and get rather than to obtain?
if you give cylinder(1,1)how many cylinders it will be allocate?
i WANT ALL ERROR codes IN CICS and DB2
What is Static and Dynamic linking ?
Determine the total no of bytes in the following. 01 rec1. 02 a pic x(6) 02 b redefines a. 03 c occus 6 times pic 9. 02 d occurs 6 times pic 9. 03 e pic x(5) 03 f pic 999.
hi. This is Ram.i have one doubt.why can't we display comp-3 variables directly? let me answer quickly plez........
What is XDC ?
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
What is normalisation?
What is the difference between performing a SECTION and a PARAGRAPH?
can we redefine 77 level item is it possible