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
Non numeric: The nonnumeric literal is used in normal to output messages or headings. The Characters which are enclosed between " " constitute nonnumeric literal. The maximum

Numeric -   Literals : The numeric literal can be created with the help of digits only. It can have a sign (+ or -) and can also have a decimal point. If no sign is specifi

Second form of Divide verb: The second form of this verb is as shown below: In this situation the identifier-1 or numeric- literal-1 will be divided by identifier-2 or

OCCURS CLAUSE - PROGRAM: We have to write a program to elaborate occurs clause. Get names and marks of the students and show them on the screen.   identification division.


Label Records / Disk Directory: The most important information stored in the header label is what is termed as the file title. In the situation of magnetic-disk files the labe

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

Example of Move corresponding: Consider the DATA DIVISION entries shown below. Suppose it is needed that the data stored in the 4 fields of the PAY_REC should be

PROGRAM FOR INVENTORY  We have to write a program to update the inventory file. Consider 2 files,viz, invfile an tranfile. Invfile has 3 fields pno,name,qty. Tranfile has 3 fil

OCCURS CLAUSE - PROGRAM: We have to write a program to demonstrate the occurs clause. Get names of the students and show them on the screen.  identification division.