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...

WE HAVE 5 DIFFERENT RECORDING MODE IN COBOL.FIXED,
FIXEDBLOCK, VARIABLE, VARIABLEBLOCK AND UNDEFINED.
WHAT IS THE DIFFERENCE AMONG ALL AND WHICH TYPE OF FORMAT
SHOULD BE USED WHEN

Answer Posted / vijay

Hi as you specified we have five types of record formats

when u know exactly the length of record lay out then you
can specify fixed or fixed block.Then system will allocate
the fixed lenth for the record. when u enter data it takes
exactly fixed lenth as u specified, if u give data less
than the length specified also then system will allocate
the fixed lenth only . Memory will be wasted.

When you are not sure of record format i:e if u specify the
length of a record is x(156) , then record may be of 156
or it may be less than that.
more record length it wount accept,
same record lenth as specified accept ,
record which is of less than specified size accept.

here memory wount be wasted.System will allocate memory
based on record data u supply.

undefined format we usually use for load libs. we are not
sure how long the data will be. then we will specify
undefined.

Is This Answer Correct ?    21 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why occurs cannot be used in 01 level in COBOL?

1123


Difference between array and sub-script ?

1604


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

1279


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1062


What are the different rules of SORT operation?

1083


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1145


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1114


What is Pic 9v99 Indicates in COBOL?

1178


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1257


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

2159


Write a program that uses move corresponding.

1073


What is a scope terminator give example?

1050


What are literals?

1074


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1289


What is report-item in COBOL?

1094