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 PERFORM - THRU:
We have to write a program to elaborate PERFORM ...THRU statement
Identification division.
Program- id. Perfthru.
Environment division.
Data division.
Procedure division.
Para-1.
Display(1 1) erase.
Display "ABC".
Perform para-2 thru para-4.
Display "XYZ".
Stop run.
Para-2.
Display "DEF".
Para-3.
Display "GHI".
Display " Gandhi".
Para-4.
Display "Bharathiar".
The output of the above program will be ABC
DEF
GHI
Gandhi
Bharathiar
XYZ
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
Size: The number of characters or digits needed to store the data item in the memory in termed as the Size of the data item. All the 4 general characteristics explained can
PROGRAM FOR ADD VERB: We have to write a simple program to elaborate the ADD verb. You can also use edit characters in the program. Identification division. Program- id.
PROGRAM FOR SIZE ERROR: We have to write an easy program to elaborate the size error option. Identification division. Program- id. sizeerr. Environment division.
PROGRAM TO DEMONSTRATE MERGE VERB: The two files for which a record having 2 fields viz. Account Number and Name are already available. Now Merge these two files and create a
ADD VERB: The ADD Verb can be used to find the sum of two or more numbers and to store the sum. The ADD verb takes any one of the two forms as shown below:
FILE-CONTROL paragraph for the indexed files: The common format for the SELECT clause for a file is as shown below: SELECT file-name ASSIGN TO implementor -name
DIVIDE VERB: The aim of the DIVIDE verb is to divide one number by the other and to store the result. There are few forms of this verb. One of its forms is as shown below:
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
Structure of a COBOL Program: Every COBOL program should have the 4 divisions in the order in which they are specified below: 1. Identification division 2. Environment D
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