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

Example of class condition, Example of Class condition: Let the BASIC-...

Example of Class condition: Let the BASIC-PAY be a data name in the card record defined with picture 9(5) V99. By reading the card we can test the value of the BASIC-PAY to ma

Perform with varying option, PERFORM WITH VARYING OPTION: The format i...

PERFORM WITH VARYING OPTION: The format is as shown below:

Illustration of simple sort verb, Illustration of simple sort verb: Il...

Illustration of simple sort verb: Illustration: Suppose that we have a card file with the following records description in the data division. The names of the work fil

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

Credit and debit sign - edit characters for numeric data, CR and DB (Credit...

CR and DB (Credit and Debit Sign): The two characters that is CR or DB symbol may appear only at the rightmost place of the picture. They are similar to the minus sign edit ch

Floating insertion - , Floating Insertion   The currency symbol ($) c...

Floating Insertion   The currency symbol ($) can emerge in multiples on the left-hand side of the picture. In this situation the character will be treated in similar way as t

Indexed tables, INDEXED TABLES: The OCCURS clause that is used to defi...

INDEXED TABLES: The OCCURS clause that is used to define tables can optionally have an INDEXED phrase. This phrase involves the names of data items which are to be used as sub

Block contains and records contains clause, BLOCK CONTAINS CLAUSE: Int...

BLOCK CONTAINS CLAUSE: Integer -1 of the BLOCK CONTAINS clause indicates the block size either in terms of records or in terms of characters. For illustration, BLOCK CONTAINS

If- else statement - cobol programming, IF ... ELSE STATEMENT: We are ...

IF ... ELSE STATEMENT: We are familiar with an easy form of the IF statement. The common form of the IF statement is as shown below: Each of the statement-1 and statem

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