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

Program for if condition, PROGRAM FOR IF :   We have to write a progr...

PROGRAM FOR IF :   We have to write a program to check whether the given number is ODD or EVEN. Identification division. Program- id. Ifst. Environment division.

Example of special-names - configuration section, Example of Special-names:...

Example of Special-names: Consider the illustration: Let the SPECIAL-NAMES paragraph be as shown: SPECIAL-NAMES. CHANNEL 1 IS PAGE-TOP. The Channel is related with the t

Close statement - sequential files, CLOSE statement: The simplified sy...

CLOSE statement: The simplified syntax of the CLOSE statement is as shown below:   CLOSE          file-name-1   [WITH   LOCK   ]                         [  , file-

Comparison of nonnumeric operands - relational condition, Comparison of Non...

Comparison of Nonnumeric Operands: A nonnumeric operand can be compared to the other nonnumeric operand according to the rules as shown below: (i) Fields of Equal Sizes:

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

Blank insertion and zero insertion, B (Blank Insertion) : The occurren...

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:

Occurs clause - program, OCCURS CLAUSE - PROGRAM: We have to write a p...

OCCURS CLAUSE - PROGRAM: We have to write a program to demonstrate the occurs clause. Get names of the students and show them on the screen.  identification division.

Size - picture clause, Size: The number of characters or digits needed...

Size: The number of characters or digits needed to store the data item in the memory in termed as the Size of the data item. All the 4 general characteristics explained can

Valid and invalid word - cobol words, Valid and Invalid Word - Cobol words:...

Valid and Invalid Word - Cobol words: Valid Word             Invalid Word & Reason emp-sal                  -pay   ( it starts with a hyphen)  TOTAL MARK (blank space em

Compute verb, COMPUTE VERB: The COMPUTE verb is very powerful. All the...

COMPUTE VERB: The COMPUTE verb is very powerful. All the evaluations performed by the other 4 verbs can also be completed easily by using the COMPUTE verb. Its normal format i

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