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!
PROGRAMS FOR REDEFINES CLAUSE:
We have to write a simple program to explain the REDEFINES clause at 01 level.
identification division.
program- id. Redef.
environment division.
data division.
working-storage section.
01 a pic 9(3) value 125.
01 r pic 9(2) redefines a.
procedure division.
p-1.
display(1 1) erase.
display(5 5) "Value of r = " r.
stop run.
Note: The outcome of the program will be
Value of r = 12.
This output is arrived by using Redefining the variable a.
PROGRAM TO FIND INTEREST ON BANK DEPOSITS: We have to write a program to find interest on deposits. The criteria is given below : identification division. program-
Currency Sign - edit characters for numeric data: $ (Currency Sign): The single currency sign can appear at the leftmost place of a picture. In that situation the $ cha
Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST
PROGRAM FOR SCREEN SECTION: identification division. program- id. environment division. data division. working-storage section. 01 a pic 9(2) value
Example of If- else statement Illustration: IF QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE
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.
Illustration of Subtract verb: (a) SUBTRACT A FROM B. This illustration means that the value of A will be subtracted from the value of B and the subtracted result will be s
The LENDER Bank offers mortgages on homes valued up to $500,000. The required down payment is calculated as follows: 4% of the first $60,000 borrowed 8% of the next $30,000 borro
Example of Level numbers - cobol programming: To explain the hierarchical structure introduced above, the concept of the level number is employed in COBOL. The most broad
Direct Organization: Besides the relative or indexed organization, also a direct access file can be designed to have what is termed as direct organization. In this organizati
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