Service Request 101807 2017 W-2 Changes Created on: 8/16/2017 Modified 01/23/2018 Prepared by Mary Meyer Information Technology Services Office of the President University of California
Version History Version # Date Revised By Reason for Change 1.0 8/16/2017 Mary Meyer Initial draft 1.1 11/2/2017 Mary Meyer Added details to program changes 1.2 11/7/2017 Mary Meyer Changed new error message from M60147 to M60148 1.3 01/23/18 Mary Meyer Added copylib CPWSTXTP and program PPTAXW2T Page 1
Table of Contents Version History... 1 1 Introduction... 3 1.1 Service Request 101807... 3 2 Background... 4 3 Overview of System Modifications... 4 4 Design Considerations... 4 5 Mainframe Design... 5 5.1 COPYLIB Members... 5 5.2 COBOL Programs... 5 6 Unit Testing Requirements... 16 Page 2
1 Introduction Modify the IRS W-2 process for tax year 2017. This will include changing the year and modifying Box 14 for a new Pension Tier deduction. This technical specification provides detailed information about the modifications necessary in PPS to support the implementation of the W-2 changes and IRS W-2 process for the tax year 2017. SR101807 changes must be implemented in time for campuses to install prior to tax reporting for calendar year 2017. 1.1 Service Request 101807 SR101807 asks for the implementation of the following W-2 changes for the year 2017: Change the tax year to 2017 Report the amount for GTN 724 (Employee DC Deduction) as a new category in Box 14 of the 2017 W-2. o OW2 Interface File The footnote on the OW2 interface file layout should be modified to correctly represent the GTN amounts that will be included in UCRP going forward. A new category in Box 14 should be established, labeled DC CHOICE. This category will be for the YTD amount for GTN 724 The logic for Box 14 should be modified to remove GTN 724 from UCRP. A new trailer row will need to be established for the new Box 14 category. The GTN 724 total amount should be removed from the UCRP trailer row in positions 400-414. o Printed W-2 For the printed W-2, YTD GTN amount for GTN 724 should be removed from the UCRP category in Box 14. A new category DCCHOICE should be established in Box 14. To make room, the text included in Box 01 will be removed. YTD GTN amount for GTN 724 should be included in the new DCCHOICE category. Report the amount for GTN 724 (Employee DC Deduction) as a new category in Box 14 of the 2017 W-2. Page 3
o Reports The following reports will need to be modified to remove the specified GTN amount from the UCRP category and add a new category for GTN amount 724: PPP6007, 6008, 6009, 6011, 6014, 6017, 6019, 6020, 6021 and 6102. 2 Background Changes in the printed Form W-2 are needed each year to satisfy IRS requirements. A modification is needed in Box 14 of the W-2. Some Pension Tier 2016 deductions that are currently included in the UCRP category need to be put into a separate, new category. The Pension Tier 2016 changes, implemented June, 2016, added several new GTNs that are associated with various Tier 2016 employee contributions. The following GTN amounts were included in the Box 14 category labeled UCRP for the 2016 Form W-2: 728: Employee DB deduction 722: Employee Supplement deduction 748: Employee Supplement deduction faculty 724: Employee DC deduction Starting with the 2017 Form W-2, the year to date amount for GTN 724 (Employee DC deduction) should be reported in a different (new) category in Box 14. The label will be DCCHOICE. 3 Overview of System Modifications The following PPS processes require modifications for the 2017 tax year: 1. OW2 Interface File 2. Printed Form W-2 3. W-2 Reports 4. SSA File 4 Design Considerations Page 4
5 Mainframe Design 5.1 COPYLIB Members CPWSTXW2 defines the record layout for the W2 extract file. Add new fields and reduce fillesr: 10 RW-EMPLOYEE-EMPLR-HLTH PIC 9(09)V99 VALUE ZEROES. 10 RW-SMALL-EMPLR-HLTH PIC 9(11) VALUE ZEROS. 10 FILLER PIC X(01) VALUE SPACES. *******10 FILLER PIC X(12) VALUE SPACES. 10 RT-SMALL-EMPLR-HLTH-TTL PIC X(015) VALUE SPACES. 10 FILLER PIC X(098) VALUE SPACES. *******10 FILLER PIC X(113) VALUE SPACES. The following copylib members will be modified to include fields for the new DCCHOICE amounts: CPLNKW2F defines a linkage area for PPTAXW2F. CPLNKW2O defines a linkage for PPTAXW2O. CPLNKW2R defines a linkage for PPTAXW2R. CPWSTXTO defines the record layouts for W2 data to be sent to UCOP for online W2s. CPWSTXTP defines the record layouts for tax reporting files sent to the state and federal government 5.2 COBOL Programs PPTAXEDB PPTAXEDB generates the extracts for W-2 and/or UI processing and selected control and error reports. The extract program PPTAXEDB should be changed, as below: 1. Remove GTN 724 amount from UCRP Box 14 2. Create a new box with title DC CHOICE for GTN 724 amount 3. Create new working storage fields for DCCHOICE corresponding to existing UCRP fields. 4. Process the new DCCHOICE fields similar to how existing UCRP fields are processed 5. Create new error message for case where DCCHOICE amount is < 0 Page 5
PPTAXW2F PPTAXW2F produces the W-2 forms and fiche file. Add fields for the new DCCHOICE amounts. 1. Add fields in Working Storage for DC CHOICE smiliar to UCRP fields totals and do corresponding moves. 2. Add the New DC Choice total after the UCRP total 3. Remove literal included in Box 1 01 W2L-LNE11. 05 FILLER PIC X(02) VALUE SPACES. 05 W2L-ADDR2 PIC X(31). 05 W2L-403B-LIT PIC X(03). 05 W2L-403B-AMT PIC Z,ZZZ,ZZZ.99. 05 W2L-403B-SPACE REDEFINES W2L-403B-AMT PIC X(12). *****05 W2L-DCP-CAS-LIT PIC X(07) VALUE SPACES. ***** *****05 W2L-DCP-CAS-AMT PIC ZZZZ,ZZZ.99. *****05 W2L-DCP-CAS-SPACE REDEFINES W2L-DCP-CAS-AMT 05 W2L-DCCHOICE-LIT PIC X(08) VALUE SPACES. 05 W2L-DCCHOICE-AMT PIC ZZZ,ZZZ.99. 05 W2L-DCCHOICE-SPACE REDEFINES W2L-DCCHOICE-AMT PIC X(10). 01 W2L-LNE12. 05 FILLER PIC X(02) VALUE SPACES. 05 W2L-ADDR3 PIC X(31). 05 W2L-457B-LIT PIC X(03). 05 W2L-457B-AMT PIC Z,ZZZ,ZZZ.99. 05 W2L-457B-SPACE REDEFINES W2L-457B-AMT PIC X(12). 05 W2L-DCP-CAS-LIT PIC X(07) VALUE SPACES. 05 W2L-DCP-CAS-AMT PIC ZZZZ,ZZZ.99. 05 W2L-DCP-CAS-SPACE REDEFINES W2L-DCP-CAS-AMT *****05 W2L-DCP-REG-LIT PIC X(07) VALUE SPACES. ***** *****05 W2L-DCP-REG-AMT PIC ZZZZ,ZZZ.99. *****05 W2L-DCP-REG-SPACE REDEFINES W2L-DCP-REG-AMT PIC X(11). 01 W2L-LNE13. 05 FILLER PIC X(02) VALUE SPACES. 05 W2L-ADDR4 PIC X(31) VALUE SPACES. 05 W2L-EXCL-MVE-LIT PIC X(03). Page 6
05 W2L-EXCL-MVE-AMT PIC Z,ZZZ,ZZZ.99. 05 W2L-EXCL-MVE-SPACE REDEFINES W2L-EXCL-MVE-AMT PIC X(12). 05 W2L-DCP-REG-LIT PIC X(07) VALUE SPACES. 05 W2L-DCP-REG-AMT PIC ZZZZ,ZZZ.99. 05 W2L-DCP-REG-SPACE REDEFINES W2L-DCP-REG-AMT PIC X(11). 05 FILLER PIC X(07) VALUE SPACES. *****05 W2L-OTHR-LIT PIC X(19). Comment out: *****05 FILLER PIC X(07) VALUE SPACES. *****IF PRINT-ZERO-BOX17-18-AMTS *****OR TXW2-EMP-OTHER-INCOME > ZERO *****OR TXW2-EMP-NDIP-AMOUNT > ZERO *****OR WS-TEMP-ACCUM > ZERO *********MOVE 'INCLUDED IN BOX 01:' TO W2L-OTHR-LIT *****ELSE *********MOVE SPACES TO W2L-OTHR-LIT. ADD: IF PRINT-ZERO-BOX17-18-AMTS OR TXW2-EMP-DCCHOICE > ZERO MOVE TXW2-EMP-DCCHOICE TO W2L-DCCHOICE-AMT MOVE 'DCCHOICE' TO W2L-DCCHOICE-LIT ELSE MOVE SPACES TO W2L-DCCHOICE-SPACE W2L-DCCHOICE-LIT PPTAXW2O PPTAXW2O creates the new OW2 file that is used by AYSO as the data source for generation of the online W-2 forms. Add fields to Working Storage for the new DCCHOICE amounts similar to existing fields for UCRP. Move fields similar to UCRP fields Increase occurs: ***05 WS-BOX14-LINE OCCURS 7 TIMES. 05 WS-BOX14-LINE OCCURS 8 TIMES. Increase varying: PERFORM VARYING WS-IXBX14 FROM +1 BY +1 UNTIL WS-IXBX14 > 8 ************ UNTIL WS-IXBX14 > 7 Move DCCHOICE amount to Box14: Page 7
IF TXW2-EMP-DCCHOICE NOT = 0 MOVE 'DC CHOICE ' TO WS-BOX14-TITLE (WS-IXBX14) MOVE TXW2-EMP-DCCHOICE TO WS-BOX14-AMT (WS-IXBX14) ADD +1 TO WS-IXBX14 END-IF. Increase from +7 to +8 : MOVE WS-BOX14-AMT (WS-IXBX *******IF WS-IXBX14 = +7 IF WS-IXBX14 = +8 GO TO 13040-EXIT PPTAXEDB PPTAXEDB generates the extracts for W-2 and/or UI processing and selected control and error reports. Add fields to Working Storage for the new DCCHOICE amounts similar to existing fields for UCRP. Move fields similar to UCRP fields Add new error message for DCCHOICE field: Increase OCCURS: 05 M60148 PIC X(5) VALUE '60148' And check for message in 1030-ACCUMULATE-UCRP-AMOUNT IF TXW2-EMP-DCCHOICE < 0 MOVE M60148 TO MSSG-DESIRED MOVE EMPLOYEE-ID OF PER-ROW-DATA TO RPT-EMPL-ID MOVE SPACES TO RPT-DATA-ONE MOVE 'TOTAL DC CHOICE AMOUNT' TO RPT-LITERAL-TWO MOVE TXW2-EMP-DCCHOICE TO RPT-NUM-AMOUNT MOVE ZERO TO TXW2-EMP-DCCHOICE PERFORM 70000-WRITE-MSSG-RECORD END-IF. 05 W2-ROW-TITLES-R REDEFINES *******W2-ROW-TITLES OCCURS 38 TIMES. W2-ROW-TITLES OCCURS 39 TIMES. 10 W2-ROW-TITLE PIC X(13). Add code to separate out DCCHOICE amount: Page 8
1030-ACCUMULATE-UCRP-AMOUNT. MOVE UCRP-XSET-GTN-NUMBER (GTN-INDEX) TO DSA-INDEX. IF UCRP-XSET-GTN-NUMBER (GTN-INDEX) = 724 ADD XDSA-BALAMT (DSA-INDEX, XDSA-YTD-P) TO TXW2-EMP-DCCHOICE ELSE ADD XDSA-BALAMT (DSA-INDEX, XDSA-YTD-P) TO TXW2-EMP-UCRP END-IF. Increase from 38 to 39: PERFORM 55315-PRINT-2ND-PAGE-TOTALS VARYING AMOUNT-INDEX FROM 1 BY 1 **************UNTIL AMOUNT-INDEX > 38 UNTIL AMOUNT-INDEX > 39 PPTAXW2 PPTAXW2 manages the W-2 reporting. Add fields to Working Storage for the new DCCHOICE amounts similar to existing fields for UCRP. Move fields similar to UCRP fields Increase from 38 to 39: 01 W2-ACCUMULATORS-R REDEFINES W2-ACCUMULATORS. 05 W2-ACCUMULATOR-GROUP OCCURS 4 TIMES. *********10 W2-ACC-AMOUNT OCCURS 38 TIMES 10 W2-ACC-AMOUNT OCCURS 39 TIMES 01 ZERO-SET-ACCUMULATORS. 05 ZERO-SET-GROUP OCCURS 4 TIMES. ************10 FILLER OCCURS 38 TIMES 10 FILLER OCCURS 39 TIMES PIC S9(11)V99 COMP-3. 05 W2-ROW-TITLES-R REDEFINES *******W2-ROW-TITLES OCCURS 38 TIMES. W2-ROW-TITLES OCCURS 39 TIMES. 10 W2-ROW-TITLE PIC X(13). ***PERFORM 00080-ACCUMULATOR-ROW 38 TIMES. PERFORM 00080-ACCUMULATOR-ROW 39 TIMES. ***PERFORM 62200-W2R-AMOUNT-ROW 38 TIMES. PERFORM 62200-W2R-AMOUNT-ROW 39 TIMES. PERFORM 83400-W2T-AMOUNT-ROW Page 9
VARYING ROW-NBR FROM 2 BY 1 ***********UNTIL ROW-NBR > 38. UNTIL ROW-NBR > 39. PERFORM 89170-OW2-AMOUNT-ROW VARYING ROW-NBR FROM 2 BY 1 UNTIL ROW-NBR > 39. ***********UNTIL ROW-NBR > 38. PERFORM 93400-W2F-AMOUNT-ROW VARYING ROW-NBR FROM 2 BY 1 ***********UNTIL ROW-NBR > 38. UNTIL ROW-NBR > 39. PPP610 PPP610 updates selected fields on the W2 extract file. Add fields to Working Storage for the new DCCHOICE amounts similar to existing fields for UCRP. Move fields similar to UCRP fields Increase from 38 to 39: 05 W2-ROW-TITLES-R REDEFINES *******W2-ROW-TITLES OCCURS 38 TIMES. W2-ROW-TITLES OCCURS 39 TIMES. 10 W2-ROW-TITLE PIC X(13). 1 W2-ACCUMULATORS-R REDEFINES W2-ACCUMULATORS. *******10 W2-ACC-AMOUNT OCCURS 38 TIMES 10 W2-ACC-AMOUNT OCCURS 39 TIMES PIC S9(11)V99 COMP-3. 10 W2-ACC-COUNT PIC S9(07) COMP. ***PERFORM VARYING I FROM 1 BY 1 UNTIL I > 38 PERFORM VARYING I FROM 1 BY 1 UNTIL I > 39 MOVE W2-ROW-TITLE(I) TO W2-TOTS-TITLE MOVE W2-ACC-AMOUNT(I) TO W2-TOTS-AMOUNT WRITE CONTROL-REC FROM W2-TOTS-LINE MOVE ZEROES TO W2-TOTS-AMOUNT END-PERFORM. PPTAXW2R PPTAXW2R produces the W-2 reports. Add fields to Working Storage for the new DCCHOICE amounts similar to existing fields for UCRP. Move fields similar to UCRP fields Page 10
Add / to column headings where missing, decrease filler if needed: *******05 FILLER PIC X(10) VALUE 'TAX EXEMPT'. 18072288 05 FILLER PIC X(11) VALUE 'TAX EXEMPT/'. 18072288 05 FILLER PIC X(02) VALUE SPACES. 18072288 *******05 FILLER PIC X(03) VALUE SPACES. 18072288 05 FILLER PIC X(10) VALUE '457B/UCRP/'. 1807228 05 FILLER PIC X(48) VALUE SPACES. 1807228 *******05 FILLER PIC X(09) VALUE '457B/UCRP'. 1807228 *******05 FILLER PIC X(49) VALUE SPACES. 1807228 05 FILLER PIC X(36) VALUE SPACES. 17850950 *******05 FILLER PIC X(13) VALUE 'TAX EXEMPT'. 18072288 05 FILLER PIC X(10) VALUE '457B/UCRP/'. 05 FILLER PIC X(51) VALUE SPACES. *******05 FILLER PIC X(09) VALUE '457B/UCRP'. *******05 FILLER PIC X(52) VALUE SPACES. *******05 FILLER PIC X(13) VALUE 'TAX EXEMPT'. 05 FILLER PIC X(13) VALUE 'TAX EXEMPT/'. 05 FILLER PIC X(14) VALUE SPACES. 05 FILLER PIC X(10) VALUE '457B/UCRP/'. 05 FILLER PIC X(13) VALUE SPACES. *******05 FILLER PIC X(09) VALUE '457B/UCRP'. *******05 FILLER PIC X(14) VALUE SPACES. *******05 FILLER PIC X(13) VALUE 'TAX EXEMPT'. 05 FILLER PIC X(13) VALUE 'TAX EXEMPT/'. 05 FILLER PIC X(10) VALUE '457B/UCRP/'. 18072288 05 FILLER PIC X(13) VALUE SPACES. 18072288 ******05 FILLER PIC X(09) VALUE '457B/UCRP'. 18072288 ******05 FILLER PIC X(14) VALUE SPACES. 18072288 05 FILLER PIC X(17) VALUE SPACES. 18072288 05 FILLER PIC X(10) VALUE '457B/UCRP/'. 18072288 05 FILLER PIC X(48) VALUE SPACES. 18072288 *******05 FILLER PIC X(09) VALUE '457B/UCRP'. 18072288 *******05 FILLER PIC X(49) VALUE SPACES. 18072288 *******05 FILLER PIC X(75) VALUE SPACES. 18072288 03 W2-SSTIP-HDG10. 05 FILLER PIC X(47) VALUE SPACES. 05 FILLER PIC X(10) VALUE '409A DEFR/'. 05 FILLER PIC X(17) VALUE SPACES. 05 FILLER PIC X(09) VALUE 'DC CHOICE'. 05 FILLER PIC X(49) VALUE SPACES. 03 W2-NQPLS-HDG7. 05 FILLER PIC X(11) VALUE 'ALT TT CODE'. 05 FILLER PIC X(36) VALUE SPACES. *******05 FILLER PIC X(13) VALUE 'TAX EXEMPT'. 05 FILLER PIC X(13) VALUE 'TAX EXEMPT/'. 05 FILLER PIC X(14) VALUE 'EXCL MOVE'. 05 FILLER PIC X(08) VALUE 'DCP REG/'. 05 FILLER PIC X(10) VALUE Page 11
' GROSS '. 03 W2-NQPLS-HDG8. 05 FILLER PIC X(47) VALUE SPACES. 05 FILLER PIC X(13) VALUE 'OTH STATE/'. 05 FILLER PIC X(14) VALUE '457NQP/'. 05 FILLER PIC X(10) VALUE '457B/UCRP/'. 05 FILLER PIC X(13) VALUE SPACES. *******05 FILLER PIC X(09) VALUE '457B/UCRP'. *******05 FILLER PIC X(14) VALUE SPACES. 05 FILLER PIC X(09) VALUE 03 W2-NQPLS-HDG9. 05 FILLER PIC X(47) VALUE SPACES. 05 FILLER PIC X(13) VALUE 'OTH LOCAL/ '. 05 FILLER PIC X(05) VALUE 'BOX11'. 05 FILLER PIC X(09) VALUE SPACES. 05 FILLER PIC X(09) VALUE 'DC CHOICE'. 05 FILLER PIC X(49) VALUE SPACES. *******05 FILLER PIC X(67) VALUE SPACES. 03 WRK7-NQPLS. 05 FILLER PIC X(01). 05 WRK7-W2-NQPLS-LNE. 07 FILLER PIC X(45). 07 WRK7-409A-DEFERRED PIC ZZZZ,ZZZ.99-. 07 WRK7-NQBX11-INCOME PIC ZZZZ,ZZZ.99-. 07 WRK7-DCCHOICE PIC ZZZZ,ZZZ.99-. 07 FILLER PIC X(51). ***********07 FILLER PIC X(63). 03 W2-ALIEN-HDG7. 05 FILLER PIC X(11) VALUE 'ALT TT CODE'. 05 FILLER PIC X(36) VALUE SPACES. *******05 FILLER PIC X(13) VALUE 'TAX EXEMPT'. 05 FILLER PIC X(13) VALUE 'TAX EXEMPT/'. 05 FILLER PIC X(14) VALUE 'EXCL MOVE '. 05 FILLER PIC X(08) VALUE 'DCP REG/'. 05 FILLER PIC X(37) VALUE SPACES. 05 FILLER PIC X(13) VALUE 'CTZN '. 03 W2-ALIEN-HDG8. 05 FILLER PIC X(47) VALUE SPACES. 05 FILLER PIC X(10) VALUE 'OTH STATE/'. 05 FILLER PIC X(17) VALUE SPACES. 05 FILLER PIC X(10) VALUE '457B/UCRP/'. 05 FILLER PIC X(13) VALUE SPACES. *******05 FILLER PIC X(09) VALUE '457B/UCRP'. *******05 FILLER PIC X(14) VALUE SPACES. 05 FILLER PIC X(49) VALUE SPACES. 03 W2-ALIEN-HDG9. 05 FILLER PIC X(47) VALUE SPACES. *******05 FILLER PIC X(10) VALUE 'OTH LOCAL '. 05 FILLER PIC X(10) VALUE 'OTH LOCAL/'. 05 FILLER PIC X(17) VALUE SPACES. 05 FILLER PIC X(09) VALUE 'DC CHOICE'. 05 FILLER PIC X(49) VALUE SPACES. *******05 FILLER PIC X(75) VALUE SPACES. 03 W2-ALIEN-DETL-LNE7. Page 12
05 FILLER PIC X(46). 05 W2A-LN7-409A-DEFER PIC ZZZZ,ZZZ.99-. 05 W2A-LN7-409A-DEFER-R REDEFINES W2A-LN7-409A-DEFER PIC X(12). 05 FILLER PIC X(01). 05 W2A-LN7-INT-LITERAL PIC X(11). *******05 FILLER PIC X(63). 05 FILLER PIC X(01). 05 W2A-LN7-DCCHOICE-AMT PIC ZZZ,ZZZ.99-. 05 W2A-LN7-DCCHOICE-AMT-R REDEFINES W2A-LN7-DCCHOICE-AMT PIC X(11). 05 FILLER PIC X(29). 03 OTS-HDG7. 05 FILLER PIC X(11) VALUE 'ALT TT CODE'. 05 FILLER PIC X(36) VALUE SPACES. *******05 FILLER PIC X(10) VALUE 'TAX EXEMPT'. 05 FILLER PIC X(11) VALUE 'TAX EXEMPT/'. 05 FILLER PIC X(02) VALUE SPACES. *******05 FILLER PIC X(03) VALUE SPACES. 05 FILLER PIC X(10) VALUE 'EXCL MOVE '. and so on.several other places Add DC CHOICE 03 CONF-HDG9. 05 FILLER PIC X(47) VALUE SPACES. 05 FILLER PIC X(10) VALUE 'OTH LOCAL/'. 05 FILLER PIC X(17) VALUE SPACES. 05 FILLER PIC X(09) VALUE 'DC CHOICE'. 05 FILLER PIC X(49) VALUE SPACES. ****** 05 FILLER PIC X(75) VALUE SPACES. 03 W2-CNFRM-DETL-LNE7. 05 FILLER PIC X(46). 05 W2C-LN7-409A-DEFER PIC ZZZZ,ZZZ.99-. 05 W2C-LN7-409A-DEFER-R REDEFINES W2C-LN7-409A-DEFER PIC X(12). 05 FILLER PIC X(01). 05 W2C-LN7-INT-LITERAL PIC X(11). *******05 FILLER PIC X(63). 05 FILLER PIC X(01). 05 W2C-LN7-DCCHOICE-AMT PIC ZZZ,ZZZ.99-. 05 W2C-LN7-DCCHOICE-AMT-R REDEFINES W2C-LN7-DCCHOICE-AMT PIC X(11). 05 FILLER PIC X(29). 03 W2-EXCP-HDG9. 05 FILLER PIC X(47) VALUE SPACES. 05 FILLER PIC X(10) VALUE 'OTH LOCAL/'. 05 FILLER PIC X(17) VALUE SPACES. 05 FILLER PIC X(09) VALUE 'DC CHOICE'. 05 FILLER PIC X(52) VALUE SPACES. 03 W2-EDIT-HDG9. Page 13
05 FILLER PIC X(47) VALUE SPACES. 05 FILLER PIC X(10) VALUE 'OTH LOCAL/'. 05 FILLER PIC X(17) VALUE SPACES. 05 FILLER PIC X(09) VALUE 'DC CHOICE'. 05 FILLER PIC X(49) VALUE SPACES. ****** 05 FILLER PIC X(75) VALUE SPACES. Increase totals: 03 TOT-DESC REDEFINES TOT-DESCRPT. 05 DESC-TOTALS OCCURS 52. *******05 DESC-TOTALS OCCURS 51. 07 DESC-TOT PIC X(30). Take out conditional statement before printing line 5 or 6: ***IF W2C-ADD5 NOT = SPACES ***OR W2C-LN5-ALT-TT-CODE NOT = SPACES ***OR TXW2-EMP-OSWT-GROSS-1 NOT = ZERO ***OR TXW2-EMP-OSWT-TAX-1 NOT = ZERO ***OR TXW2-EMP-EXCL-MVE-EXP NOT = ZERO ***OR TXW2-EMP-457B-AMOUNT NOT = ZERO MOVE 1 TO LINE-CTR MOVE W2-CNFRM-DETL-LNE5 TO PRINT-REC-W2-CONFIRM MOVE 'Y' TO WS-LINE-5-PRINTED PERFORM 10300-W2-CONFIRM-PRINT ***END-IF. ***IF W2C-ADD6 NOT = SPACES ***OR W2C-LN6-NDIP-AMT NOT = ZERO ***OR W2C-LN6-UCRP-AMT NOT = ZERO ***OR TXW2-EMP-OSWT-LOC-GROSS-1 NOT = ZERO ***OR TXW2-EMP-OSWT-LOC-TAX-1 NOT = ZERO IF LINE-5-NOT-PRINTED MOVE 1 TO LINE-CTR MOVE W2-CNFRM-DETL-LNE5 TO PRINT-REC-W2-CONFIRM MOVE 'Y' TO WS-LINE-5-PRINTED PERFORM 10300-W2-CONFIRM-PRINT END-IF MOVE 1 TO LINE-CTR MOVE W2-CNFRM-DETL-LNE6 TO PRINT-REC-W2-CONFIRM MOVE 'Y' TO WS-LINE-6-PRINTED PERFORM 10300-W2-CONFIRM-PRINT ***ELSE **** MOVE SPACES TO W2-CNFRM-DETL-LNE6 **** IF W2C-ADD5 = SPACES **** AND W2C-LN5-ALT-TT-CODE = SPACES **** AND TXW2-EMP-OSWT-GROSS-1 = ZERO **** AND TXW2-EMP-OSWT-TAX-1 = ZERO **** AND TXW2-EMP-EXCL-MVE-EXP = ZERO **** AND TXW2-EMP-457B-AMOUNT = ZERO **** MOVE SPACES TO W2-CNFRM-DETL-LNE5 Do not move spaces to fields that are zero: MOVE TXW2-EMP-NDIP-AMOUNT TO W2C-LN6-NDIP-AMT. Page 14
IF TXW2-EMP-NDIP-AMOUNT = ZERO MOVE SPACES TO W2C-LN7-INT-LITERAL ******MOVE SPACES TO W2C-LN6-NDIP-AMT-R ELSE MOVE ' (INT) ' TO W2C-LN7-INT-LITERAL ******MOVE TXW2-EMP-NDIP-AMOUNT TO W2C-LN6-NDIP-AMT END-IF. ***IF TXW2-EMP-UCRP = ZERO ******MOVE SPACES TO W2C-LN6-UCRP-AMT-R ***ELSE MOVE TXW2-EMP-UCRP TO W2C-LN6-UCRP-AMT ***END-IF. ADD to summary amounts: MOVE DESC-TOT (52) TO W2-SUM-DESC. MOVE C-DCCHOICE (1) TO W2-SUM-AMT1. MOVE C-DCCHOICE (2) TO W2-SUM-AMT2. MOVE C-DCCHOICE (3) TO W2-SUM-AMT3. PERFORM 31140-W2-CONFIRM-PRINT-TOTALS. MOVE DESC-TOT (52) TO W2-SUM-DESC. 18072288 MOVE C-DCCHOICE (2) TO W2-SUM-AMT1. 18072288 MOVE C-DCCHOICE (4) TO W2-SUM-AMT2. 18072288 MOVE C-DCCHOICE (5) TO W2-SUM-AMT3. 18072288 MOVE C-DCCHOICE (3) TO W2-SUM-AMT4. 18072288 MOVE C-DCCHOICE (6) TO W2-SUM-AMT5. 18072288 MOVE C-DCCHOICE (7) TO W2-SUM-AMT6. 18072288 PERFORM 31140-W2-CONFIRM-PRINT-TOTALS. 18072288 MOVE 2 TO TOTALS-LINE-CTR. MOVE DESC-TOT (52) TO W2-SUM-DESC. MOVE O-DCCHOICE (1) TO W2-SUM-AMT1. MOVE O-DCCHOICE (2) TO W2-SUM-AMT2. MOVE O-DCCHOICE (3) TO W2-SUM-AMT3. PERFORM 31190-W2-OUTSTAT-PRINT-TOTALS. MOVE DESC-TOT (52) TO W2-SUM-DESC. MOVE E-DCCHOICE (1) TO W2-SUM-AMT1. MOVE E-DCCHOICE (2) TO W2-SUM-AMT2. MOVE E-DCCHOICE (3) TO W2-SUM-AMT3. PERFORM 31240-EXCEP-PRINT-TOTALS. MOVE DESC-TOT (52) TO W2-SUM-DESC. MOVE A-DCCHOICE (1) TO W2-SUM-AMT1. MOVE A-DCCHOICE (2) TO W2-SUM-AMT2. MOVE A-DCCHOICE (3) TO W2-SUM-AMT3. PERFORM 31340-ALIEN-PRINT-TOTALS. PPTAXW2T PPTAXW2T produces the Federal W-2 reporting file. Add statement to move zeros to new field (field not applicable for UC): MOVE ZERO TO RW-SMALL-EMPLR-HLTH RT-SMALL-EMPLR-HLTH-TTL. Page 15
6 Unit Testing Requirements 1. Select a test region and install the changed programs into the test region using the installation instructions provided with the release. 2. Identify or setup some employees to have amounts in GTN 724. 3. Exec PPP600 using spec card: //CARDFIL DD * PPP600-SPEC417 BOTH YY AYYYE001YY Verify that DC CHOICE amounts are shown on reports per samples in BRD for reports 6017, 6008, 6007, 6019, 6009, 6021, 6020, 6011, 6014 4. Exec PPP610 using spec card: //CARDFIL DD * PPP610-SPEC17IYYYYY Verify that DC CHOICE is shown on report 6102 5. W-2 Form Printing Process Sample JCL member PRINTW2P to print the W-2 forms. (Note: The overlay, pagedef and formdef definitions have been pre-assembled in PAYT.PSF libraries. The assemble JCL members are supplied in the release JCL library (OVLYAS17 and PSFASM17). For testing purposes, you may run just the PSFPRT17or you may choose to run the assemble jobs in your own campus test libraries and adjust the USERLIB in PSFPRT17 accordingly. Your campus may have different procedures for printing W-2 forms. 6. Send the Online W-2 file to the At Your Service Online (AYSO) system for testing. Page 16