Rules for apply for the condition name, COBOL Programming

Assignment Help:

Rules for apply for the condition name:

The rules below apply for the condition name.

(i) The Condition names should be explained at level 88. The level number starts in margin A or any place after it. The condition name should begin from the margin B or any position after it. There should be at least one space between the level number and condition name.

(ii) The general rules for naming a data item can also apply in the case of the condition name.

(iii) If similar condition name is used in more than one place, the condition name should be qualified by the name of its conditional variable.

(iv) The name of the conditional variable can be used as the qualifier for any of its condition names. When the reference to a conditional variable needs qualification or subscripting, the similar combination of qualification or subscripting should also be used for the related condition name.

(v) The values specified throughout the VALUE clause in the condition name entry should not conflict with the data description of the conditional variable. The literal in the VALUE clause can either a numeric literal, non numeric literal or the figurative constant.

(vi) When the THRU/THROUGH phrase is used, literal - 1 should be less than literal - 2 and literal - 3 must be less than the literal- 4.

(vii) The conditional variable can be a group item or an elementary item. Though, it cannot be the other condition name, or a 66- level item or a group containing the JUSTIFY clause, or the SYNCHRONIZED clause or the USAGE clause other than DISPLAY. 


Related Discussions:- Rules for apply for the condition name

Level numbers - cobol programming, LEVEL NUMBERS: The COBOL makes use ...

LEVEL NUMBERS: The COBOL makes use of the level number concept to explain the hierarchical data structure. A level number is a 2 digit number. The permitted level numbers a

Occurs, what does it used

what does it used

Program for compute verb, PROGRAM FOR COMPUTE VERB: We have to write a...

PROGRAM FOR COMPUTE VERB: We have to write an easy program to elaborate the COMPUTE verb.  Identification division. Program- id. compverb. Environment division. Da

Group item as operand in the relational condition, Group Item as Operand in...

Group Item as Operand in the Relational Condition: Whenever an operand of a relational condition is the group item, the item is then considered to be an alphanumeric field. Th

Compound condition, COMPOUND CONDITION: The two simple conditions can ...

COMPOUND CONDITION: The two simple conditions can be connected by the logical operators AND or OR to form a compound condition (also termed as combined condition). When two co

Multi-dimensional tables, MULTI-DIMENSIONAL TABLES: The type of table ...

MULTI-DIMENSIONAL TABLES: The type of table which has been considered above is known as one-dimensional table. Whenever a table is such that each of its elements in turn is a

Close statement, CLOSE STATEMENT: When the processing of a file is com...

CLOSE STATEMENT: When the processing of a file is completed, then the file may be closed. This is completed with the help of the CLOSE-verb. The form of the CLOSE statement is

Search verb, SEARCH VERB: The SEARCH verb is used to position elements...

SEARCH VERB: The SEARCH verb is used to position elements in one-dimensional tables. Let us consider the following problem. Assume that each element of a table consists of thr

Program for simple perform, PROGRAM FOR SIMPLE PERFORM: We have to wri...

PROGRAM FOR SIMPLE PERFORM: We have to write a program to elaborate simple PERFORM statement Identification division. Program- id.  Perf1. Environment division. Da

Introduction to cobol, Introduction to COBOL: In the year 1959, a new ...

Introduction to COBOL: In the year 1959, a new language named the COBOL ( CO mmon B usiness O riented L anguage) was introduced remembering the business purpose application

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd