Program for simple perform, COBOL Programming

PROGRAM FOR SIMPLE PERFORM:

We have to write a program to elaborate simple PERFORM statement

Identification division.

Program- id.  Perf1.

Environment division.

Data division.

Procedure division.

Para-1.

  Display(1 1) erase.

  Display "ABC".

            Perform  para-2.

            Display "XYZ".

            Stop run.

Para-2.

             Display "DEF".

Description: The output of the program will be ABC

                                                                        DEF

                                                                        XYZ

Posted Date: 10/17/2012 7:43:44 AM | Location : United States







Related Discussions:- Program for simple perform, Assignment Help, Ask Question on Program for simple perform, Get Answer, Expert's Help, Program for simple perform Discussions

Write discussion on Program for simple perform
Your posts are moderated
Related Questions
Example of Sign condition: The illustration below describes the use of the sign condition. Illustration:     77  BALANCE  PIC  S9 (6) V99.       .       .     I

NESTED IF STATEMENT:   The then and else statement of an IF statement can hold other IF statements. The involved IF statements in their turn may also hold other IF statements

PERFORM WITH VARYING OPTION: The format is as shown below:

PROGRAM FOR IF :   We have to write a program to check whether the given number is ODD or EVEN. Identification division. Program- id. Ifst. Environment division.

WRITE statement: The WRITE statement for tape and sequential-disk files has the syntax shown below. WRITE            record-name      [  FROM    identifier   ] As a resu

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

calculate simple interest

Object-Computer - Configuration section: The computer name specifies a specific computer on which the object program is to be executed. The MEMORY SIZE is used to show the

Introduction to COBOL: In the year 1959, a new language named the COBOL ( CO mmon B usiness O riented L anguage) was introduced remembering the business purpose application

Block Size: The normal practice is to group a number of consecutive records to form that is termed as a block or a physical record. The number of records in a block is frequen