Rules for apply for the condition name, COBOL Programming

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. 

Posted Date: 10/17/2012 1:43:44 AM | Location : United States







Related Discussions:- Rules for apply for the condition name, Assignment Help, Ask Question on Rules for apply for the condition name, Get Answer, Expert's Help, Rules for apply for the condition name Discussions

Write discussion on Rules for apply for the condition name
Your posts are moderated
Related Questions
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

SIMPLE MERGE VERB: Like sorting, the merging of files is often required in different commercial application. It is likely to merge two or more files with the help of one MERGE

FILE-CONTROL: The FILE-CONTROL paragraph names each and every file and identifies the first medium through file control entries. The basic format of a file control entry is gi

Picture Clause: The picture clause explains the general characteristics of an elementary data item. These characteristics are elaborated below: Class: In COBOL the

/ (Slash Insertion): The edit character slash (/) also termed as virgule or stroke, may appear anyplace in the picture. When used, it will be inserted. More than one slash can

What is the difference between subscript and index

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

DELETE STATEMENT : The file should be opened in the I-O mode. If the access is SEQUENTIAL, the INVALID KEY phrase must be specified. Rather than, the last input-output state

FILLER CLAUSE: Consider the statements as shown below: 1)  01    f    pic     x(80)  value    all "-". This statement origins a line of 80 characters filled with "-"

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: