In COBOL, what is the LEVEL number used for in the data description entry (FD)?

  • To assign a priority level to the data item
  • To define the number of occurrences in an OCCURS clause
  • To indicate the level of nesting in nested programs
  • To specify the hierarchy of a record
The LEVEL number in COBOL's FD (File Description) entry is used to specify the hierarchy or level of a record. It indicates the position of a data item in the hierarchy of the record structure.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *