Saturday, 1 March 2014

COBOL Program to implement PERFORM verb



COBOL Program to implement PERFORM verb

PROGRAM:  

       IDENTIFICATION DIVISION.
       PROGRAM-ID PV.
       ENVIRONMENT DIVISION.
       DATA DIVISION.
       PROCEDURE DIVISION.
       PARA1.
           DISPLAY ( 1 1 ) ERASE.
           DISPLAY "SRI".
           PERFORM PARA2.
           DISPLAY "CH".
           STOP RUN.
       PARA2.
           DISPLAY "KANTH".
           

No comments: