Illustration of search verb, COBOL Programming

Illustration of Search verb:

To illustrate the other use of SEARCH verb, assume we wish to search the similar tab to find the number of persons whose deposited amount is more than 5000.00. For this we describe another data NO-OF-PERSONS in the DATA DIVISION with the picture say 99. The statements below in the PROCEDURE DIVISION will perform the preferred search.

MOVE ZEROS TO NO-OF-PERSONS

    SET A1 TO 1.

203_Illustration of Search verb.png

Posted Date: 10/18/2012 1:57:14 AM | Location : United States







Related Discussions:- Illustration of search verb, Assignment Help, Ask Question on Illustration of search verb, Get Answer, Expert's Help, Illustration of search verb Discussions

Write discussion on Illustration of search verb
Your posts are moderated
Related Questions
CLASS CONDITION:   The class condition establishes whether or not the value of the operand is numeric or alphabetic. The operand is numeric if it contains only the digits 0 t

IF STATEMENT: The easiest form of the IF statement is  IF condition-1 statement-1 where the condition-1 may be any one from the shown below. When the condition-1

GO TO, STOP RUN: The GO TO verb is used to completely transfer the control to elsewhere in the program. Its form is as shown below: GO TO procedure-name As a result o

SEQUENTIAL FILES WITH THE VARIABLE-LENGTH RECORDS: The Magnetic - tape or disk files can hold variable-length records. In this situation the file can have records with various

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

TO WRITE A QUADRATIC EQN ROOTS ARE COMPLEX IN COBOL 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.

PROGRAM FOR COMPUTE VERB: We have to write an easy program to elaborate the COMPUTE verb.  Identification division. Program- id. compverb. Environment division. Da

LEVEL NUMBERS: The COBOL makes use of the level number concept to explain the hierarchical data structure. A level number is a 2 digit number. The permitted level numbers a

RULES OF RENAMES CLAUSE:   The rules below should be observed while using the RENAMES clause: (i) All RENAMES entries should be written only after the last record descript