A simple CICS payroll calculations example
*below is the CICS program initial screen SPRING 2023 EMPLOYEE PAYROLL INFORMATION
PLEASE ENTER THE EMPLOYEES NAME
PLEASE ENTER THE HOURLY PAY RATE
__
PLEASE ENTER THE HOURS WORKED
__
GROSS PAY
FEDERAL TAXES
STATE TAXES
SOCIAL SECURITY
NET PAY
ENTER FIELDS THEN PRESS ENTER
F3=EXIT F12=CANCEL
*Below shows the calculations -WHole number fields were used for this example program. Anything after the decimal is truncated.
SPRING 2023 EMPLOYEE PAYROLL INFORMATION
PLEASE ENTER THE EMPLOYEES NAME
MICHAEL HLUSAK______
PLEASE ENTER THE HOURLY PAY RATE
30
PLEASE ENTER THE HOURS WORKED
40
GROSS PAY 000001200
FEDERAL TAXES 0000240
STATE TAXES 0000120
SOCIAL SECURITY 0000074
NET PAY 00000766
ENTER FIELDS THEN PRESS ENTER
F3=EXIT F12=CANCEL