Question: THIS WRITTEN STYLE : / / KC 0 3 nnnA JOB , ' 1 st initial, period, space & last name go here',MSGCLASS = H

THIS WRITTEN STYLE : //KC03nnnA JOB ,'1st initial, period, space & last name go here',MSGCLASS=H //*//JSTEP01 EXEC PGM=ASSIST //*//STEPLIB DD DSN=KC00NIU.ASSIST.LOADLIB,DISP=SHR //*//SYSIN DD ********************************************************************* YOU FILL IN THE DOCUMENTATION BOX ********************************************************************* PAYRPT CSECT USING PAYRPT,15 ESTABLISH ADDRESSABILITY ON REG 15* LA 10,16 GET FED WITHHOLDING PERCENT INTO R10 LA 11,4 GET STATE WITHHOLDING PERCENT INTO R11* XREAD RECORD,80 GET FIRST EMPLOYEE RECORD * BLDLOOP BNZ ENDBLD EXIT TABLE BUILD LOOP IF EOF ** TABLE BUILD LOOP DETAILS * B BLDLOOP BRANCH TO TOP OF LOOP1 TO CHECK EOF XREAD RECORD,80 READ NEXT EMPLOYEE RECORD * ENDBLD DS 0H * PROCLOOP DS 0H ** PAYROLL COMPUTATION LOOP DETAILS * B PROCLOOP PROCESS NEXT EMPLOYEE ENTRY ENDPROC DS 0H * REPLOOP DS 0H ** REPORT GENERATION LOOP DETAILS * XPRNT DETAIL,133 PRINT THE EMPLOYEE DETAIL RECORD B REPLOOP GENERATE NEXT REPORT LINE ** BCR B'1111',14 UNCONDITIONAL RETURN TO CALLER * LTORG LITERAL ORGANIZATION ** THE FOLLOWING 16 LINES ARE THE DEFINITION FOR THE OUTPUT DETAIL * LINE FOR EACH EMPLOYEE FOR THE REPORT YOU ARE CREATING. IT * IS EXACTLY 133 BYTES LONG. EACH OUTPUT FIELD IS SEPARATED * BY 4 OR 5 BYTES OF EBCDIC SPACES, i.e., X'40'.* DETAIL DC C'0' CARRIAGE CONTROL CHARACTER OEMPID DS CL5 OUTPUT FIELD FOR EMPLOYEE ID DC 4C'' SPACES OEMPNME DS CL25 OUTPUT FIELD FOR EMPLOYEE NAME DC 4C'' SPACES OPAYRATE DS CL12 OUTPUT FIELD FOR XDECO OF PAY RATE DC 4C'' SPACES OHOURS DS CL12 OUTPUT FIELD FOR XDECO OF HOURS WORKED DC 4C'' SPACES OGROSS DS CL12 OUTPUT FIELD FOR XDECO OF GROSS PAY AMT DC 4C'' SPACES OFEDWH DS CL12 OUTPUT FIELD FOR XDECO OF FEDERAL WH AMT DC 5C'' SPACES OSTWH DS CL12 OUTPUT FIELD FOR XDECO OF STATE WH AMT DC 5C'' SPACES ONETPAY DS CL12 OUTPUT FIELD FOR XDECO OF NET PAY AMT ** THE FOLLOWING IS THE BUFFER FOR THE INPUT RECORD * RECORD DS CL80 BUFFER FOR EMPLOYEE RECORD READ FROM INPUT FILE ** ADDITONAL STORAGE DECLARATIONS CAN GO HERE * END PAYRPT /*//*//* THE FOLLOWING IS THE INPUT DATA SET //*//FT05F001 DD DSN=KC02322.CSCI360.DATAFA24(DATA5),DISP=SHR //*//* THE FOLLOWING IS THE OUTPUT DATA SET //*//FT06F001 DD SYSOUT=*//*//SYSPRINT DD SYSOUT=*//*// I WILL GIVE YOU QUESTION AND INSTRUCTIONS FINISH THE WORK (200 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 '360 Program 1 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 copy-and-paste the very first line (but only the first line!) from a previous assignment. Important: If you look through the '360 Program 1 Starter.txt' file, you should notice that near the beginning of the program skeleton, registers 10 and 11 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: //FT05F001 DD DSN=KC02322.CSCI360. DATAFA24(DATA5), DISP=SHR Each of the input records contains, from left to right across the 80-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 25 characters and the employee ID is no more than five characters. Code overview Your program will be written to perform three high-level tasks in sequence: T1. Read in and store the program data by building a table in storage. T2. Calculate payroll data using the employee data stored in the table. T3. 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 class/size. 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!