Conditions-name condition, COBOL Programming

Assignment Help:

CONDITIONS-NAME CONDITION:

 The condition name is an entity which itself is a condition and these can have either a true or false value. Though, a condition name cannot be defined separately. It should always be related to a data name known as the conditional variable. It may be defined in any part of the DATA DIVISION and should be placed instantly after the entry which defines the conditional variable. Here more than one condition names are related to the conditional variable. In that situation all the condition name entries should follow the entry defining the conditional variable.

The condition name entry identifies a single value or a set of values and/or a range of values for the conditional variable. Whenever it supposes any of these values the condition name becomes true. Or else, the condition name is set to false. It should be noted that it is not possible to set the value of a condition name explicitly.

The value of a condition name is always set implicitly depending on the present value of the conditional variable. The format for the condition name entry is as shown below.

1419_CONDITIONS-NAME CONDITION.png


Related Discussions:- Conditions-name condition

Data names and identifiers - cobol program, Data Names and Identifiers:   ...

Data Names and Identifiers:   The Data name provides reference to the storage space in the memory where the real value is stored. This value takes part in the operation whene

Minus sign - edit characters for numeric data , Minus sign - edit character...

Minus sign - edit characters for numeric data: The minus sign can appear either at the leftmost or rightmost location of the picture. If an item is negative, a minus sign will

Filler clause - cobol programming, FILLER CLAUSE: Consider the stateme...

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 "-"

Program for screen section with files, PROGRAM FOR SCREEN SECTION WITH FILE...

PROGRAM FOR SCREEN SECTION WITH FILES: identification division.   program- id.   environment division.          input-output section.   file-control.     select

Program for if -else, PROGRAM FOR IF -ELSE: We have to write a program...

PROGRAM FOR IF -ELSE: We have to write a program to check whether the given number is ODD or EVEN. You can use IF..ELSE. Identification division. Program- id. IfElse.

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

Simple sort verb, THE SIMPLE SORT VERB: The process of sequencing the ...

THE SIMPLE SORT VERB: The process of sequencing the records in some preferred manner is termed as sorting. The Sorting is done upon some key data item in the record. For illus

Illustration of indexed tables, Illustration of indexed tables: Index ...

Illustration of indexed tables: Index items defined through the INDEXED phrase of the OCCURS clause are one type of indexes. There can be other type of index items that are de

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