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
|
*S*************************************************************************
*S***
*S*** WolffPack
*S***
*S*** Program : WFNANCLB
*S*** System : FINANCIER
*S*** Title : Batch Need Analysis calc
*S*** Function : This program performs the Need Analysis calculation
*S*** routine for a group of students.
*S*** It sequentially reads the Aidyear records for an FAO.
*S***
*S*** Copyright 1995 - 2004 WolffPack, Inc. All rights reserved.
*S***
*S*************************************************************************
*S**DEFINE DATA
*S** GLOBAL USING WWGDA
*S***
*S** LOCAL USING WWREQIBD /* Input parameter PDA
*S** LOCAL USING WFAIDYRD /* Passed to object subprogram
*S** LOCAL USING WFAIDYRR /* Passed to object subprogram
*S** LOCAL USING WWAOBJ /* Used by object subprograms
*S***
*S** LOCAL
*S** 01 #MAX-READ(P3) INIT<50>
*S** 01 #MAX-WRITE(P3) INIT<10>
*S** 01 #ET-READ-COUNTER(P7)
*S** 01 #ET-WRITE-COUNTER(P7)
*S***
*S** 01 #READ-COUNTER(P7)
*S** 01 #BYPASS-COUNTER(P7)
*S** 01 #WRITE-COUNTER(P7)
*S***
*S** 01 #END-KEY
*S** 02 WF-AID-YEAR(A4)
*S** 02 WF-FAO(A2)
*S** 02 WW-STUDENT-ID(A9)
*S** 01 REDEFINE #END-KEY
*S** 02 #END-KEY-RED(A15)
*S***
*S** 01 #PASS-FIELDS
*S** 02 #STATUS-FUNCTION(A8)
*S** 02 #STATUS-DECISION(A1)
*S***
*S** 01 #CORR-STATUS
*S** 02 #CORR-PEND(L)
*S** 02 #CORR-XMIT(L)
*S** 02 #CORR-XMIT-DATE(D)
*S***
*S** 01 #EFC-COMPARE
*S** 02 #REC-CPS(L)
*S** 02 #REJ-CPS(L)
*S** 02 #EFC-CPS(P7)
*S** 02 #EFC-FIN(P7)
*S** 01 #EFC-MSG(A12)
*S**END-DEFINE
*S***
*S*** Define printers, formats, headings
*S**DEFINE PRINTER(1)
*S**FORMAT(1) LS=80 PS=60 ZP=ON IS=OFF ES=OFF SG=OFF
*S**DEFINE PRINTER(3)
*S**FORMAT(3) LS=80 PS=60 ZP=ON IS=OFF ES=OFF SG=OFF
*S**DEFINE PRINTER(4)
*S**FORMAT(4) LS=80 PS=60 ZP=ON IS=OFF ES=OFF SG=OFF
*S***
*S**AT TOP OF PAGE(1)
*S** WRITE(1) NOTITLE ##PGM-ID
*S** 18T '*** FINANCIER NEED ANALYSIS CALCULATION ***'
*S** 71T 'Page' *PAGE-NUMBER(1)(EM=ZZ9)
*S** / *DATX(EM=LLL' 'DD', 'YYYY)
*S** 28T 'Processing Counts/Errors'
*S** 71T *TIMX(EM=HH':'II' 'AP)
*S**END-TOPPAGE
*S**AT TOP OF PAGE(3)
*S** WRITE(3) NOTITLE ##PGM-ID
*S** 18T '*** FINANCIER NEED ANALYSIS CALCULATION ***'
*S** 71T 'Page' *PAGE-NUMBER(3)(EM=ZZ9)
*S** / *DATX(EM=LLL' 'DD', 'YYYY)
*S** 30T 'Limited Trial/Sample'
*S** 71T *TIMX(EM=HH':'II' 'AP)
*S** // 31T 'Aid Year:' ##DISP-AY
*S** / 36T ##DISP-LIT ##DISP-FAO
*S** /// 'StudentID Name'
*S** SKIP(3) 1
*S**END-TOPPAGE
*S**AT TOP OF PAGE(4)
*S** WRITE(4) NOTITLE ##PGM-ID
*S** 18T '*** FINANCIER NEED ANALYSIS CALCULATION ***'
*S** 71T 'Page' *PAGE-NUMBER(4)(EM=ZZ9)
*S** / *DATX(EM=LLL' 'DD', 'YYYY)
*S** 27T 'CPS/FINANCIER EFC Mismatches'
*S** 71T *TIMX(EM=HH':'II' 'AP)
*S** // 31T 'Aid Year:' ##DISP-AY
*S** / 36T ##DISP-LIT ##DISP-FAO
*S** /// ' StudentID Name '
*S** ' CPS EFC FIN EFC'
*S** SKIP(4) 1
*S**END-TOPPAGE
*S***
*S**ASSIGN ##PGM-ID = *PROGRAM
*S**ASSIGN ##BYPASS-TRANSLATION = 'B'
*S***
*S**IF *DEVICE = 'BATCH' THEN
*S** SET CONTROL 'D' /* Set delimiter mode for batch input
*S**END-IF
*S***
*S*************************************************************************
*S***
*S*** Read and edit input parameters
*S** INPUT(AD=MITL'_' SG=ON IP=OFF ZP=OFF)
*S** 'Aid Year:' #INPUT-AID-YEAR /
*S** 'Term:' #INPUT-TERM /
*S** 'FAO:' #INPUT-FAO /
*S** 'Run Mode:' #INPUT-RUNMODE /
*S** 'Effective Date:' #INPUT-EFF-DATE /
*S** WRITE(1) ' '
*S** PERFORM REQUIRED-FIELD-BATCH WWREQIBD
*S** WRITE(1)
*S** 31T 'Aid Year:' ##DISP-AY /
*S** 36T ##DISP-LIT ##DISP-FAO ///
*S***
*S*** Set up keys for sequential file processing
*S** RESET WFAIDYRD
*S** ASSIGN WFAIDYRD.WF-AID-YEAR = ##AID-YEAR
*S** ASSIGN WFAIDYRD.WF-FAO = ##FAO-ID
*S** MOVE BY NAME WFAIDYRD TO #END-KEY
*S** MOVE ALL H'FF' TO #END-KEY.WW-STUDENT-ID
*S***
*S***
*S**PROG.
*S** REPEAT
*S** /*
*S** /* Read next AIDYEAR record
*S** MOVE 'NEXT' TO WWAOBJ.#FUNCTION
*S** PERFORM CALL-OBJECT-AIDYEAR
*S** /*
*S** /* End of records to be processed
*S** IF NOT WWAOBJ.#EXISTS OR
*S** WFAIDYRD-ID > #END-KEY-RED
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** /*
*S** ADD 1 TO #READ-COUNTER
*S** ADD 1 TO #ET-READ-COUNTER
*S** IF #ET-READ-COUNTER > #MAX-READ
*S** PERFORM COMMIT-OR-BACKOUT
*S** END-IF
*S** /*
*S** MOVE WFAIDYRD.WW-STUDENT-ID TO ##STUDENT-ID
*S** PERFORM GET-STUDENT-INFO
*S** PERFORM AIDYEAR-REC-VERIFY
*S** /*
*S** /* Perform Decision status lookup
*S** MOVE 'NeedCalc' TO #STATUS-FUNCTION
*S** PERFORM GET-STATUS-FUNCTION #STATUS-FUNCTION
*S** #STATUS-DECISION
*S** /*
*S** /* Perform Need Analysis calc
*S** IF #STATUS-DECISION = 'Y'
*S** /*
*S** /* Capture pre-calc value for sample-mode report
*S** MOVE WFAIDYRD.WF-AY-M1-FC TO #EFC-FIN
*S** /*
*S** PERFORM CALC-NEED-ANALYSIS
*S** ADD 1 TO #WRITE-COUNTER
*S** ADD 1 TO #ET-WRITE-COUNTER
*S** IF #ET-WRITE-COUNTER > #MAX-WRITE
*S** PERFORM COMMIT-OR-BACKOUT
*S** END-IF
*S** /*
*S** /* If limited run, print Report 3 line
*S** IF #INPUT-LIMIT-COUNT > 0
*S** MOVE 'GET' TO WWAOBJ.#FUNCTION
*S** PERFORM CALL-OBJECT-AIDYEAR
*S** RESET #EFC-MSG
*S** IF WFAIDYRD.WF-AY-M1-FC = #EFC-FIN
*S** MOVE 'No change' TO #EFC-MSG
*S** END-IF
*S** WRITE(3) ##SID ##COMP-NAME #EFC-MSG
*S** END-IF
*S** /*
*S** /* If EFC mismatch, print Report 4 line
*S** RESET #EFC-MSG
*S** PERFORM GET-EFCS #EFC-COMPARE
*S** IF #REC-CPS AND #EFC-CPS NE #EFC-FIN
*S** IF #REJ-CPS
*S** ASSIGN #EFC-MSG = 'CPS Reject'
*S** ELSE
*S** PERFORM GET-CORRECTIONS-STATUS #CORR-PEND
*S** #CORR-XMIT #CORR-XMIT-DATE
*S** IF #CORR-PEND OR #CORR-XMIT
*S** ASSIGN #EFC-MSG = 'Corrections'
*S** END-IF
*S** END-IF
*S** WRITE(4)
*S** 2T ##SID
*S** 13T ##COMP-NAME(AL=30)
*S** 45T #EFC-CPS(EM=Z,ZZZ,ZZ9)
*S** 56T #EFC-FIN(EM=Z,ZZZ,ZZ9)
*S** 67T #EFC-MSG
*S** END-IF
*S** END-IF
*S** /*
*S** /* Check for limited-run maximum
*S** IF #INPUT-LIMIT-COUNT > 0
*S** IF #WRITE-COUNTER GE #INPUT-LIMIT-COUNT
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** END-IF
*S** END-REPEAT
*S***
*S*** Issue last END TRANSACTION
*S** PERFORM COMMIT-OR-BACKOUT
*S***
*S*** Print job statistics
*S** WRITE(1)
*S** 15T 'FINANCIER processing:' /
*S** 17T 'AidYear records read:'
*S** (I) 55T #READ-COUNTER (EM=Z,ZZZ,ZZ9) //
*S** 17T 'Applications processed:'
*S** (I) 55T #WRITE-COUNTER (EM=Z,ZZZ,ZZ9) /
*S** 17T 'AidYear records bypassed:'
*S** (I) 55T #BYPASS-COUNTER (EM=Z,ZZZ,ZZ9) /
*S***
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-AIDYEAR
*S*************************************************************************
*S** /*
*S** /* Call WF-AIDYEAR file object subprogram
*S** CALLNAT 'WFAIDYRO' WW-GDA
*S** WFAIDYRD
*S** WFAIDYRD-ID
*S** WFAIDYRR
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-AIDYEAR
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE COMMIT-OR-BACKOUT
*S*************************************************************************
*S** /*
*S** /* Periodically issue END TRANSACTION
*S** IF #INPUT-RUNMODE = 'TRIAL'
*S** BACKOUT TRANSACTION
*S** ELSE
*S** END TRANSACTION
*S** END-IF
*S** RESET #ET-READ-COUNTER #ET-WRITE-COUNTER
*S**END-SUBROUTINE /* COMMIT-OR-BACKOUT
*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
|
*S*************************************************************************
*S***
*S*** WolffPack
*S***
*S*** Program : WFNANCLB
*S*** System : FINANCIER
*S*** Title : Batch Need Analysis calc
*S*** Function : This program performs the Need Analysis calculation
*S*** routine for a group of students.
*S*** It sequentially reads the Aidyear records for an FAO.
*S***
*S*** Copyright 1995 - 2004 WolffPack, Inc. All rights reserved.
*S***
*S*************************************************************************
*S**DEFINE DATA
*S** GLOBAL USING WWGDA
*S***
*S** LOCAL USING WWREQIBD /* Input parameter PDA
*S** LOCAL USING WFAIDYRD /* Passed to object subprogram
*S** LOCAL USING WFAIDYRR /* Passed to object subprogram
*S** LOCAL USING WWAOBJ /* Used by object subprograms
*S***
*S** LOCAL
*S** 01 #MAX-READ(P3) INIT<50>
*S** 01 #MAX-WRITE(P3) INIT<10>
*S** 01 #ET-READ-COUNTER(P7)
*S** 01 #ET-WRITE-COUNTER(P7)
*S***
*S** 01 #READ-COUNTER(P7)
*S** 01 #BYPASS-COUNTER(P7)
*S** 01 #WRITE-COUNTER(P7)
*S***
*S** 01 #END-KEY
*S** 02 WF-AID-YEAR(A4)
*S** 02 WF-FAO(A2)
*S** 02 WW-STUDENT-ID(A9)
*S** 01 REDEFINE #END-KEY
*S** 02 #END-KEY-RED(A15)
*S***
*S** 01 #PASS-FIELDS
*S** 02 #STATUS-FUNCTION(A8)
*S** 02 #STATUS-DECISION(A1)
*S***
*S** 01 #CORR-STATUS
*S** 02 #CORR-PEND(L)
*S** 02 #CORR-XMIT(L)
*S** 02 #CORR-XMIT-DATE(D)
*S***
*S** 01 #EFC-COMPARE
*S** 02 #REC-CPS(L)
*S** 02 #REJ-CPS(L)
*S** 02 #EFC-CPS(P7)
*S** 02 #EFC-FIN(P7)
*S** 01 #EFC-MSG(A12)
*S**END-DEFINE
*S***
*S*** Define printers, formats, headings
*S**DEFINE PRINTER(1)
*S**FORMAT(1) LS=80 PS=60 ZP=ON IS=OFF ES=OFF SG=OFF
*S**DEFINE PRINTER(3)
*S**FORMAT(3) LS=80 PS=60 ZP=ON IS=OFF ES=OFF SG=OFF
*S**DEFINE PRINTER(4)
*S**FORMAT(4) LS=80 PS=60 ZP=ON IS=OFF ES=OFF SG=OFF
*S***
*S**AT TOP OF PAGE(1)
*S** WRITE(1) NOTITLE ##PGM-ID
*S** 18T '*** FINANCIER NEED ANALYSIS CALCULATION ***'
*S** 71T 'Page' *PAGE-NUMBER(1)(EM=ZZ9)
*S** / *DATX(EM=LLL' 'DD', 'YYYY)
*S** 28T 'Processing Counts/Errors'
*S** 71T *TIMX(EM=HH':'II' 'AP)
*S**END-TOPPAGE
*S**AT TOP OF PAGE(3)
*S** WRITE(3) NOTITLE ##PGM-ID
*S** 18T '*** FINANCIER NEED ANALYSIS CALCULATION ***'
*S** 71T 'Page' *PAGE-NUMBER(3)(EM=ZZ9)
*S** / *DATX(EM=LLL' 'DD', 'YYYY)
*S** 30T 'Limited Trial/Sample'
*S** 71T *TIMX(EM=HH':'II' 'AP)
*S** // 31T 'Aid Year:' ##DISP-AY
*S** / 36T ##DISP-LIT ##DISP-FAO
*S** /// 'StudentID Name'
*S** SKIP(3) 1
*S**END-TOPPAGE
*S**AT TOP OF PAGE(4)
*S** WRITE(4) NOTITLE ##PGM-ID
*S** 18T '*** FINANCIER NEED ANALYSIS CALCULATION ***'
*S** 71T 'Page' *PAGE-NUMBER(4)(EM=ZZ9)
*S** / *DATX(EM=LLL' 'DD', 'YYYY)
*S** 27T 'CPS/FINANCIER EFC Mismatches'
*S** 71T *TIMX(EM=HH':'II' 'AP)
*S** // 31T 'Aid Year:' ##DISP-AY
*S** / 36T ##DISP-LIT ##DISP-FAO
*S** /// ' StudentID Name '
*S** ' CPS EFC FIN EFC'
*S** SKIP(4) 1
*S**END-TOPPAGE
*S***
*S**ASSIGN ##PGM-ID = *PROGRAM
*S**ASSIGN ##BYPASS-TRANSLATION = 'B'
*S***
*S**IF *DEVICE = 'BATCH' THEN
*S** SET CONTROL 'D' /* Set delimiter mode for batch input
*S**END-IF
*S***
*S*************************************************************************
*S***
*S*** Read and edit input parameters
*S** INPUT(AD=MITL'_' SG=ON IP=OFF ZP=OFF)
*S** 'Aid Year:' #INPUT-AID-YEAR /
*S** 'Term:' #INPUT-TERM /
*S** 'FAO:' #INPUT-FAO /
*S** 'Run Mode:' #INPUT-RUNMODE /
*S** 'Effective Date:' #INPUT-EFF-DATE /
*S** WRITE(1) ' '
*S** PERFORM REQUIRED-FIELD-BATCH WWREQIBD
*S** WRITE(1)
*S** 31T 'Aid Year:' ##DISP-AY /
*S** 36T ##DISP-LIT ##DISP-FAO ///
*S***
*S*** Set up keys for sequential file processing
*S** RESET WFAIDYRD
*S** ASSIGN WFAIDYRD.WF-AID-YEAR = ##AID-YEAR
*S** ASSIGN WFAIDYRD.WF-FAO = ##FAO-ID
*S** MOVE BY NAME WFAIDYRD TO #END-KEY
*S** MOVE ALL H'FF' TO #END-KEY.WW-STUDENT-ID
*S***
*S***
*S**PROG.
*S** REPEAT
*S** /*
*S** /* Read next AIDYEAR record
*S** MOVE 'NEXT' TO WWAOBJ.#FUNCTION
*S** PERFORM CALL-OBJECT-AIDYEAR
*S** /*
*S** /* End of records to be processed
*S** IF NOT WWAOBJ.#EXISTS OR
*S** WFAIDYRD-ID > #END-KEY-RED
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** /*
*S** ADD 1 TO #READ-COUNTER
*S** ADD 1 TO #ET-READ-COUNTER
*S** IF #ET-READ-COUNTER > #MAX-READ
*S** PERFORM COMMIT-OR-BACKOUT
*S** END-IF
*S** /*
*S** MOVE WFAIDYRD.WW-STUDENT-ID TO ##STUDENT-ID
*S** PERFORM GET-STUDENT-INFO
*S** PERFORM AIDYEAR-REC-VERIFY
*S** /*
*S** /* Perform Decision status lookup
*S** MOVE 'NeedCalc' TO #STATUS-FUNCTION
*S** PERFORM GET-STATUS-FUNCTION #STATUS-FUNCTION
*S** #STATUS-DECISION
*S** /*
*S** /* Perform Need Analysis calc
*S** IF #STATUS-DECISION = 'Y'
*S** /*
*S** /* Capture pre-calc value for sample-mode report
*S** MOVE WFAIDYRD.WF-AY-M1-FC TO #EFC-FIN
*S** /*
*S** PERFORM CALC-NEED-ANALYSIS
*S** ADD 1 TO #WRITE-COUNTER
*S** ADD 1 TO #ET-WRITE-COUNTER
*S** IF #ET-WRITE-COUNTER > #MAX-WRITE
*S** PERFORM COMMIT-OR-BACKOUT
*S** END-IF
*S** /*
*S** /* If limited run, print Report 3 line
*S** IF #INPUT-LIMIT-COUNT > 0
*S** MOVE 'GET' TO WWAOBJ.#FUNCTION
*S** PERFORM CALL-OBJECT-AIDYEAR
*S** RESET #EFC-MSG
*S** IF WFAIDYRD.WF-AY-M1-FC = #EFC-FIN
*S** MOVE 'No change' TO #EFC-MSG
*S** END-IF
*S** WRITE(3) ##SID ##COMP-NAME #EFC-MSG
*S** END-IF
*S** /*
*S** /* If EFC mismatch, print Report 4 line
*S** RESET #EFC-MSG
*S** PERFORM GET-EFCS #EFC-COMPARE
*S** IF #REC-CPS AND #EFC-CPS NE #EFC-FIN
*S** AND ##AID-YEAR < '2025'
*S** IF #REJ-CPS
*S** ASSIGN #EFC-MSG = 'CPS Reject'
*S** ELSE
*S** PERFORM GET-CORRECTIONS-STATUS #CORR-PEND
*S** #CORR-XMIT #CORR-XMIT-DATE
*S** IF #CORR-PEND OR #CORR-XMIT
*S** ASSIGN #EFC-MSG = 'Corrections'
*S** END-IF
*S** END-IF
*S** WRITE(4)
*S** 2T ##SID
*S** 13T ##COMP-NAME(AL=30)
*S** 45T #EFC-CPS(EM=Z,ZZZ,ZZ9)
*S** 56T #EFC-FIN(EM=Z,ZZZ,ZZ9)
*S** 67T #EFC-MSG
*S** END-IF
*S** END-IF
*S** /*
*S** /* Check for limited-run maximum
*S** IF #INPUT-LIMIT-COUNT > 0
*S** IF #WRITE-COUNTER GE #INPUT-LIMIT-COUNT
*S** ESCAPE BOTTOM(PROG.) IMMEDIATE
*S** END-IF
*S** END-IF
*S** END-REPEAT
*S***
*S*** Issue last END TRANSACTION
*S** PERFORM COMMIT-OR-BACKOUT
*S***
*S*** Print job statistics
*S** WRITE(1)
*S** 15T 'FINANCIER processing:' /
*S** 17T 'AidYear records read:'
*S** (I) 55T #READ-COUNTER (EM=Z,ZZZ,ZZ9) //
*S** 17T 'Applications processed:'
*S** (I) 55T #WRITE-COUNTER (EM=Z,ZZZ,ZZ9) /
*S** 17T 'AidYear records bypassed:'
*S** (I) 55T #BYPASS-COUNTER (EM=Z,ZZZ,ZZ9) /
*S***
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-AIDYEAR
*S*************************************************************************
*S** /*
*S** /* Call WF-AIDYEAR file object subprogram
*S** CALLNAT 'WFAIDYRO' WW-GDA
*S** WFAIDYRD
*S** WFAIDYRD-ID
*S** WFAIDYRR
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-AIDYEAR
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE COMMIT-OR-BACKOUT
*S*************************************************************************
*S** /*
*S** /* Periodically issue END TRANSACTION
*S** IF #INPUT-RUNMODE = 'TRIAL'
*S** BACKOUT TRANSACTION
*S** ELSE
*S** END TRANSACTION
*S** END-IF
*S** RESET #ET-READ-COUNTER #ET-WRITE-COUNTER
*S**END-SUBROUTINE /* COMMIT-OR-BACKOUT
*S**END
|