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 ?

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

How to print 10 to 1 if the input have only 10 digit number?

1262


What is a scope terminator give example?

1112


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

2394


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1329


How to remove 2 duplicate records and copy only one using job control language?

1220


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

3234


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1300


how do you reference the variable unblock file formats from cobol programs

1328


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2011


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2375


What is the difference between binary search and sequential search?

1090


Explain what you understand by passing by value.

1155


What is the difference between goback, stop run and exit program in cobol?

1591


What are various search techniques in cobol? Explain.

1071


What is the difference between structured cobol programming and object alternativelyiented cobol?

1249