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
What the difference is between continue and next sentence?
What are the different rules for performing sort operation?
Why occurs cannot be used in 01 level in COBOL?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Write down the divisions of cobol program?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
how do you reference the fixed unblock file formats from cobol programs
How are the next sentence and continue different from each other?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Difference between cobol and cobol-ii?
What are the pertinent COBOL
Why did you choose to work with ibm mainframe cobol programming?
how do you define single dimensional array and multidimensional array in your cobol?