WolffPack differences report |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
|
*S*************************************************************************
*S***
*S*** WolffPack
*S***
*S*** Subprogram: WFVCN14N
*S*** System : FINANCIER
*S*** Title : Verification calc
*S*** Function : This subprogram performs federal verification.
*S***
*S*** Copyright 1995 - 2013 WolffPack, Inc. All rights reserved.
*S***
*S*************************************************************************
*S**DEFINE DATA
*S** GLOBAL USING WWGDA
*S** PARAMETER USING WWPDA
*S** PARAMETER
*S** 01 #BYPASS-STUDENT(L)
*S***
*S** LOCAL USING WFVER14D /* Passed to object subprogram
*S** LOCAL USING WFVER14R /* Passed to object subprogram
*S** LOCAL USING WFCPC14D /* Passed to object subprogram
*S** LOCAL USING WFCPC14R /* Passed to object subprogram
*S** LOCAL USING WFFEC14D /* Passed to object subprogram
*S** LOCAL USING WFFEC14R /* Passed to object subprogram
*S** LOCAL USING WFISR14D /* Passed to object subprogram
*S** LOCAL USING WFISR14R /* Passed to object subprogram
*S** LOCAL USING WWAOBJ /* Used by object subprograms
*S** LOCAL USING WWVALLDA /*
*S** LOCAL
*S** /*
*S** /* Literals utilized by Event History routine
*S** 01 #EVENT-TYPE(A5) CONST<'Verif'>
*S** 01 #EVENT-DESC(A40) INIT<' '>
*S** /*
*S** 01 #VERIFICATION-CNTL
*S** 02 #TRACK-GROUP(A2) INIT<' '>
*S** 02 #VER-RECORD(L)
*S** 02 #ISIR-RECORD(L)
*S** 02 #IRSREQ-STU(A2)
*S** 02 #IRSREQ-PAR(A2)
*S** 02 #DEP-STAT(A1)
*S** 02 #S-FILER(L)
*S** 02 #P-FILER(L)
*S** 02 #SKIP-LOGICALS
*S** 03 #SKIP-FAM-COL(L)
*S** 03 #SKIP-FAM-SIZE(L)
*S** 03 #SKIP-S-SNAP(L)
*S** 03 #SKIP-S-CSPD(L)
*S** 03 #SKIP-S-AGI(L)
*S** 03 #SKIP-S-TAX(L)
*S** 03 #SKIP-S-UNTXD(L)
*S** 03 #SKIP-P-SNAP(L)
*S** 03 #SKIP-P-CSPD(L)
*S** 03 #SKIP-P-AGI(L)
*S** 03 #SKIP-P-TAX(L)
*S** 03 #SKIP-P-UNTXD(L)
*S** /*
*S** 01 #VERIFICATION-VARS
*S** 02 #FAMILY-VER
*S** 03 #DIFF-FAM-SIZE(N2)
*S** 03 #DIFF-FAM-COL(N2)
*S** 02 #STUDENT-VER
*S** 03 #DIFF-S-SNAP(L)
*S** 03 #DIFF-S-CSPD(N6)
*S** 03 #DIFF-S-AGI(N6)
*S** 03 #DIFF-S-TAX(N6)
*S** 03 #DIFF-S-UNTXD(N6)
*S** 03 #DIFF-S-ST-INC(N6)
*S** 03 #DIFF-S-SP-INC(N6)
*S** 02 #PARENT-VER
*S** 03 #DIFF-P-SNAP(L)
*S** 03 #DIFF-P-CSPD(N6)
*S** 03 #DIFF-P-AGI(N6)
*S** 03 #DIFF-P-TAX(N6)
*S** 03 #DIFF-P-UNTXD(N6)
*S** 03 #DIFF-P-FA-INC(N6)
*S** 03 #DIFF-P-MO-INC(N6)
*S** 02 #VERF-LOGICALS
*S** 03 #VERF-AUTO(L)
*S** 03 #VERF-EXACT(L)
*S** 03 #VERF-TOLERANCE(L)
*S** 03 #VERF-FAIL(L)
*S** 02 #VER(A1)
*S** 02 #VER-FED(A1)
*S** 02 #OVERLAY(L)
*S** 02 #VER-HS-COMP(A1)
*S** 02 #VER-SEP(A1)
*S**END-DEFINE
*S***
*S***
*S*** Populate WW-GDA from WW-PDA
*S** MOVE BY POSITION WW-PDA TO WW-GDA
*S***
*S*************************************************************************
*S**PROG.
*S**REPEAT
*S** /*
*S** RESET #BYPASS-STUDENT
*S** /*
*S** /* Get federal record
*S** ASSIGN WFFEC14D.WF-FAO = ##FAO-ID
*S** ASSIGN WFFEC14D.WW-STUDENT-ID = ##STUDENT-ID
*S** ASSIGN WWAOBJ.#FUNCTION = 'GET'
*S** PERFORM CALL-OBJECT-FEDERAL
*S** IF WWAOBJ.#EXISTS
*S** IF WFFEC14D.WF-FE-F-PROF-JUDG = 'Y'
*S** MOVE 'No verification - Professional judgment flag = Y' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** ELSE
*S** MOVE 'No verification - No federal data on file' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** /*
*S** /* Get verification record
*S** ASSIGN WFVER14D.WF-FAO = ##FAO-ID
*S** ASSIGN WFVER14D.WW-STUDENT-ID = ##STUDENT-ID
*S** ASSIGN WWAOBJ.#FUNCTION = 'GET'
*S** PERFORM CALL-OBJECT-VERIFY
*S** IF WWAOBJ.#EXISTS
*S** ASSIGN #VER-RECORD = TRUE
*S** END-IF
*S** /*
*S** /* Get ISIR record
*S** ASSIGN WFISR14D.WF-FAO = ##FAO-ID
*S** ASSIGN WFISR14D.WW-STUDENT-ID = ##STUDENT-ID
*S** ASSIGN WWAOBJ.#FUNCTION = 'GET'
*S** PERFORM CALL-OBJECT-ISIR
*S** IF WWAOBJ.#EXISTS
*S** ASSIGN #ISIR-RECORD = TRUE
*S** END-IF
*S** MOVE WFISR14D.WF-IS-C-IRSREQ-STU TO #IRSREQ-STU
*S** MOVE WFISR14D.WF-IS-C-IRSREQ-PAR TO #IRSREQ-PAR
*S** /*
*S** /* Get CPS record
*S** ASSIGN WFCPC14D.WF-FAO = ##FAO-ID
*S** ASSIGN WFCPC14D.WW-STUDENT-ID = ##STUDENT-ID
*S** ASSIGN WWAOBJ.#FUNCTION = 'GET'
*S** PERFORM CALL-OBJECT-CPS
*S** /*
*S** /* Bypass calculation if:
*S** /* Batch (Always perform if invoked online - PF key) AND
*S** /* ((NOT previously verified AND NOT selected) OR
*S** /* manual reverification specified)
*S** IF ##PGM-ID NE 'WFVRFNNP' AND /* Batch process
*S** ((WFVER14D.WF-VE-VER = ' ' AND /* Prev verified
*S** (WFCPC14D.WF-CP-A-VER = ' ' OR = 'N') AND /* Fedl selection
*S** WFVER14D.WF-VE-VER-INS = ' ') OR /* Inst selection
*S** WFVER14D.WF-VE-VER-REVER = 'M') /* Manual reverif
*S** MOVE 'No verification - Not selected' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** /*
*S** /* Get dependency status
*S** PERFORM GET-DEPENDENCY #DEP-STAT
*S** /*
*S** IF NOT #VER-RECORD
*S** MOVE 'No verification - No verification data on file' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** /*
*S** RESET #VERF-LOGICALS
*S** IF WFFEC14D.WF-FE-S-FILER = 'F' OR = 'E'
*S** ASSIGN #S-FILER = TRUE
*S** END-IF
*S** IF WFFEC14D.WF-FE-P-FILER = 'F' OR = 'E'
*S** ASSIGN #P-FILER = TRUE
*S** END-IF
*S** /*
*S** /* Set up family comparisons
*S** IF #DEP-STAT = 'I'
*S** ASSIGN #DIFF-FAM-SIZE = WFFEC14D.WF-FE-S-FAM-SIZE
*S** - WFVER14D.WF-VE-S-FAM-SIZE
*S** ASSIGN #DIFF-FAM-COL = WFFEC14D.WF-FE-S-FAM-COL
*S** - WFVER14D.WF-VE-S-FAM-COL
*S** ELSE
*S** ASSIGN #DIFF-FAM-SIZE = WFFEC14D.WF-FE-P-FAM-SIZE
*S** - WFVER14D.WF-VE-P-FAM-SIZE
*S** ASSIGN #DIFF-FAM-COL = WFFEC14D.WF-FE-P-FAM-COL
*S** - WFVER14D.WF-VE-P-FAM-COL
*S** END-IF
*S** /*
*S** /* Unnecessary family comparisons
*S** /* Do not verify # in college if FAFSA value is 1
*S** /* UNLESS corresponding verification field is filled
*S** IF (#DEP-STAT = 'I' AND
*S** WFFEC14D.WF-FE-S-FAM-COL = 1 AND
*S** WFVER14D.WF-VE-S-FAM-COL = 0) OR
*S** (#DEP-STAT NE 'I' AND
*S** WFFEC14D.WF-FE-P-FAM-COL = 1 AND
*S** WFVER14D.WF-VE-P-FAM-COL = 0)
*S** ASSIGN #SKIP-FAM-COL = TRUE
*S** END-IF
*S** /*
*S** /* Set up student comparisons
*S** IF (WFFEC14D.WF-FE-S-MT-SNAP = 'Y' AND
*S** WFVER14D.WF-VE-S-MT-SNAP NE 'Y') OR
*S** (WFFEC14D.WF-FE-S-MT-SNAP NE 'Y' AND
*S** WFVER14D.WF-VE-S-MT-SNAP = 'Y')
*S** ASSIGN #DIFF-S-SNAP = TRUE
*S** END-IF
*S** ASSIGN #DIFF-S-CSPD = WFFEC14D.WF-FE-S-A-CSPD
*S** - WFVER14D.WF-VE-S-A-CSPD
*S** IF #S-FILER
*S** ASSIGN #DIFF-S-AGI = WFFEC14D.WF-FE-S-AGI
*S** - WFVER14D.WF-VE-S-AGI
*S** ASSIGN #DIFF-S-TAX = WFFEC14D.WF-FE-S-FED-TAX
*S** - WFVER14D.WF-VE-S-FED-TAX
*S** ASSIGN #DIFF-S-UNTXD = WFFEC14D.WF-FE-S-U-DIST
*S** + WFFEC14D.WF-FE-S-U-PENS
*S** + WFFEC14D.WF-FE-S-A-EDCR
*S** + WFFEC14D.WF-FE-S-U-IRA
*S** + WFFEC14D.WF-FE-S-U-INT
*S** - WFVER14D.WF-VE-S-U-DIST
*S** - WFVER14D.WF-VE-S-U-PENS
*S** - WFVER14D.WF-VE-S-A-EDCR
*S** - WFVER14D.WF-VE-S-U-IRA
*S** - WFVER14D.WF-VE-S-U-INT
*S** ELSE
*S** ASSIGN #DIFF-S-ST-INC = WFFEC14D.WF-FE-S-ST-INC
*S** - WFVER14D.WF-VE-S-ST-INC
*S** ASSIGN #DIFF-S-SP-INC = WFFEC14D.WF-FE-S-SP-INC
*S** - WFVER14D.WF-VE-S-SP-INC
*S** END-IF
*S** /*
*S** /* Set up parent comparisons
*S** IF #DEP-STAT = 'D'
*S** IF (WFFEC14D.WF-FE-P-MT-SNAP = 'Y' AND
*S** WFVER14D.WF-VE-P-MT-SNAP NE 'Y') OR
*S** (WFFEC14D.WF-FE-P-MT-SNAP NE 'Y' AND
*S** WFVER14D.WF-VE-P-MT-SNAP = 'Y')
*S** ASSIGN #DIFF-P-SNAP = TRUE
*S** END-IF
*S** ASSIGN #DIFF-P-CSPD = WFFEC14D.WF-FE-P-A-CSPD
*S** - WFVER14D.WF-VE-P-A-CSPD
*S** IF #P-FILER
*S** ASSIGN #DIFF-P-AGI = WFFEC14D.WF-FE-P-AGI
*S** - WFVER14D.WF-VE-P-AGI
*S** ASSIGN #DIFF-P-TAX = WFFEC14D.WF-FE-P-FED-TAX
*S** - WFVER14D.WF-VE-P-FED-TAX
*S** ASSIGN #DIFF-P-UNTXD = WFFEC14D.WF-FE-P-U-DIST
*S** + WFFEC14D.WF-FE-P-U-PENS
*S** + WFFEC14D.WF-FE-P-A-EDCR
*S** + WFFEC14D.WF-FE-P-U-IRA
*S** + WFFEC14D.WF-FE-P-U-INT
*S** - WFVER14D.WF-VE-P-U-DIST
*S** - WFVER14D.WF-VE-P-U-PENS
*S** - WFVER14D.WF-VE-P-A-EDCR
*S** - WFVER14D.WF-VE-P-U-IRA
*S** - WFVER14D.WF-VE-P-U-INT
*S** ELSE
*S** ASSIGN #DIFF-P-FA-INC = WFFEC14D.WF-FE-P-FA-INC
*S** - WFVER14D.WF-VE-P-FA-INC
*S** ASSIGN #DIFF-P-MO-INC = WFFEC14D.WF-FE-P-MO-INC
*S** - WFVER14D.WF-VE-P-MO-INC
*S** END-IF
*S** /*
*S** END-IF
*S** /*
*S** /* Default students with no tracking group to Group 1 (V1)
*S** /* (Most likely due to manual or institutional selection)
*S** IF WFISR14D.WF-IS-C-VER-TRACK = ' '
*S** ASSIGN #TRACK-GROUP = 'V1'
*S** ELSE
*S** ASSIGN #TRACK-GROUP = SUBSTR(WFISR14D.WF-IS-C-VER-TRACK,3,2)
*S** END-IF
*S** IF WFVER14D.WF-VE-INS-REQD NE ' '
*S** COMPRESS 'V' WFVER14D.WF-VE-INS-REQD
*S** INTO #TRACK-GROUP LEAVING NO SPACE
*S** END-IF
*S** ASSIGN #VER-HS-COMP = WFVER14D.WF-VE-S-HS-COMP
*S** ASSIGN #VER-SEP = WFVER14D.WF-VE-S-SEP
*S** /*
*S** /* HS comp and SEP flags required for V4 and V5
*S** IF #TRACK-GROUP = 'V4' OR
*S** #TRACK-GROUP = 'V5'
*S** IF #VER-HS-COMP NOT = 'Y' OR
*S** #VER-SEP NOT = 'Y'
*S** COMPRESS ' No verification - HS/SEP required for '
*S** #TRACK-GROUP 'tracking group'
*S** INTO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** END-IF
*S** /*
*S** /* Verification calc (by Verification group)
*S** /*
*S** /* Standard group (V1)
*S** IF #TRACK-GROUP = 'V1'
*S** IF #DEP-STAT = 'D'
*S** /*
*S** /* Dependent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR #DIFF-S-AGI = 0) AND
*S** (#SKIP-S-TAX OR #DIFF-S-TAX = 0) AND
*S** (#SKIP-S-UNTXD OR #DIFF-S-UNTXD = 0)) OR
*S** (NOT #S-FILER AND
*S** #DIFF-S-ST-INC = 0 AND
*S** #DIFF-S-SP-INC = 0)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR #DIFF-P-CSPD = 0) AND
*S** ((#P-FILER AND
*S** (#SKIP-P-AGI OR #DIFF-P-AGI = 0) AND
*S** (#SKIP-P-TAX OR #DIFF-P-TAX = 0) AND
*S** (#SKIP-P-UNTXD OR #DIFF-P-UNTXD = 0)) OR
*S** (NOT #P-FILER AND
*S** #DIFF-P-FA-INC = 0 AND
*S** #DIFF-P-MO-INC = 0))
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR
*S** (-25 LE #DIFF-S-AGI AND #DIFF-S-AGI LE 25)) AND
*S** (#SKIP-S-TAX OR
*S** (-25 LE #DIFF-S-TAX AND #DIFF-S-TAX LE 25)) AND
*S** (#SKIP-S-UNTXD OR
*S** (-25 LE #DIFF-S-UNTXD AND #DIFF-S-UNTXD LE 25))) OR
*S** (NOT #S-FILER AND
*S** -25 LE #DIFF-S-ST-INC AND #DIFF-S-ST-INC LE 25 AND
*S** -25 LE #DIFF-S-SP-INC AND #DIFF-S-SP-INC LE 25)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR
*S** (-25 LE #DIFF-P-CSPD AND #DIFF-P-CSPD LE 25)) AND
*S** ((#P-FILER AND
*S** (#SKIP-P-AGI OR
*S** (-25 LE #DIFF-P-AGI AND #DIFF-P-AGI LE 25)) AND
*S** (#SKIP-P-TAX OR
*S** (-25 LE #DIFF-P-TAX AND #DIFF-P-TAX LE 25)) AND
*S** (#SKIP-P-UNTXD OR
*S** (-25 LE #DIFF-P-UNTXD AND #DIFF-P-UNTXD LE 25))) OR
*S** (NOT #P-FILER AND
*S** -25 LE #DIFF-P-FA-INC AND #DIFF-P-FA-INC LE 25 AND
*S** -25 LE #DIFF-P-MO-INC AND #DIFF-P-MO-INC LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** ELSE
*S** /*
*S** /* Independent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR #DIFF-S-AGI = 0) AND
*S** (#SKIP-S-TAX OR #DIFF-S-TAX = 0) AND
*S** (#SKIP-S-UNTXD OR #DIFF-S-UNTXD = 0)) OR
*S** (NOT #S-FILER AND
*S** #DIFF-S-ST-INC = 0 AND
*S** #DIFF-S-SP-INC = 0))
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR
*S** (-25 LE #DIFF-S-AGI AND #DIFF-S-AGI LE 25)) AND
*S** (#SKIP-S-TAX OR
*S** (-25 LE #DIFF-S-TAX AND #DIFF-S-TAX LE 25)) AND
*S** (#SKIP-S-UNTXD OR
*S** (-25 LE #DIFF-S-UNTXD AND #DIFF-S-UNTXD LE 25))) OR
*S** (NOT #S-FILER AND
*S** -25 LE #DIFF-S-ST-INC AND #DIFF-S-ST-INC LE 25 AND
*S** -25 LE #DIFF-S-SP-INC AND #DIFF-S-SP-INC LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** END-IF
*S** END-IF /* V1
*S** /*
*S** /* SNAP group (V2)
*S** IF #TRACK-GROUP = 'V2'
*S** ASSIGN #SKIP-FAM-SIZE = TRUE
*S** ASSIGN #SKIP-FAM-COL = TRUE
*S** ASSIGN #SKIP-S-CSPD = TRUE
*S** ASSIGN #SKIP-S-AGI = TRUE
*S** ASSIGN #SKIP-S-TAX = TRUE
*S** ASSIGN #SKIP-S-UNTXD = TRUE
*S** ASSIGN #SKIP-P-CSPD = TRUE
*S** ASSIGN #SKIP-P-AGI = TRUE
*S** ASSIGN #SKIP-P-TAX = TRUE
*S** ASSIGN #SKIP-P-UNTXD = TRUE
*S** IF #DEP-STAT = 'D'
*S** /*
*S** /* Dependent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE)
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** ELSE
*S** /*
*S** /* Independent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE)
*S** ASSIGN #SKIP-P-SNAP = TRUE
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** END-IF
*S** END-IF /* V2
*S** /*
*S** /* Child Support group (V3)
*S** IF #TRACK-GROUP = 'V3'
*S** ASSIGN #SKIP-FAM-SIZE = TRUE
*S** ASSIGN #SKIP-FAM-COL = TRUE
*S** ASSIGN #SKIP-S-SNAP = TRUE
*S** ASSIGN #SKIP-S-AGI = TRUE
*S** ASSIGN #SKIP-S-TAX = TRUE
*S** ASSIGN #SKIP-S-UNTXD = TRUE
*S** ASSIGN #SKIP-P-SNAP = TRUE
*S** ASSIGN #SKIP-P-AGI = TRUE
*S** ASSIGN #SKIP-P-TAX = TRUE
*S** ASSIGN #SKIP-P-UNTXD = TRUE
*S** IF #DEP-STAT = 'D'
*S** /*
*S** /* Dependent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** (#SKIP-P-CSPD OR #DIFF-P-CSPD = 0)
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR
*S** (-25 LE #DIFF-P-CSPD AND #DIFF-P-CSPD LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** ELSE
*S** /*
*S** /* Independent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0)
*S** ASSIGN #SKIP-P-CSPD = TRUE
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25))
*S** ASSIGN #SKIP-P-CSPD = TRUE
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** END-IF
*S** END-IF /* V3
*S** /*
*S** /* Custom group (V4)
*S** IF #TRACK-GROUP = 'V4'
*S** ASSIGN #SKIP-FAM-SIZE = TRUE
*S** ASSIGN #SKIP-FAM-COL = TRUE
*S** ASSIGN #SKIP-S-AGI = TRUE
*S** ASSIGN #SKIP-S-TAX = TRUE
*S** ASSIGN #SKIP-S-UNTXD = TRUE
*S** ASSIGN #SKIP-P-AGI = TRUE
*S** ASSIGN #SKIP-P-TAX = TRUE
*S** ASSIGN #SKIP-P-UNTXD = TRUE
*S** IF #DEP-STAT = 'D'
*S** /*
*S** /* Dependent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR #DIFF-P-CSPD = 0)
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR
*S** (-25 LE #DIFF-P-CSPD AND #DIFF-P-CSPD LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** ELSE
*S** /*
*S** /* Independent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0)
*S** ASSIGN #SKIP-P-CSPD = TRUE
*S** ASSIGN #SKIP-P-SNAP = TRUE
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25))
*S** ASSIGN #SKIP-P-CSPD = TRUE
*S** ASSIGN #SKIP-P-SNAP = TRUE
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** END-IF
*S** END-IF /* V4
*S** /*
*S** /* Aggregate group (V5)
*S** IF #TRACK-GROUP = 'V5'
*S** IF #DEP-STAT = 'D'
*S** /*
*S** /* Dependent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR #DIFF-S-AGI = 0) AND
*S** (#SKIP-S-TAX OR #DIFF-S-TAX = 0) AND
*S** (#SKIP-S-UNTXD OR #DIFF-S-UNTXD = 0)) OR
*S** (NOT #S-FILER AND
*S** #DIFF-S-ST-INC = 0 AND
*S** #DIFF-S-SP-INC = 0)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR #DIFF-P-CSPD = 0) AND
*S** ((#P-FILER AND
*S** (#SKIP-P-AGI OR #DIFF-P-AGI = 0) AND
*S** (#SKIP-P-TAX OR #DIFF-P-TAX = 0) AND
*S** (#SKIP-P-UNTXD OR #DIFF-P-UNTXD = 0)) OR
*S** (NOT #P-FILER AND
*S** #DIFF-P-FA-INC = 0 AND
*S** #DIFF-P-MO-INC = 0))
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR
*S** (-25 LE #DIFF-S-AGI AND #DIFF-S-AGI LE 25)) AND
*S** (#SKIP-S-TAX OR
*S** (-25 LE #DIFF-S-TAX AND #DIFF-S-TAX LE 25)) AND
*S** (#SKIP-S-UNTXD OR
*S** (-25 LE #DIFF-S-UNTXD AND #DIFF-S-UNTXD LE 25))) OR
*S** (NOT #S-FILER AND
*S** -25 LE #DIFF-S-ST-INC AND #DIFF-S-ST-INC LE 25 AND
*S** -25 LE #DIFF-S-SP-INC AND #DIFF-S-SP-INC LE 25)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR
*S** (-25 LE #DIFF-P-CSPD AND #DIFF-P-CSPD LE 25)) AND
*S** ((#P-FILER AND
*S** (#SKIP-P-AGI OR
*S** (-25 LE #DIFF-P-AGI AND #DIFF-P-AGI LE 25)) AND
*S** (#SKIP-P-TAX OR
*S** (-25 LE #DIFF-P-TAX AND #DIFF-P-TAX LE 25)) AND
*S** (#SKIP-P-UNTXD OR
*S** (-25 LE #DIFF-P-UNTXD AND #DIFF-P-UNTXD LE 25))) OR
*S** (NOT #P-FILER AND
*S** -25 LE #DIFF-P-FA-INC AND #DIFF-P-FA-INC LE 25 AND
*S** -25 LE #DIFF-P-MO-INC AND #DIFF-P-MO-INC LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** ELSE
*S** /*
*S** /* Independent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR #DIFF-S-AGI = 0) AND
*S** (#SKIP-S-TAX OR #DIFF-S-TAX = 0) AND
*S** (#SKIP-S-UNTXD OR #DIFF-S-UNTXD = 0)) OR
*S** (NOT #S-FILER AND
*S** #DIFF-S-ST-INC = 0 AND
*S** #DIFF-S-SP-INC = 0))
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR
*S** (-25 LE #DIFF-S-AGI AND #DIFF-S-AGI LE 25)) AND
*S** (#SKIP-S-TAX OR
*S** (-25 LE #DIFF-S-TAX AND #DIFF-S-TAX LE 25)) AND
*S** (#SKIP-S-UNTXD OR
*S** (-25 LE #DIFF-S-UNTXD AND #DIFF-S-UNTXD LE 25))) OR
*S** (NOT #S-FILER AND
*S** -25 LE #DIFF-S-ST-INC AND #DIFF-S-ST-INC LE 25 AND
*S** -25 LE #DIFF-S-SP-INC AND #DIFF-S-SP-INC LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** END-IF
*S** END-IF /* V5
*S** /*
*S** /* Overlay
*S** /* Do not overlay if previous verification skipped fields
*S** IF #VERF-FAIL AND WFVER14D.WF-VE-VER-REVER NE 'P'
*S** CALLNAT 'WFVOL14N' WW-GDA WWVALLDA
*S** WFVER14D WFVER14D-ID
*S** WFFEC14D WFFEC14D-ID
*S** #VERIFICATION-CNTL
*S** ASSIGN #OVERLAY = TRUE
*S** ASSIGN #VERF-EXACT = TRUE
*S** RESET #VERF-TOLERANCE
*S** #VERF-FAIL
*S** MOVE 'UPDATE' TO WWAOBJ.#FUNCTION
*S** PERFORM CALL-OBJECT-FEDERAL
*S** CALLNAT 'WWDUTILN' WW-GDA WWVALLDA
*S** END-IF
*S** /*
*S** PERFORM SET-RESULTS
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S**END-REPEAT /* PROG.
*S***
*S** MOVE BY POSITION WW-GDA TO WW-PDA
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-VERIFY
*S*************************************************************************
*S** /*
*S** /* Invoke subprogram to process object
*S** CALLNAT 'WFVER14O' WW-GDA
*S** WFVER14D
*S** WFVER14D-ID
*S** WFVER14R
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-VERIFY
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-CPS
*S*************************************************************************
*S** /*
*S** /* Invoke subprogram to process object
*S** CALLNAT 'WFCPC14O' WW-GDA
*S** WFCPC14D
*S** WFCPC14D-ID
*S** WFCPC14R
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-CPS
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-FEDERAL
*S*************************************************************************
*S** /*
*S** /* Invoke subprogram to process object
*S** CALLNAT 'WFFEC14O' WW-GDA
*S** WFFEC14D
*S** WFFEC14D-ID
*S** WFFEC14R
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-FEDERAL
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-ISIR
*S*************************************************************************
*S** /*
*S** /* Invoke subprogram to process object
*S** CALLNAT 'WFISR14O' WW-GDA
*S** WFISR14D
*S** WFISR14D-ID
*S** WFISR14R
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-ISIR
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE SET-RESULTS
*S*************************************************************************
*S** /*
*S** /* Set result fields
*S** DECIDE FOR FIRST CONDITION
*S** WHEN #VERF-AUTO
*S** ASSIGN #VER = 'P'
*S** ASSIGN #VER-FED = 'V'
*S** ASSIGN ##MSG = 'PASS - AUTOMATIC'
*S** WHEN #VERF-EXACT
*S** ASSIGN #VER = 'P'
*S** ASSIGN #VER-FED = 'V'
*S** ASSIGN ##MSG = 'PASS - EXACT MATCH'
*S** WHEN #VERF-TOLERANCE
*S** ASSIGN #VER = 'T'
*S** ASSIGN #VER-FED = 'V'
*S** ASSIGN ##MSG = 'PASS - WITHIN TOLERANCE'
*S** WHEN #VERF-FAIL
*S** ASSIGN #VER = 'F'
*S** RESET #VER-FED
*S** ASSIGN ##MSG = 'FAIL - MISMATCH'
*S** WHEN NONE
*S** IGNORE
*S** END-DECIDE
*S** IF #OVERLAY
*S** ASSIGN ##MSG = 'PASS - OVERLAY'
*S** END-IF
*S** /*
*S** /* Check for change
*S** IF WFVER14D.WF-VE-VER = #VER
*S** AND WFVER14D.WF-VE-VER-FED = #VER-FED
*S** AND WFVER14D.WF-VE-VER-TRAN = WFCPC14D.WF-CP-FED-ID3
*S** AND NOT #OVERLAY
*S** MOVE 'No verification - No change' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE ROUTINE
*S** END-IF
*S** ASSIGN WFVER14D.WF-VE-VER = #VER
*S** ASSIGN WFVER14D.WF-VE-VER-FED = #VER-FED
*S** ASSIGN WFVER14D.WF-VE-VER-TRAN = WFCPC14D.WF-CP-FED-ID3
*S** ASSIGN WFVER14D.WF-VE-VER-DATE = *DATX
*S** ASSIGN WFVER14D.WF-VE-VER-REVER = 'A' /* Automatic
*S** /*
*S** /* Create event
*S** IF #VERF-AUTO OR #VERF-EXACT OR #VERF-TOLERANCE
*S** COMPRESS 'FedTran #' WFVER14D.WF-VE-VER-TRAN
*S** INTO #EVENT-DESC LEAVING NO
*S** IF #VERF-AUTO
*S** COMPRESS #EVENT-DESC '/Automatic' INTO #EVENT-DESC
*S** LEAVING NO
*S** ELSE
*S** IF #VERF-EXACT
*S** COMPRESS #EVENT-DESC '/Exact match' INTO #EVENT-DESC
*S** LEAVING NO
*S** ELSE
*S** COMPRESS #EVENT-DESC '/Within tolerance' INTO #EVENT-DESC
*S** LEAVING NO
*S** END-IF
*S** END-IF
*S** IF #OVERLAY
*S** RESET #EVENT-DESC
*S** COMPRESS 'FedTran #' WFVER14D.WF-VE-VER-TRAN '/Overlay'
*S** INTO #EVENT-DESC LEAVING NO
*S** END-IF
*S** PERFORM ADD-EVENT #EVENT-TYPE #EVENT-DESC
*S** END-IF
*S** /*
*S** /* Update verification record
*S** IF #VER-RECORD
*S** ASSIGN WWAOBJ.#FUNCTION = 'UPDATE'
*S** ELSE
*S** ASSIGN WWAOBJ.#FUNCTION = 'STORE'
*S** END-IF
*S** PERFORM CALL-OBJECT-VERIFY
*S**END-SUBROUTINE /* SET-RESULTS
*S**END
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
|
*S*************************************************************************
*S***
*S*** WolffPack
*S***
*S*** Subprogram: WFVCN14N
*S*** System : FINANCIER
*S*** Title : Verification calc
*S*** Function : This subprogram performs federal verification.
*S***
*S*** Copyright 1995 - 2013 WolffPack, Inc. All rights reserved.
*S***
*S*************************************************************************
*S**DEFINE DATA
*S** GLOBAL USING WWGDA
*S** PARAMETER USING WWPDA
*S** PARAMETER
*S** 01 #BYPASS-STUDENT(L)
*S***
*S** LOCAL USING WFVER14D /* Passed to object subprogram
*S** LOCAL USING WFVER14R /* Passed to object subprogram
*S** LOCAL USING WFCPC14D /* Passed to object subprogram
*S** LOCAL USING WFCPC14R /* Passed to object subprogram
*S** LOCAL USING WFFEC14D /* Passed to object subprogram
*S** LOCAL USING WFFEC14R /* Passed to object subprogram
*S** LOCAL USING WFISR14D /* Passed to object subprogram
*S** LOCAL USING WFISR14R /* Passed to object subprogram
*S** LOCAL USING WWAOBJ /* Used by object subprograms
*S** LOCAL USING WWVALLDA /*
*S** LOCAL
*S** /*
*S** /* Literals utilized by Event History routine
*S** 01 #EVENT-TYPE(A5) CONST<'Verif'>
*S** 01 #EVENT-DESC(A40) INIT<' '>
*S** /*
*S** 01 #VERIFICATION-CNTL
*S** 02 #TRACK-GROUP(A2) INIT<' '>
*S** 02 #VER-RECORD(L)
*S** 02 #ISIR-RECORD(L)
*S** 02 #IRSREQ-STU(A2)
*S** 02 #IRSREQ-PAR(A2)
*S** 02 #DEP-STAT(A1)
*S** 02 #S-FILER(L)
*S** 02 #P-FILER(L)
*S** 02 #SKIP-LOGICALS
*S** 03 #SKIP-FAM-COL(L)
*S** 03 #SKIP-FAM-SIZE(L)
*S** 03 #SKIP-S-SNAP(L)
*S** 03 #SKIP-S-CSPD(L)
*S** 03 #SKIP-S-AGI(L)
*S** 03 #SKIP-S-TAX(L)
*S** 03 #SKIP-S-UNTXD(L)
*S** 03 #SKIP-P-SNAP(L)
*S** 03 #SKIP-P-CSPD(L)
*S** 03 #SKIP-P-AGI(L)
*S** 03 #SKIP-P-TAX(L)
*S** 03 #SKIP-P-UNTXD(L)
*S** /*
*S** 01 #VERIFICATION-VARS
*S** 02 #FAMILY-VER
*S** 03 #DIFF-FAM-SIZE(N2)
*S** 03 #DIFF-FAM-COL(N2)
*S** 02 #STUDENT-VER
*S** 03 #DIFF-S-SNAP(L)
*S** 03 #DIFF-S-CSPD(N6)
*S** 03 #DIFF-S-AGI(N6)
*S** 03 #DIFF-S-TAX(N6)
*S** 03 #DIFF-S-UNTXD(N6)
*S** 03 #DIFF-S-ST-INC(N6)
*S** 03 #DIFF-S-SP-INC(N6)
*S** 02 #PARENT-VER
*S** 03 #DIFF-P-SNAP(L)
*S** 03 #DIFF-P-CSPD(N6)
*S** 03 #DIFF-P-AGI(N6)
*S** 03 #DIFF-P-TAX(N6)
*S** 03 #DIFF-P-UNTXD(N6)
*S** 03 #DIFF-P-FA-INC(N6)
*S** 03 #DIFF-P-MO-INC(N6)
*S** 02 #VERF-LOGICALS
*S** 03 #VERF-AUTO(L)
*S** 03 #VERF-EXACT(L)
*S** 03 #VERF-TOLERANCE(L)
*S** 03 #VERF-FAIL(L)
*S** 02 #VER(A1)
*S** 02 #VER-FED(A1)
*S** 02 #OVERLAY(L)
*S** 02 #VER-HS-COMP(A1)
*S** 02 #VER-SEP(A1)
*S**END-DEFINE
*S***
*S***
*S*** Populate WW-GDA from WW-PDA
*S** MOVE BY POSITION WW-PDA TO WW-GDA
*S***
*S*************************************************************************
*S**PROG.
*S**REPEAT
*S** /*
*S** RESET #BYPASS-STUDENT
*S** /*
*S** /* Get federal record
*S** ASSIGN WFFEC14D.WF-FAO = ##FAO-ID
*S** ASSIGN WFFEC14D.WW-STUDENT-ID = ##STUDENT-ID
*S** ASSIGN WWAOBJ.#FUNCTION = 'GET'
*S** PERFORM CALL-OBJECT-FEDERAL
*S** IF WWAOBJ.#EXISTS
*S** IF WFFEC14D.WF-FE-F-PROF-JUDG = 'Y'
*S** MOVE 'No verification - Professional judgment flag = Y' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** ELSE
*S** MOVE 'No verification - No federal data on file' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** /*
*S** /* Get verification record
*S** ASSIGN WFVER14D.WF-FAO = ##FAO-ID
*S** ASSIGN WFVER14D.WW-STUDENT-ID = ##STUDENT-ID
*S** ASSIGN WWAOBJ.#FUNCTION = 'GET'
*S** PERFORM CALL-OBJECT-VERIFY
*S** IF WWAOBJ.#EXISTS
*S** ASSIGN #VER-RECORD = TRUE
*S** END-IF
*S** /*
*S** /* Get ISIR record
*S** ASSIGN WFISR14D.WF-FAO = ##FAO-ID
*S** ASSIGN WFISR14D.WW-STUDENT-ID = ##STUDENT-ID
*S** ASSIGN WWAOBJ.#FUNCTION = 'GET'
*S** PERFORM CALL-OBJECT-ISIR
*S** IF WWAOBJ.#EXISTS
*S** ASSIGN #ISIR-RECORD = TRUE
*S** END-IF
*S** MOVE WFISR14D.WF-IS-C-IRSREQ-STU TO #IRSREQ-STU
*S** MOVE WFISR14D.WF-IS-C-IRSREQ-PAR TO #IRSREQ-PAR
*S** /*
*S** /* Get CPS record
*S** ASSIGN WFCPC14D.WF-FAO = ##FAO-ID
*S** ASSIGN WFCPC14D.WW-STUDENT-ID = ##STUDENT-ID
*S** ASSIGN WWAOBJ.#FUNCTION = 'GET'
*S** PERFORM CALL-OBJECT-CPS
*S** /*
*S** /* Bypass calculation if Batch
*S** IF ##PGM-ID NE 'WFVRFNNP' /* Batch process
*S** MOVE 'No batch verification' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** /*
*S** /* Bypass online if not selected
*S** /* (Federal or Institution)
*S** IF ##PGM-ID = 'WFVRFNNP' AND /* Online process
*S** ((WFCPC14D.WF-CP-A-VER = ' ' OR = 'N') AND /* Fedl selection
*S** (WFVER14D.WF-VE-VER-INS = ' ' OR = 'N')) /* Inst selection
*S** MOVE 'No verification - Not selected' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** /*
*S** /* Get dependency status
*S** PERFORM GET-DEPENDENCY #DEP-STAT
*S** /*
*S** IF NOT #VER-RECORD
*S** MOVE 'No verification - No verification data on file' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** /*
*S** RESET #VERF-LOGICALS
*S** IF WFFEC14D.WF-FE-S-FILER = 'F' OR = 'E'
*S** ASSIGN #S-FILER = TRUE
*S** END-IF
*S** IF WFFEC14D.WF-FE-P-FILER = 'F' OR = 'E'
*S** ASSIGN #P-FILER = TRUE
*S** END-IF
*S** /*
*S** /* Set up family comparisons
*S** IF #DEP-STAT = 'I'
*S** ASSIGN #DIFF-FAM-SIZE = WFFEC14D.WF-FE-S-FAM-SIZE
*S** - WFVER14D.WF-VE-S-FAM-SIZE
*S** ASSIGN #DIFF-FAM-COL = WFFEC14D.WF-FE-S-FAM-COL
*S** - WFVER14D.WF-VE-S-FAM-COL
*S** ELSE
*S** ASSIGN #DIFF-FAM-SIZE = WFFEC14D.WF-FE-P-FAM-SIZE
*S** - WFVER14D.WF-VE-P-FAM-SIZE
*S** ASSIGN #DIFF-FAM-COL = WFFEC14D.WF-FE-P-FAM-COL
*S** - WFVER14D.WF-VE-P-FAM-COL
*S** END-IF
*S** /*
*S** /* Unnecessary family comparisons
*S** /* Do not verify # in college if FAFSA value is 1
*S** /* UNLESS corresponding verification field is filled
*S** IF (#DEP-STAT = 'I' AND
*S** WFFEC14D.WF-FE-S-FAM-COL = 1 AND
*S** WFVER14D.WF-VE-S-FAM-COL = 0) OR
*S** (#DEP-STAT NE 'I' AND
*S** WFFEC14D.WF-FE-P-FAM-COL = 1 AND
*S** WFVER14D.WF-VE-P-FAM-COL = 0)
*S** ASSIGN #SKIP-FAM-COL = TRUE
*S** END-IF
*S** /*
*S** /* Set up student comparisons
*S** IF (WFFEC14D.WF-FE-S-MT-SNAP = 'Y' AND
*S** WFVER14D.WF-VE-S-MT-SNAP NE 'Y') OR
*S** (WFFEC14D.WF-FE-S-MT-SNAP NE 'Y' AND
*S** WFVER14D.WF-VE-S-MT-SNAP = 'Y')
*S** ASSIGN #DIFF-S-SNAP = TRUE
*S** END-IF
*S** ASSIGN #DIFF-S-CSPD = WFFEC14D.WF-FE-S-A-CSPD
*S** - WFVER14D.WF-VE-S-A-CSPD
*S** IF #S-FILER
*S** ASSIGN #DIFF-S-AGI = WFFEC14D.WF-FE-S-AGI
*S** - WFVER14D.WF-VE-S-AGI
*S** ASSIGN #DIFF-S-TAX = WFFEC14D.WF-FE-S-FED-TAX
*S** - WFVER14D.WF-VE-S-FED-TAX
*S** ASSIGN #DIFF-S-UNTXD = WFFEC14D.WF-FE-S-U-DIST
*S** + WFFEC14D.WF-FE-S-U-PENS
*S** + WFFEC14D.WF-FE-S-A-EDCR
*S** + WFFEC14D.WF-FE-S-U-IRA
*S** + WFFEC14D.WF-FE-S-U-INT
*S** - WFVER14D.WF-VE-S-U-DIST
*S** - WFVER14D.WF-VE-S-U-PENS
*S** - WFVER14D.WF-VE-S-A-EDCR
*S** - WFVER14D.WF-VE-S-U-IRA
*S** - WFVER14D.WF-VE-S-U-INT
*S** ELSE
*S** ASSIGN #DIFF-S-ST-INC = WFFEC14D.WF-FE-S-ST-INC
*S** - WFVER14D.WF-VE-S-ST-INC
*S** ASSIGN #DIFF-S-SP-INC = WFFEC14D.WF-FE-S-SP-INC
*S** - WFVER14D.WF-VE-S-SP-INC
*S** END-IF
*S** /*
*S** /* Set up parent comparisons
*S** IF #DEP-STAT = 'D'
*S** IF (WFFEC14D.WF-FE-P-MT-SNAP = 'Y' AND
*S** WFVER14D.WF-VE-P-MT-SNAP NE 'Y') OR
*S** (WFFEC14D.WF-FE-P-MT-SNAP NE 'Y' AND
*S** WFVER14D.WF-VE-P-MT-SNAP = 'Y')
*S** ASSIGN #DIFF-P-SNAP = TRUE
*S** END-IF
*S** ASSIGN #DIFF-P-CSPD = WFFEC14D.WF-FE-P-A-CSPD
*S** - WFVER14D.WF-VE-P-A-CSPD
*S** IF #P-FILER
*S** ASSIGN #DIFF-P-AGI = WFFEC14D.WF-FE-P-AGI
*S** - WFVER14D.WF-VE-P-AGI
*S** ASSIGN #DIFF-P-TAX = WFFEC14D.WF-FE-P-FED-TAX
*S** - WFVER14D.WF-VE-P-FED-TAX
*S** ASSIGN #DIFF-P-UNTXD = WFFEC14D.WF-FE-P-U-DIST
*S** + WFFEC14D.WF-FE-P-U-PENS
*S** + WFFEC14D.WF-FE-P-A-EDCR
*S** + WFFEC14D.WF-FE-P-U-IRA
*S** + WFFEC14D.WF-FE-P-U-INT
*S** - WFVER14D.WF-VE-P-U-DIST
*S** - WFVER14D.WF-VE-P-U-PENS
*S** - WFVER14D.WF-VE-P-A-EDCR
*S** - WFVER14D.WF-VE-P-U-IRA
*S** - WFVER14D.WF-VE-P-U-INT
*S** ELSE
*S** ASSIGN #DIFF-P-FA-INC = WFFEC14D.WF-FE-P-FA-INC
*S** - WFVER14D.WF-VE-P-FA-INC
*S** ASSIGN #DIFF-P-MO-INC = WFFEC14D.WF-FE-P-MO-INC
*S** - WFVER14D.WF-VE-P-MO-INC
*S** END-IF
*S** /*
*S** END-IF
*S** /*
*S** /* Default students with no tracking group to Group 1 (V1)
*S** /* (Most likely due to manual or institutional selection)
*S** IF WFISR14D.WF-IS-C-VER-TRACK = ' '
*S** ASSIGN #TRACK-GROUP = 'V1'
*S** ELSE
*S** ASSIGN #TRACK-GROUP = SUBSTR(WFISR14D.WF-IS-C-VER-TRACK,3,2)
*S** END-IF
*S** IF WFVER14D.WF-VE-INS-REQD NE ' '
*S** COMPRESS 'V' WFVER14D.WF-VE-INS-REQD
*S** INTO #TRACK-GROUP LEAVING NO SPACE
*S** END-IF
*S** ASSIGN #VER-HS-COMP = WFVER14D.WF-VE-S-HS-COMP
*S** ASSIGN #VER-SEP = WFVER14D.WF-VE-S-SEP
*S** /*
*S** /* HS comp and SEP flags required for V4 and V5
*S** IF #TRACK-GROUP = 'V4' OR
*S** #TRACK-GROUP = 'V5'
*S** IF #VER-HS-COMP NOT = 'Y' OR
*S** #VER-SEP NOT = 'Y'
*S** COMPRESS ' No verification - HS/SEP required for '
*S** #TRACK-GROUP 'tracking group'
*S** INTO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** END-IF
*S** /*
*S** /* Verification calc (by Verification group)
*S** /*
*S** /* Standard group (V1)
*S** IF #TRACK-GROUP = 'V1'
*S** IF #DEP-STAT = 'D'
*S** /*
*S** /* Dependent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR #DIFF-S-AGI = 0) AND
*S** (#SKIP-S-TAX OR #DIFF-S-TAX = 0) AND
*S** (#SKIP-S-UNTXD OR #DIFF-S-UNTXD = 0)) OR
*S** (NOT #S-FILER AND
*S** #DIFF-S-ST-INC = 0 AND
*S** #DIFF-S-SP-INC = 0)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR #DIFF-P-CSPD = 0) AND
*S** ((#P-FILER AND
*S** (#SKIP-P-AGI OR #DIFF-P-AGI = 0) AND
*S** (#SKIP-P-TAX OR #DIFF-P-TAX = 0) AND
*S** (#SKIP-P-UNTXD OR #DIFF-P-UNTXD = 0)) OR
*S** (NOT #P-FILER AND
*S** #DIFF-P-FA-INC = 0 AND
*S** #DIFF-P-MO-INC = 0))
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR
*S** (-25 LE #DIFF-S-AGI AND #DIFF-S-AGI LE 25)) AND
*S** (#SKIP-S-TAX OR
*S** (-25 LE #DIFF-S-TAX AND #DIFF-S-TAX LE 25)) AND
*S** (#SKIP-S-UNTXD OR
*S** (-25 LE #DIFF-S-UNTXD AND #DIFF-S-UNTXD LE 25))) OR
*S** (NOT #S-FILER AND
*S** -25 LE #DIFF-S-ST-INC AND #DIFF-S-ST-INC LE 25 AND
*S** -25 LE #DIFF-S-SP-INC AND #DIFF-S-SP-INC LE 25)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR
*S** (-25 LE #DIFF-P-CSPD AND #DIFF-P-CSPD LE 25)) AND
*S** ((#P-FILER AND
*S** (#SKIP-P-AGI OR
*S** (-25 LE #DIFF-P-AGI AND #DIFF-P-AGI LE 25)) AND
*S** (#SKIP-P-TAX OR
*S** (-25 LE #DIFF-P-TAX AND #DIFF-P-TAX LE 25)) AND
*S** (#SKIP-P-UNTXD OR
*S** (-25 LE #DIFF-P-UNTXD AND #DIFF-P-UNTXD LE 25))) OR
*S** (NOT #P-FILER AND
*S** -25 LE #DIFF-P-FA-INC AND #DIFF-P-FA-INC LE 25 AND
*S** -25 LE #DIFF-P-MO-INC AND #DIFF-P-MO-INC LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** ELSE
*S** /*
*S** /* Independent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR #DIFF-S-AGI = 0) AND
*S** (#SKIP-S-TAX OR #DIFF-S-TAX = 0) AND
*S** (#SKIP-S-UNTXD OR #DIFF-S-UNTXD = 0)) OR
*S** (NOT #S-FILER AND
*S** #DIFF-S-ST-INC = 0 AND
*S** #DIFF-S-SP-INC = 0))
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR
*S** (-25 LE #DIFF-S-AGI AND #DIFF-S-AGI LE 25)) AND
*S** (#SKIP-S-TAX OR
*S** (-25 LE #DIFF-S-TAX AND #DIFF-S-TAX LE 25)) AND
*S** (#SKIP-S-UNTXD OR
*S** (-25 LE #DIFF-S-UNTXD AND #DIFF-S-UNTXD LE 25))) OR
*S** (NOT #S-FILER AND
*S** -25 LE #DIFF-S-ST-INC AND #DIFF-S-ST-INC LE 25 AND
*S** -25 LE #DIFF-S-SP-INC AND #DIFF-S-SP-INC LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** END-IF
*S** END-IF /* V1
*S** /*
*S** /* SNAP group (V2)
*S** IF #TRACK-GROUP = 'V2'
*S** ASSIGN #SKIP-FAM-SIZE = TRUE
*S** ASSIGN #SKIP-FAM-COL = TRUE
*S** ASSIGN #SKIP-S-CSPD = TRUE
*S** ASSIGN #SKIP-S-AGI = TRUE
*S** ASSIGN #SKIP-S-TAX = TRUE
*S** ASSIGN #SKIP-S-UNTXD = TRUE
*S** ASSIGN #SKIP-P-CSPD = TRUE
*S** ASSIGN #SKIP-P-AGI = TRUE
*S** ASSIGN #SKIP-P-TAX = TRUE
*S** ASSIGN #SKIP-P-UNTXD = TRUE
*S** IF #DEP-STAT = 'D'
*S** /*
*S** /* Dependent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE)
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** ELSE
*S** /*
*S** /* Independent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE)
*S** ASSIGN #SKIP-P-SNAP = TRUE
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** END-IF
*S** END-IF /* V2
*S** /*
*S** /* Child Support group (V3)
*S** IF #TRACK-GROUP = 'V3'
*S** ASSIGN #SKIP-FAM-SIZE = TRUE
*S** ASSIGN #SKIP-FAM-COL = TRUE
*S** ASSIGN #SKIP-S-SNAP = TRUE
*S** ASSIGN #SKIP-S-AGI = TRUE
*S** ASSIGN #SKIP-S-TAX = TRUE
*S** ASSIGN #SKIP-S-UNTXD = TRUE
*S** ASSIGN #SKIP-P-SNAP = TRUE
*S** ASSIGN #SKIP-P-AGI = TRUE
*S** ASSIGN #SKIP-P-TAX = TRUE
*S** ASSIGN #SKIP-P-UNTXD = TRUE
*S** IF #DEP-STAT = 'D'
*S** /*
*S** /* Dependent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** (#SKIP-P-CSPD OR #DIFF-P-CSPD = 0)
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR
*S** (-25 LE #DIFF-P-CSPD AND #DIFF-P-CSPD LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** ELSE
*S** /*
*S** /* Independent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0)
*S** ASSIGN #SKIP-P-CSPD = TRUE
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25))
*S** ASSIGN #SKIP-P-CSPD = TRUE
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** END-IF
*S** END-IF /* V3
*S** /*
*S** /* Custom group (V4)
*S** IF #TRACK-GROUP = 'V4'
*S** ASSIGN #SKIP-FAM-SIZE = TRUE
*S** ASSIGN #SKIP-FAM-COL = TRUE
*S** ASSIGN #SKIP-S-AGI = TRUE
*S** ASSIGN #SKIP-S-TAX = TRUE
*S** ASSIGN #SKIP-S-UNTXD = TRUE
*S** ASSIGN #SKIP-P-AGI = TRUE
*S** ASSIGN #SKIP-P-TAX = TRUE
*S** ASSIGN #SKIP-P-UNTXD = TRUE
*S** IF #DEP-STAT = 'D'
*S** /*
*S** /* Dependent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR #DIFF-P-CSPD = 0)
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR
*S** (-25 LE #DIFF-P-CSPD AND #DIFF-P-CSPD LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** ELSE
*S** /*
*S** /* Independent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0)
*S** ASSIGN #SKIP-P-CSPD = TRUE
*S** ASSIGN #SKIP-P-SNAP = TRUE
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25))
*S** ASSIGN #SKIP-P-CSPD = TRUE
*S** ASSIGN #SKIP-P-SNAP = TRUE
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** END-IF
*S** END-IF /* V4
*S** /*
*S** /* Aggregate group (V5)
*S** IF #TRACK-GROUP = 'V5'
*S** IF #DEP-STAT = 'D'
*S** /*
*S** /* Dependent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR #DIFF-S-AGI = 0) AND
*S** (#SKIP-S-TAX OR #DIFF-S-TAX = 0) AND
*S** (#SKIP-S-UNTXD OR #DIFF-S-UNTXD = 0)) OR
*S** (NOT #S-FILER AND
*S** #DIFF-S-ST-INC = 0 AND
*S** #DIFF-S-SP-INC = 0)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR #DIFF-P-CSPD = 0) AND
*S** ((#P-FILER AND
*S** (#SKIP-P-AGI OR #DIFF-P-AGI = 0) AND
*S** (#SKIP-P-TAX OR #DIFF-P-TAX = 0) AND
*S** (#SKIP-P-UNTXD OR #DIFF-P-UNTXD = 0)) OR
*S** (NOT #P-FILER AND
*S** #DIFF-P-FA-INC = 0 AND
*S** #DIFF-P-MO-INC = 0))
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR
*S** (-25 LE #DIFF-S-AGI AND #DIFF-S-AGI LE 25)) AND
*S** (#SKIP-S-TAX OR
*S** (-25 LE #DIFF-S-TAX AND #DIFF-S-TAX LE 25)) AND
*S** (#SKIP-S-UNTXD OR
*S** (-25 LE #DIFF-S-UNTXD AND #DIFF-S-UNTXD LE 25))) OR
*S** (NOT #S-FILER AND
*S** -25 LE #DIFF-S-ST-INC AND #DIFF-S-ST-INC LE 25 AND
*S** -25 LE #DIFF-S-SP-INC AND #DIFF-S-SP-INC LE 25)) AND
*S** (#SKIP-P-SNAP OR #DIFF-P-SNAP = FALSE) AND
*S** (#SKIP-P-CSPD OR
*S** (-25 LE #DIFF-P-CSPD AND #DIFF-P-CSPD LE 25)) AND
*S** ((#P-FILER AND
*S** (#SKIP-P-AGI OR
*S** (-25 LE #DIFF-P-AGI AND #DIFF-P-AGI LE 25)) AND
*S** (#SKIP-P-TAX OR
*S** (-25 LE #DIFF-P-TAX AND #DIFF-P-TAX LE 25)) AND
*S** (#SKIP-P-UNTXD OR
*S** (-25 LE #DIFF-P-UNTXD AND #DIFF-P-UNTXD LE 25))) OR
*S** (NOT #P-FILER AND
*S** -25 LE #DIFF-P-FA-INC AND #DIFF-P-FA-INC LE 25 AND
*S** -25 LE #DIFF-P-MO-INC AND #DIFF-P-MO-INC LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** ELSE
*S** /*
*S** /* Independent student verification
*S** DECIDE FOR FIRST CONDITION
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR #DIFF-S-CSPD = 0) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR #DIFF-S-AGI = 0) AND
*S** (#SKIP-S-TAX OR #DIFF-S-TAX = 0) AND
*S** (#SKIP-S-UNTXD OR #DIFF-S-UNTXD = 0)) OR
*S** (NOT #S-FILER AND
*S** #DIFF-S-ST-INC = 0 AND
*S** #DIFF-S-SP-INC = 0))
*S** ASSIGN #VERF-EXACT = TRUE
*S** WHEN #VER-HS-COMP = 'Y' AND
*S** #VER-SEP = 'Y' AND
*S** (#SKIP-FAM-SIZE OR #DIFF-FAM-SIZE = 0) AND
*S** (#SKIP-FAM-COL OR #DIFF-FAM-COL = 0) AND
*S** (#SKIP-S-SNAP OR #DIFF-S-SNAP = FALSE) AND
*S** (#SKIP-S-CSPD OR
*S** (-25 LE #DIFF-S-CSPD AND #DIFF-S-CSPD LE 25)) AND
*S** ((#S-FILER AND
*S** (#SKIP-S-AGI OR
*S** (-25 LE #DIFF-S-AGI AND #DIFF-S-AGI LE 25)) AND
*S** (#SKIP-S-TAX OR
*S** (-25 LE #DIFF-S-TAX AND #DIFF-S-TAX LE 25)) AND
*S** (#SKIP-S-UNTXD OR
*S** (-25 LE #DIFF-S-UNTXD AND #DIFF-S-UNTXD LE 25))) OR
*S** (NOT #S-FILER AND
*S** -25 LE #DIFF-S-ST-INC AND #DIFF-S-ST-INC LE 25 AND
*S** -25 LE #DIFF-S-SP-INC AND #DIFF-S-SP-INC LE 25))
*S** ASSIGN #VERF-TOLERANCE = TRUE
*S** WHEN NONE
*S** ASSIGN #VERF-FAIL = TRUE
*S** END-DECIDE
*S** END-IF
*S** END-IF /* V5
*S** /*
*S** /* Overlay
*S** /* Do not overlay if previous verification skipped fields
*S** IF #VERF-FAIL AND WFVER14D.WF-VE-VER-REVER NE 'P'
*S** CALLNAT 'WFVOL14N' WW-GDA WWVALLDA
*S** WFVER14D WFVER14D-ID
*S** WFFEC14D WFFEC14D-ID
*S** #VERIFICATION-CNTL
*S** ASSIGN #OVERLAY = TRUE
*S** ASSIGN #VERF-EXACT = TRUE
*S** RESET #VERF-TOLERANCE
*S** #VERF-FAIL
*S** MOVE 'UPDATE' TO WWAOBJ.#FUNCTION
*S** PERFORM CALL-OBJECT-FEDERAL
*S** CALLNAT 'WWDUTILN' WW-GDA WWVALLDA
*S** END-IF
*S** /*
*S** PERFORM SET-RESULTS
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S**END-REPEAT /* PROG.
*S***
*S** MOVE BY POSITION WW-GDA TO WW-PDA
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-VERIFY
*S*************************************************************************
*S** /*
*S** /* Invoke subprogram to process object
*S** CALLNAT 'WFVER14O' WW-GDA
*S** WFVER14D
*S** WFVER14D-ID
*S** WFVER14R
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-VERIFY
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-CPS
*S*************************************************************************
*S** /*
*S** /* Invoke subprogram to process object
*S** CALLNAT 'WFCPC14O' WW-GDA
*S** WFCPC14D
*S** WFCPC14D-ID
*S** WFCPC14R
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-CPS
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-FEDERAL
*S*************************************************************************
*S** /*
*S** /* Invoke subprogram to process object
*S** CALLNAT 'WFFEC14O' WW-GDA
*S** WFFEC14D
*S** WFFEC14D-ID
*S** WFFEC14R
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-FEDERAL
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-ISIR
*S*************************************************************************
*S** /*
*S** /* Invoke subprogram to process object
*S** CALLNAT 'WFISR14O' WW-GDA
*S** WFISR14D
*S** WFISR14D-ID
*S** WFISR14R
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-ISIR
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE SET-RESULTS
*S*************************************************************************
*S** /*
*S** /* Set result fields
*S** DECIDE FOR FIRST CONDITION
*S** WHEN #VERF-AUTO
*S** ASSIGN #VER = 'P'
*S** ASSIGN #VER-FED = 'V'
*S** ASSIGN ##MSG = 'PASS - AUTOMATIC'
*S** WHEN #VERF-EXACT
*S** ASSIGN #VER = 'P'
*S** ASSIGN #VER-FED = 'V'
*S** ASSIGN ##MSG = 'PASS - EXACT MATCH'
*S** WHEN #VERF-TOLERANCE
*S** ASSIGN #VER = 'T'
*S** ASSIGN #VER-FED = 'V'
*S** ASSIGN ##MSG = 'PASS - WITHIN TOLERANCE'
*S** WHEN #VERF-FAIL
*S** ASSIGN #VER = 'F'
*S** RESET #VER-FED
*S** ASSIGN ##MSG = 'FAIL - MISMATCH'
*S** WHEN NONE
*S** IGNORE
*S** END-DECIDE
*S** IF #OVERLAY
*S** ASSIGN ##MSG = 'PASS - OVERLAY'
*S** END-IF
*S** /*
*S** /* Check for change
*S** IF WFVER14D.WF-VE-VER = #VER
*S** AND WFVER14D.WF-VE-VER-FED = #VER-FED
*S** AND WFVER14D.WF-VE-VER-TRAN = WFCPC14D.WF-CP-FED-ID3
*S** AND NOT #OVERLAY
*S** MOVE 'No verification - No change' TO ##MSG
*S** ASSIGN #BYPASS-STUDENT = TRUE
*S** ESCAPE ROUTINE
*S** END-IF
*S** ASSIGN WFVER14D.WF-VE-VER = #VER
*S** ASSIGN WFVER14D.WF-VE-VER-FED = #VER-FED
*S** ASSIGN WFVER14D.WF-VE-VER-TRAN = WFCPC14D.WF-CP-FED-ID3
*S** ASSIGN WFVER14D.WF-VE-VER-DATE = *DATX
*S** ASSIGN WFVER14D.WF-VE-VER-REVER = 'A' /* Automatic
*S** /*
*S** /* Create event
*S** IF #VERF-AUTO OR #VERF-EXACT OR #VERF-TOLERANCE
*S** COMPRESS 'FedTran #' WFVER14D.WF-VE-VER-TRAN
*S** INTO #EVENT-DESC LEAVING NO
*S** IF #VERF-AUTO
*S** COMPRESS #EVENT-DESC '/Automatic' INTO #EVENT-DESC
*S** LEAVING NO
*S** ELSE
*S** IF #VERF-EXACT
*S** COMPRESS #EVENT-DESC '/Exact match' INTO #EVENT-DESC
*S** LEAVING NO
*S** ELSE
*S** COMPRESS #EVENT-DESC '/Within tolerance' INTO #EVENT-DESC
*S** LEAVING NO
*S** END-IF
*S** END-IF
*S** IF #OVERLAY
*S** RESET #EVENT-DESC
*S** COMPRESS 'FedTran #' WFVER14D.WF-VE-VER-TRAN '/Overlay'
*S** INTO #EVENT-DESC LEAVING NO
*S** END-IF
*S** PERFORM ADD-EVENT #EVENT-TYPE #EVENT-DESC
*S** END-IF
*S** /*
*S** /* Update verification record
*S** IF #VER-RECORD
*S** ASSIGN WWAOBJ.#FUNCTION = 'UPDATE'
*S** ELSE
*S** ASSIGN WWAOBJ.#FUNCTION = 'STORE'
*S** END-IF
*S** PERFORM CALL-OBJECT-VERIFY
*S**END-SUBROUTINE /* SET-RESULTS
*S**END
|