Last active
August 29, 2015 14:02
-
-
Save pdemby/989644b868617a9b209e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROCEDURE DIVISION. | |
OPEN-ROUTINE. | |
OPEN INPUT EMPLOYEE-INPUT-FILE. | |
OPEN OUTPUT EMPLOYEE-OUTPUT-FILE. | |
READ-ROUTINE. | |
READ EMPLOYEE-INPUT-FILE | |
AT END GO TO CLOSE-ROUTINE. | |
MOVE EMPLOYEE-INPUT-LASTNAME TO EMPLOYEE-OUTPUT-LASTNAME. | |
MOVE EMPLOYEE-INPUT-LASTNAME TO EMPLOYEE-OUTPUT-LASTNAME. | |
MOVE EMPLOYEE-INPUT-HOURLY-RATE TO EMPLOYEE-OUTPUT-HOURLY-RATE. | |
ADD 1.50 TO EMPLOYEE-OUTPUT-HOURLY-RATE. | |
WRITE EMPLOYEE-OUTPUT-RECORD. | |
GO TO READ-ROUTINE. | |
CLOSE-ROUTINE. | |
CLOSE EMPLOYEE-INPUT-FILE. | |
CLOSE EMPLOYEE-OUTPUT-FILE. | |
STOP RUN. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment