Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



i have a variable block which is used in my cobol program as input file having records of 4080 aft..

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

i have a variable block which is used in my cobol program as input file having records of 4080 aft..

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

Post New Answer

More COBOL Interview Questions

What are the functions like c or c++ in cobol?

2 Answers  


What type of SDLC u followed? Why?

0 Answers   IBM,


what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?

4 Answers   CSE, TCS, Wipro,


1.What is the default print format in cobol?

5 Answers   HSBC,


Explain what you understand by passing by value.

0 Answers  


can i use multiple when statements in search & search all ? justify ur answer?

2 Answers  


What is the difference between comp and comp-3 usage?

0 Answers  


What is the Purpose of Pointer in the string?

0 Answers  


what is linkcard in cobol?

1 Answers   TCS,


When search all is used in cobol program without sorted input data?

6 Answers   CGI, Principal Finance,


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference

3 Answers   IBM,


Categories