Negated simple condition, COBOL Programming

NEGATED SIMPLE CONDITION:

Any of the easy condition explained can be preceded by the logical operator NOT. The consequence of placing the operator NOT before an easy condition is to reverse the value of the condition. It might be seen that the operator NOT can be used in 2 ways. In easy conditions it can be used as a part of the condition. It can also be used to precede an easy condition to make it a negated simple condition. An illustration of the first use may be DEPOSIT NOT LESS THAN 500.00 whereas an illustration of the second use is Not DEPOSIT LESS THAN 500.00. Of course, in this situation, both the circumstances mean the similar thing and can be used in either form. What is the role of the operator NOT. In the previous situation NOT is the part of a relational operator and in the latter case it is a logical operator. Although, NOT should not precede a simple condition which includes NOT as a part of it.

 

 

Posted Date: 10/17/2012 1:45:05 AM | Location : United States







Related Discussions:- Negated simple condition, Assignment Help, Ask Question on Negated simple condition, Get Answer, Expert's Help, Negated simple condition Discussions

Write discussion on Negated simple condition
Your posts are moderated
Related Questions
SIGN CONDITION:   The sign condition establishes whether or not the algebraic value of an operand is negative, positive or zero. The operand can be either the numeric identif

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

TO WRITE A QUADRATIC EQN ROOTS ARE COMPLEX IN COBOL PROGRAM

Evaluate is like a case statement & Evaluate  stamenet can be used to replace nested Ifs. The difference b/w EVALUATE and case is that there is no 'break' is required for EVALUATE

we have input file ,record layout is EMP ID (6 char) , EMP NAME (20 char), Designation (3 char),Salary (5 digit) Base Branch (10char) Grade (3 Alphanumeric). This is the input file

BLANK WHEN ZERO: BLANK WHEN ZERO is an editing clause that may be used along with a picture. This will set the whole data item to blanks of its value is equal to zero. Though,

Name the divisions in a COBOL program are given below DENTIFICATION DIVISION DATA DIVISION ENVIRONMENT DIVISION PROCEDURE DIVISION.

FILE CHARACTERISTICS: The task of file handling is the responsibility of the system software termed as IOCS (Input-Output control system). Record Size: We know that th

Plus Sign - edit characters for numeric data: + (Plus Sign) : A plus sign is alike to minus sign except that when the item is positive, +sign will be inserted rather th

START STATEMENT: The START statement places the files to the initial logical record whose record key satisfies the condition specified by the KEY phrase. The access mode shoul