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


Please Help Members By Posting Answers For Below Questions

What is the Purpose of POINTER Phrase in STRING command in COBOL?

723


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1916


) How do u handle errors in BMS macro

1512


Name the divisions, which are available in a cobol program?

687


Define cobol?

866






Write down the divisions of cobol program?

673


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1952


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2725


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

712


What are the pertinent COBOL commands?

2629


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


What is the difference between external and global variables in COBOL?

817


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2734


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?

5379