Insight Horizon Media
health and wellness /

What are 66 and 88 level used for in COBOL?

What are 66 and 88 level used for in COBOL?

In Cobol Level 66 is used for RENAMES clause and Level 88 is used for condition names.

What is level 66 used for?

RENAMES used to regroup the elementary items of a group item. RENAMES creates an alternative logical group from the group of elementary items. Special purpose level number 66 is used to specify the RENAMES clause.

How many levels are there in COBOL?

Level Number

Sr.No.Level Number & Description
202 to 49 Group and Elementary items
366 Rename Clause items
477 Items which cannot be sub-divided
588 Condition name entry

What is the use of 77 level in COBOL?

Level 77 is a special level number in COBOL which is used to declare independent data items; they are not subdivisions of other data items and are not subdivided themselves.

What are levels in COBOL?

A level-number is a one-digit or two-digit integer between 01 and 49, or one of three special level-numbers: 66, 77, or 88. The following level-numbers are used to structure records: 01. This level-number specifies the record itself, and is the most inclusive level-number possible.

What is PIC Z in COBOL?

The z in the PICTURE clause of Edited-price indicates the suppression of leading zeros. You can define numeric-edited data items to hold national (UTF-16) characters instead of alphanumeric characters. You use numeric-edited items primarily for displaying or printing numeric data.

What is 88 level used for in COBOL?

88 level number in COBOL is one of the most used declarations in mainframes development and it is considered as a special level number which is used to improve the readability of COBOL programs. As it gives a name to a condition, it is also called as ‘Condition Names’.

What is COBOL level?

Level Number plays most important role in the declaration of the variables in the application programming of COBOL. The level number specifies the hierarchy or levels of data entries/items. A level number begins a data description entry, a renamed or redefined item or a condition-name entry.

What are levels in Cobol?

What is level 88 in Cobol?

Level number 88 is used to declare these items and it is declared as a subordinate to another data item of level numbers 01 to 49. …

Can we redefine 01 level in Cobol?

REDEFINES is allowed in a level 01 entry in the File Section, but it will generate a warning message. The number of character positions described by prev-data-name need not be the same as the number of character positions in the subject of the REDEFINES clause.

What is level 49 in Cobol?

49 is used to declare elementary item identifiers of variable length – typically VARCHAR, LONG VARCHAR, VARGRAPHIC, and LONG VARGRAPHIC variables. When Level 49 is used, the group contains a 2 byte Length field followed by the actual field name (defined as PIC X(##) with ## being the maximum length).