Question: THIS WRITTEN STYLE : / / KC 0 3 nnnA JOB , ' 1 st initial, period, space & last name go here',MSGCLASS = H
THIS WRITTEN STYLE : KCnnnA JOB st initial, period, space & last name go here',MSGCLASSH JSTEP EXEC PGMASSIST STEPLIB DD DSNKCNIU.ASSIST.LOADLIB,DISPSHR SYSIN DD YOU FILL IN THE DOCUMENTATION BOX PAYRPT CSECT USING PAYRPT, ESTABLISH ADDRESSABILITY ON REG LA GET FED WITHHOLDING PERCENT INTO R LA GET STATE WITHHOLDING PERCENT INTO R XREAD RECORD, GET FIRST EMPLOYEE RECORD BLDLOOP BNZ ENDBLD EXIT TABLE BUILD LOOP IF EOF TABLE BUILD LOOP DETAILS B BLDLOOP BRANCH TO TOP OF LOOP TO CHECK EOF XREAD RECORD, READ NEXT EMPLOYEE RECORD ENDBLD DS H PROCLOOP DS H PAYROLL COMPUTATION LOOP DETAILS B PROCLOOP PROCESS NEXT EMPLOYEE ENTRY ENDPROC DS H REPLOOP DS H REPORT GENERATION LOOP DETAILS XPRNT DETAIL, PRINT THE EMPLOYEE DETAIL RECORD B REPLOOP GENERATE NEXT REPORT LINE BCR B UNCONDITIONAL RETURN TO CALLER LTORG LITERAL ORGANIZATION THE FOLLOWING LINES ARE THE DEFINITION FOR THE OUTPUT DETAIL LINE FOR EACH EMPLOYEE FOR THE REPORT YOU ARE CREATING. IT IS EXACTLY BYTES LONG. EACH OUTPUT FIELD IS SEPARATED BY OR BYTES OF EBCDIC SPACES, ie X DETAIL DC C CARRIAGE CONTROL CHARACTER OEMPID DS CL OUTPUT FIELD FOR EMPLOYEE ID DC C SPACES OEMPNME DS CL OUTPUT FIELD FOR EMPLOYEE NAME DC C SPACES OPAYRATE DS CL OUTPUT FIELD FOR XDECO OF PAY RATE DC C SPACES OHOURS DS CL OUTPUT FIELD FOR XDECO OF HOURS WORKED DC C SPACES OGROSS DS CL OUTPUT FIELD FOR XDECO OF GROSS PAY AMT DC C SPACES OFEDWH DS CL OUTPUT FIELD FOR XDECO OF FEDERAL WH AMT DC C SPACES OSTWH DS CL OUTPUT FIELD FOR XDECO OF STATE WH AMT DC C SPACES ONETPAY DS CL OUTPUT FIELD FOR XDECO OF NET PAY AMT THE FOLLOWING IS THE BUFFER FOR THE INPUT RECORD RECORD DS CL BUFFER FOR EMPLOYEE RECORD READ FROM INPUT FILE ADDITONAL STORAGE DECLARATIONS CAN GO HERE END PAYRPT THE FOLLOWING IS THE INPUT DATA SET FTF DD DSNKCCSCIDATAFADATADISPSHR THE FOLLOWING IS THE OUTPUT DATA SET FTF DD SYSOUTSYSPRINT DD SYSOUT I WILL GIVE YOU QUESTION AND INSTRUCTIONS FINISH THE WORK points Write an Assembler program to calculate payroll for a business. Each employee has an hourly pay rate, a number of hours worked in the pay period, a deduction amount for any lunches eaten in the company cafeteria during the pay period, and, if earned, a bonus amount. Of course, each employee has a name and employee identification number. A txt document named Program Starter.txt is provided for you to begin this assign ment. Be sure to enter your Marist ID in the JOB card the upper left hand corner, first line and put your first initial, a period, and your last name between the tick marks. If needed, you can simply copyandpaste the very first line but only the first line! from a previous assignment. Important: If you look through the Program Starter.txt file, you should notice that near the beginning of the program skeleton, registers and are preloaded with the federal and state withholding percentages needed to perform the federal and state withholding computations. Make sure those values are still available when you need them! Input For your information, the input data set as provided in the Start Program is connected to the JCL with this statement: FTF DD DSNKCCSCI DATAFADATA DISPSHR Each of the input records contains, from left to right across the byte record, the following data about a single employee: The employee name, employee id number, hourly pay rate, number of hours worked in the pay period, deduction amount, and bonus amount, with the three dollar amounts rounded to the whole dollar. Remember to use MVC to move character data. Note that even though the employee id is technically a numeric value, you aren't going to do binary math with it so simply treat the employee id as character data. The employee name is no more than characters and the employee ID is no more than five characters. Code overview Your program will be written to perform three highlevel tasks in sequence: T Read in and store the program data by building a table in storage. T Calculate payroll data using the employee data stored in the table. T Gener from the employee name and ID columns, all other columns will store fullword values. The list below enumerates the columns that your rows must accommodate and their storage classsize Remember: You'll need to take care to guarantee that fullword data columns align to fullword boundaries in storage and format and order the columns accordingly, as demonstrated in class.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
