Wednesday, January 25, 2012

PROGRAM ON CONDITION NAME TO CHECK THE CHARACTERS


       IDENTIFICATION DIVISION.
       PROGRAM-ID "CONDITION-NAME".
       AUTHOR "ABC".
       DATE-WRITTEN 18/01/2012.
       DATE-COMPILED 18/01/2012.
     
       ENVIRONMENT DIVISION.
       CONFIGURATION SECTION.
       SOURCE-COMPUTER P4.
       OBJECT-COMPUTER P4.
     

Tuesday, January 24, 2012

PROGRAM TO CREATE SEQUENTIAL FILE

       IDENTIFICATION DIVISION.
       PROGRAM-ID "EMPLOYEE".
       AUTHOR "DEEPAK".
       DATE-WRITTEN 18/01/2012.
       DATE-COMPILED 18/01/2012.
       
       ENVIRONMENT DIVISION.
       CONFIGURATION SECTION.
       SOURCE-COMPUTER P4.
       OBJECT-COMPUTER P4.
 

Tuesday, January 10, 2012

Program to check evenness & oddness and bubble sort


       IDENTIFICATION DIVISION.
       PROGRAM-ID "EVEN-ODD".
       AUTHOR "ABC".
       DATE-WRITTEN 04/01/2012.
       DATE-COMPILED 04/01/2012.
       ENVIRONMENT DIVISION.
       CONFIGURATION SECTION.
       SOURCE-COMPUTER P4.
       OBJECT-COMPUTER P4.
       DATA DIVISION.
       WORKING-STORAGE SECTION.
       77 N PIC 99.
       77 Q PIC 99.
       77 R PIC 99.

Program to check prime number and leap year


       IDENTIFICATION DIVISION.
       PROGRAM-ID "PRIME".
       AUTHOR "ABC".
       DATE-WRITTEN 04/01/2012.
       DATE-COMPILED 04/01/2012.
       ENVIRONMENT DIVISION.
       CONFIGURATION SECTION.
       SOURCE-COMPUTER P4.
       OBJECT-COMPUTER P4.
       DATA DIVISION.
       WORKING-STORAGE SECTION.
       77 N PIC 99.
       77 I PIC 99.
       77 Q PIC 99.
       77 R PIC 99.
   

COBOL compiler

click below to download

download


Runs fine on windows xp & windows 7 32-bit.
Windows 7 64-bit edition users have to use ms-dos emulator DOS-BOX.
click here to download.

password is: deepaklama90