Logo 
Search:

Cobol Articles

Submit Article
Home » Articles » Cobol » Homework HelpRSS Feeds

PROGRAM DISPLAYS ON THE CONSOLE DISPLAY A MESSAGE ENTERED BY THE USER

Posted By: Vid Fischer     Category: Cobol     Views: 4012

WRITE A PROGRAM DISPLAYS ON THE CONSOLE DISPLAY A MESSAGE ENTERED BY THE USER.

Code for PROGRAM DISPLAYS ON THE CONSOLE DISPLAY A MESSAGE ENTERED BY THE USER in Cobol

        IDENTIFICATION DIVISION.
       
        PROGRAM-ID. PROG401.
              
        ENVIRONMENT DIVISION.
              
        DATA DIVISION.
       
        01  W005-MESSAGE-FIELD             PIC X(32).
       
       
        PROCEDURE DIVISION.
       
        DISPLAY-ACCEPTED-MESSAGE.
           ACCEPT W005-MESSAGE-FIELD.
           DISPLAY W005-MESSAGE-FIELD.
           STOP RUN.
  
Share: 



Vid Fischer
Vid Fischer author of PROGRAM DISPLAYS ON THE CONSOLE DISPLAY A MESSAGE ENTERED BY THE USER is from Frankfurt, Germany.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!