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
Illustration of Perform with varying option: A) Perform para-3 varying the k from 1 by 1 until k > 10. Here para-3 will be constantly executed 10 times (For k=1,2,3, .....1
Picture Clause: The picture clause explains the general characteristics of an elementary data item. These characteristics are elaborated below: Class: In COBOL the
COMPOUND CONDITION: The two simple conditions can be connected by the logical operators AND or OR to form a compound condition (also termed as combined condition). When two co
FD Entry for variable-length Records: The RECORDS CONTAINS and BLOCK CONTAINS clause are quite dissimilar in the case of files with variable- length records. The syntax of the
Example of compound condition: In common, a compound condition has the form which is as shown below: Where condition-1 & condition-2 can be any one of the below:
CLOSE STATEMENT: When the processing of a file is completed, then the file may be closed. This is completed with the help of the CLOSE-verb. The form of the CLOSE statement is
PROGRAM FOR COMPUTE VERB: We have to write an easy program to elaborate the COMPUTE verb. Identification division. Program- id. compverb. Environment division. Da
PERFORM WITH UNTIL OPTION: The format is as shown below: Illustration: A) Perform p-3 until i > 5. Here p-3 will be executed whenever i B) Perform p-2 thru
CONDITIONS-NAME CONDITION: The condition name is an entity which itself is a condition and these can have either a true or false value. Though, a condition name cannot be d
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
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