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

Write down the divisions of cobol program?

673


What are the pertinent COBOL

2051


What is a report item?

743


i need a small 3d program using inline and outline.

1642


What are the different open modes available in cobol?

722






what is search and searchall?what is the diffrence between them?give an best example?

5571


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2109


Which division and paragraphs are mandatory for a COBOL program?

712


What is the usage of comp fields in cobol?

662


Explain the configuration section of a cobol program with examples of syntax.

661


What is the difference between a binary search and a sequential search what are the pertinent cobol?

737


What is amode(31)

728


) How do u handle errors in BMS macro

1513


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

650


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

680