Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
PROGRAM FOR ADD CORRESPONDING:
We have to write a simple program to demonstrate Add Corresponding.
identification division.
program- id.
environment division.
data division.
working-storage section.
01 rec-1.
02 sno pic 9(2) value 11.
02 mark1 pic 9(2) value 1.
01 rec-2.
05 sno pic 9(2) value 10.
05 mark2 pic 9(2) value 2.
procedure division.
p-1.
display(1 1) erase.
display(3 5) mark1 of rec-1.
add corr rec-1 to rec-2.
display(5 5) mark2 of rec-2.
display (10 5) sno of rec-2.
stop run.
Rules of read statements: The next record is identified according to the rules as shown below: (i) Whenever the READ NEXT statement is the initial statement to be executed
Example of Nested if statement: Illustration: Consider the following sentence The nested IF sentence holds two IFs and one ELSE. The IF-ELSE couple has been marke
PROGRAM FOR SCREEN SECTION: identification division. program- id. environment division. data division. working-storage section. 01 a pic 9(2) value
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
FILE DESCRIPTION- FIXED-LENGTH RECORDS: The normal characteristics of a file are explained in the file description (FD) entry of the DATA DIVISION.
Identification Division: The Identification Division is the first division of each and every COBOL source program. The paragraph PROGRAM-ID is necessary in most of the mac
calculate simple interest
STATEMENTS FOR SEQUENTIAL FILES: A basic operation on a file includes the reading and writing of its records. Whenever the file is sequential, there are three verbs for the
Transaction file : A transaction file is a file which contains new records those changes to old records which are used to update the master file. The problem of file updatio
COMPUTE VERB: The COMPUTE verb is very powerful. All the evaluations performed by the other 4 verbs can also be completed easily by using the COMPUTE verb. Its normal format i
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd