\\Mac\Home\Desktop\2406-04\old\wflnsnpn.txt
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
*S****SAG GENERATOR: WW-OBJECT-MAINT-DIALOG-SUBP Version: 3.2.2
*S****SAG TITLE: Loan Snapshot
*S****SAG SYSTEM: FINANCIER
*S****SAG GDA: WWGDA
*S****SAG DESCS(1): This subprogram maintains loan snapshot information.
*S****SAG HEADER1: FINANCIER
*S****SAG DIRECT-COMMAND-PROCESS:
*S****SAG ACTIONS: 0101010100000000
*S****SAG OBJECT-NAME: WFLOAPPO
*S****SAG MAX-WINDOWS: 1
*S****SAG MAP-NAME(1): WFLNSNPM
*S*************************************************************************
*S***
*S*** WolffPack
*S***
*S*** Subprogram: WFLNSNPN
*S*** System : FINANCIER
*S*** Title : Loan Snapshot
*S*** Generated : Jun 13,02 at 03:21 AM
*S*** Function : This subprogram maintains loan snapshot information.
*S***
*S***
*S***
*S***
*S*** Copyright 1995 - 2006 WolffPack, Inc. All rights reserved.
*S***
*S*************************************************************************
*S**DEFINE DATA
*S** GLOBAL USING WWGDA
*S** PARAMETER USING WWPDA
*S** PARAMETER
*S** 01 #PASS-KEY(A17)
*S** 01 #PASS-ADD-OBJECT(L)
*S***
*S** PARAMETER USING WFLOAPPD
*S** PARAMETER USING WFLOAPPR
*S** PARAMETER USING WFLOAPPS
*S** PARAMETER USING WWAOBJ /* Used by object subprograms
*S***
*S** LOCAL USING WWCONST /* Constants
*S** LOCAL USING WWDIALDA /* Common data for dialog objects.
*S** LOCAL USING WWENVIRA /* Used to capture/restore previous environment.
*S** LOCAL USING WWKEYLDA /* Used to set function keys and names.
*S** LOCAL USING WWVALLDA /* Used by valid values/edit mask routine
*S** LOCAL
*S****SAG DEFINE EXIT SECURITY-PGM
*S** /*
*S** /* Security program exit
*S** 01 #SECURITY-PROGRAM(A8) INIT<'WFLNSUMP'>
*S****SAG END-EXIT
*S****SAG DEFINE EXIT EVENT-HISTORY
*S** /*
*S** /* Variables utilized by Event History routine
*S** 01 #EVENT-TYPE(A5) CONST<' '>
*S** 01 #EVENT-DESC(A40) CONST<' '>
*S****SAG END-EXIT
*S****SAG DEFINE EXIT REQUIREMENTS
*S** /*
*S** /* Variables Requirement routine
*S** 01 #REQMNTS(3)
*S** 02 #REQMNT-TYPE(A1) /* (A/Application, D/Disbursement)
*S** INIT (1)<' '> (2)<' '> (3)<' '>
*S** 02 #REQMNT-DOC(A6) /* Document mnemonic
*S** INIT (1)<' '> (2)<' '> (3)<' '>
*S** 02 #REQMNT-PD(A2) /* (ST/Student, AY/Aid Year)
*S** INIT (1)<' '> (2)<' '> (3)<' '>
*S****SAG END-EXIT
*S***
*S*** Scalar Constants.
*S** 01 #SUB-PARM(A1)
*S***
*S*** Miscellaneous Variables.
*S** 01 #NEXT(L) /* Next processing selected
*S** 01 #DISPLAYED-KEY(A17) /* Last record found
*S** 01 #FIRST-TIME(L) INIT<TRUE>
*S** 01 #TYPE-POS(P3)
*S** 01 #KEY(A17) /* Key field copied from map.
*S** 01 #NEW-OBJECT(L) /* GET was done on different object
*S** 01 #BYPASS-OBJECT(L) /* I/O was done via subprogram
*S** 01 #BYPASS-INPUT(L) /* do not perform input statement
*S** 01 #NULL-KEY(A17)
*S****SAG DEFINE EXIT LOCAL-DATA
*S** 01 #TITLE(A20)
*S***
*S** 01 #HOLD-EC-TYPE(A3)
*S** 01 #HOLD-LOAN(N2)
*S** 01 REDEFINE #HOLD-LOAN
*S** 02 #HOLD-LOAN-A(A2)
*S***
*S** 01 #ORIG-SNAPSHOT
*S** 02 #ORIG-DEFAULT(A1)
*S** 02 #ORIG-CIT(A1)
*S** 02 #ORIG-DEP(A1)
*S** 02 #ORIG-CLASS(A2)
*S** 02 #ORIG-TIM(A1)
*S** 02 #ORIG-GRAD-DATE(D)
*S** 02 #ORIG-BUDGET(P5)
*S** 02 #ORIG-EFC(P6)
*S** 02 #ORIG-AID(P5)
*S***
*S** LOCAL USING WFLODSBL
*S****SAG END-EXIT
*S**END-DEFINE
*S***
*S***
*S*** Define Formats
*S**FORMAT PS=23 KD=ON LS=133 ZP=OFF
*S***
*S**PERFORM INITIALIZATIONS
*S***
*S*** Assign Key and Action.
*S**ASSIGN WFLOAPPD-ID = #PASS-KEY
*S**MOVE BY NAME WFLOAPPD-ID.STRUCTURE TO WFLOAPPD
*S****SAG DEFINE EXIT START-OF-PROGRAM
*S** /*
*S** /* Capture original values of snapshot so if update is
*S** /* interrupted by Retrn key, original values can be restored.
*S** /* (Because WF-LOANAPP record is passed from Loan Processing
*S** /* program, which may have updates of its own in process, the
*S** /* normal avoidance of an END TRANSACTION may not happen.)
*S** MOVE WFLOAPPD.WF-LA-S-DEFAULT TO #ORIG-DEFAULT
*S** MOVE WFLOAPPD.WF-LA-S-CIT TO #ORIG-CIT
*S** MOVE WFLOAPPD.WF-LA-S-DEP TO #ORIG-DEP
*S** MOVE WFLOAPPD.WF-LA-S-CLASS TO #ORIG-CLASS
*S** MOVE WFLOAPPD.WF-LA-S-TIM TO #ORIG-TIM
*S** MOVE WFLOAPPD.WF-LA-S-GRAD-DATE TO #ORIG-GRAD-DATE
*S** MOVE WFLOAPPD.WF-LA-S-BUDGET TO #ORIG-BUDGET
*S** MOVE WFLOAPPD.WF-LA-S-EFC TO #ORIG-EFC
*S** MOVE WFLOAPPD.WF-LA-S-AID TO #ORIG-AID
*S****SAG END-EXIT
*S***
*S*************************************************************************
*S***
*S**PROG.
*S**REPEAT /* until exit action
*S** /*
*S**NEW-SCREEN.
*S** REPEAT /* Escape this repeat with indexes set as desired.
*S** /*
*S** /* Security / Required fields
*S** /* Perform first time and/or new student (set via Selection)
*S** IF #DISPLAYED-KEY = #NULL-KEY
*S** OR #FIRST-TIME
*S** MOVE 'WFLOAPPD' TO ##FILE-ID
*S** MOVE #SECURITY-PROGRAM TO ##PGM-ID
*S** PERFORM LOANAPP-SECURITY LOANAPP-CNTL-VARS
*S** RESET INITIAL LOANAPP-LOGICALS
*S** /*
*S** PERFORM REQUIRED-FIELD-CHECK REQUIRED-FIELD(*)
*S** PERFORM SET-KEYS
*S** END-IF
*S** /*
*S** IF #FIRST-TIME THEN
*S** RESET #FIRST-TIME
*S** ASSIGN #KEY = #DISPLAYED-KEY = #PASS-KEY
*S** ASSIGN #ADD-OBJECT = #PASS-ADD-OBJECT
*S** ASSIGN #FUNCTION = 'GET'
*S** END-IF
*S** /*
*S** /* Load shadow file definitions for appropriate map
*S** IF NOT #CONFIRM-PURGE
*S** MOVE LOAD TO #SUB-PARM
*S** PERFORM CALL-EXT-SUB
*S****SAG DEFINE EXIT AFTER-CALL-LOAD
*S** IF WFLOAPPS.WF-LA-S-EFC = ' '
*S** MOVE ' 0' TO WFLOAPPS.WF-LA-S-EFC
*S** END-IF
*S****SAG END-EXIT
*S** END-IF
*S** /*
*S** /* Assign appropriate message
*S** IF ##MSG = SPACE
*S** DECIDE ON FIRST VALUE OF #FUNCTION
*S** VALUE 'GET'
*S** IF #ADD-OBJECT
*S** COMPRESS 'This information not currently stored for #TEMP,'
*S** 'ready to add' INTO ##MSG
*S** ELSE
*S** COMPRESS 'To modify the current #TEMP information,'
*S** 'make changes and press ENTER' INTO ##MSG
*S** END-IF
*S** VALUE 'NEXT'
*S** COMPRESS 'Next #TEMP information has been displayed'
*S** INTO ##MSG
*S** VALUE 'UPDATE'
*S** COMPRESS '#TEMP information has been modified'
*S** INTO ##MSG
*S** VALUE 'STORE'
*S** COMPRESS '#TEMP information has been added'
*S** INTO ##MSG
*S** VALUE 'DELETE'
*S** IF #CONFIRM-PURGE
*S** COMPRESS '#TEMP information has been purged'
*S** INTO ##MSG
*S** ELSE
*S** COMPRESS 'Press ENTER to confirm purge'
*S** INTO ##MSG
*S** END-IF
*S** ANY
*S** EXAMINE ##MSG FOR '#TEMP' AND REPLACE WITH ##SYSTEM-DATA-TYPE
*S** EXAMINE ##MSG FOR ##SYSTEM-DATA-TYPE GIVING POSITION #TYPE-POS
*S** IF #TYPE-POS = 1
*S** EXAMINE SUBSTRING(##MSG,1,1) AND TRANSLATE INTO UPPER CASE
*S** END-IF
*S** NONE
*S** IGNORE
*S** END-DECIDE
*S** END-IF
*S** SET CONTROL 'WB'
*S****SAG DEFINE EXIT DEFINE-WINDOW
*S**/*
*S**/* Define Window attributes
*S** DEFINE WINDOW SNAPSHOT
*S** SIZE 16*28
*S** BASE 5 / 49
*S** TITLE #TITLE
*S** CONTROL SCREEN
*S** FRAMED ON (CD=NE)
*S** POSITION OFF
*S** IF WFLOAPPD.WF-LA-TYPE = 'D'
*S** ASSIGN #TITLE = 'Origination'
*S** ELSE
*S** ASSIGN #TITLE = 'Application'
*S** END-IF
*S** COMPRESS #TITLE 'Snapshot' INTO #TITLE WITH DELIMITER SPACE
*S** SET WINDOW 'SNAPSHOT'
*S** ASSIGN ##COLOR = 'NE'
*S****SAG END-EXIT
*S** /*
*S** /* INPUT processing
*S** /*
*S** /* Input Map
*S** IF NOT #BYPASS-INPUT
*S** INPUT WITH TEXT ##MSG,
*S** ##MSG-DATA(1),##MSG-DATA(2),##MSG-DATA(3)
*S** USING MAP 'WFLNSNPM'
*S** END-IF
*S** /*
*S** RESET ##MSG
*S****SAG DEFINE EXIT AFTER-INPUT
*S** /*
*S** /* Replace snapshot with original values when
*S** /* Retrn key interrupts partially-completed updates
*S** IF *PF-KEY EQ WWKEYLDA.#RETURN-KEY
*S** MOVE #ORIG-DEFAULT TO WFLOAPPD.WF-LA-S-DEFAULT
*S** MOVE #ORIG-CIT TO WFLOAPPD.WF-LA-S-CIT
*S** MOVE #ORIG-DEP TO WFLOAPPD.WF-LA-S-DEP
*S** MOVE #ORIG-CLASS TO WFLOAPPD.WF-LA-S-CLASS
*S** MOVE #ORIG-TIM TO WFLOAPPD.WF-LA-S-TIM
*S** MOVE #ORIG-GRAD-DATE TO WFLOAPPD.WF-LA-S-GRAD-DATE
*S** MOVE #ORIG-BUDGET TO WFLOAPPD.WF-LA-S-BUDGET
*S** MOVE #ORIG-EFC TO WFLOAPPD.WF-LA-S-EFC
*S** MOVE #ORIG-AID TO WFLOAPPD.WF-LA-S-AID
*S** END-IF
*S****SAG END-EXIT
*S** /*
*S** /*
*S** /* Check standard PF-Keys
*S** INCLUDE WWSTDKEY
*S** /*
*S** /* Trap invalid PF-Keys.
*S** IF *PF-KEY = 'ENTR' OR = WWKEYLDA.#SELECT-KEY
*S** IGNORE
*S** ELSE
*S** REINPUT 'Invalid program function key' ALARM
*S** END-IF
*S** /*
*S** /* Perform edit routine
*S** RESET INITIAL #FAIL-EDIT
*S** MOVE EDIT TO #SUB-PARM
*S** PERFORM CALL-EXT-SUB
*S** IF #FAIL-EDIT
*S** REINPUT FULL 'Edit errors occurred'
*S** MARK #MARK-FIELD ALARM
*S** END-IF
*S****SAG DEFINE EXIT AFTER-EDIT
*S** /*
*S** /* Do not allow change from grad to undergrad class level
*S** /* if Grad PLUS loan and amount has already been entered
*S** IF WFLOAPPD.WF-LA-R-TYPE = 'P' AND
*S** WFLOAPPD.WF-LA-FUND1 NE ' ' AND
*S** ((SUBSTRING(WFLOAPPD.WF-LA-S-CLASS,1,1) = 'G' AND
*S** SUBSTRING(#ORIG-CLASS,1,1) NE 'G') OR
*S** (SUBSTRING(WFLOAPPD.WF-LA-S-CLASS,1,1) NE 'G' AND
*S** SUBSTRING(#ORIG-CLASS,1,1) = 'G'))
*S** ASSIGN LA-S-CLASS-F = TRUE
*S** MOVE HI-LITE-ATTR TO LA-S-CLASS-CV
*S** REINPUT FULL 'Class level may not be changed for this loan'
*S** MARK *WFLOAPPD.WF-LA-S-CLASS ALARM
*S** END-IF
*S****SAG END-EXIT
*S** /*
*S** /* Load appropriate function
*S** IF #ADD-OBJECT
*S** ASSIGN #FUNCTION = 'STORE'
*S** RESET #ADD-OBJECT
*S** ELSE
*S** IF #DISPLAYED-KEY NE #KEY
*S** OR #KEY = #NULL-KEY
*S** ASSIGN #FUNCTION = 'GET'
*S** ELSE
*S** ASSIGN #FUNCTION = 'UPDATE'
*S** END-IF
*S** END-IF
*S** /*
*S****SAG DEFINE EXIT BEFORE-CALL-OBJECT
*S** IF WWAOBJ.#FUNCTION = 'GET'
*S** ASSIGN #BYPASS-OBJECT = TRUE
*S** ASSIGN WWAOBJ.#EXISTS = TRUE
*S** END-IF
*S****SAG END-EXIT
*S** /*
*S** /* Perform object I/O subprogram
*S** IF #BYPASS-OBJECT
*S** RESET #BYPASS-OBJECT
*S** ELSE
*S** PERFORM CALL-OBJECT
*S** END-IF
*S** /*
*S*************************************************************************
*S**DEFINE SUBROUTINE NEW-SCREEN
*S*************************************************************************
*S** /*
*S** /* Subroutine to allow escape from screen loop
*S** ESCAPE BOTTOM(NEW-SCREEN.) IMMEDIATE
*S**END-SUBROUTINE /* NEW-SCREEN
*S** /*
*S** END-REPEAT /* on NEW-SCREEN
*S**END-REPEAT /* on Repeat of Program.
*S***
*S**PERFORM FINAL-PROCESSING
*S***
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-EXT-SUB
*S*************************************************************************
*S** /*
*S** /* Call Map specific external subroutine
*S** PERFORM WFLNSNPM-MASK-EDITS #SUB-PARM WWVALLDA
*S** WFLOAPPD WFLOAPPD-ID WFLOAPPR WFLOAPPS
*S**END-SUBROUTINE /* CALL-EXT-SUB
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT
*S*************************************************************************
*S** /*
*S** /* Prior to processing object
*S** IF WWAOBJ.#FUNCTION = 'DELETE'
*S** RESET #CONFIRM-PURGE
*S** END-IF
*S** /*
*S** /* Invoke subprogram to process object
*S** PERFORM CALL-OBJECT-IO
*S****SAG DEFINE EXIT AFTER-OBJECT-CALL
*S** /*
*S** /* Move loan type and ID to GDA for use in WWDUTILN
*S** IF WFLOAPPD.WF-LA-TYPE = 'D' OR = 'G' OR = 'A'
*S** MOVE WFLOAPPD.WF-LOAN-ID TO #HOLD-LOAN
*S** IF WFLOAPPD.WF-LA-TYPE = 'D' OR = 'G'
*S** IF WFLOAPPD.WF-LA-R-TYPE = 'P'
*S** MOVE 'P' TO #HOLD-EC-TYPE
*S** ELSE
*S** MOVE 'S' TO #HOLD-EC-TYPE
*S** END-IF
*S** ELSE
*S** MOVE 'A' TO #HOLD-EC-TYPE
*S** END-IF
*S** COMPRESS #HOLD-EC-TYPE #HOLD-LOAN-A INTO #HOLD-EC-TYPE LEAVING NO
*S** END-IF
*S****SAG END-EXIT
*S** /*
*S** IF WWAOBJ.#FUNCTION = 'GET' AND
*S** NOT WWAOBJ.#EXISTS
*S** ASSIGN #ADD-OBJECT = TRUE
*S** END-IF
*S** /*
*S** ASSIGN #DISPLAYED-KEY = WFLOAPPD-ID
*S** /*
*S** /* Reset #KEY if next record displayed
*S** IF #FUNCTION = 'NEXT'
*S** ASSIGN #KEY = #DISPLAYED-KEY
*S** END-IF
*S** /*
*S** /* Set logical for update processing
*S** IF #FUNCTION = 'STORE'
*S** OR = 'UPDATE'
*S** ASSIGN #UPDATE-PERFORMED = TRUE
*S** END-IF
*S** /*
*S** /* Update performed
*S** IF #UPDATE-PERFORMED THEN
*S** ASSIGN #PASS-ADD-OBJECT = #ADD-OBJECT
*S****SAG DEFINE EXIT UPDATE-PERFORMED
*S** /*
*S** /* Replace "original" snapshot values with new updated values
*S** MOVE WFLOAPPD.WF-LA-S-DEFAULT TO #ORIG-DEFAULT
*S** MOVE WFLOAPPD.WF-LA-S-CIT TO #ORIG-CIT
*S** MOVE WFLOAPPD.WF-LA-S-DEP TO #ORIG-DEP
*S** MOVE WFLOAPPD.WF-LA-S-CLASS TO #ORIG-CLASS
*S** MOVE WFLOAPPD.WF-LA-S-TIM TO #ORIG-TIM
*S** MOVE WFLOAPPD.WF-LA-S-GRAD-DATE TO #ORIG-GRAD-DATE
*S** MOVE WFLOAPPD.WF-LA-S-BUDGET TO #ORIG-BUDGET
*S** MOVE WFLOAPPD.WF-LA-S-EFC TO #ORIG-EFC
*S** MOVE WFLOAPPD.WF-LA-S-AID TO #ORIG-AID
*S****SAG END-EXIT
*S** CALLNAT 'WWDUTILN' WW-GDA WWVALLDA
*S** PERFORM ADD-EVENT #EVENT-TYPE #EVENT-DESC
*S****SAG DEFINE EXIT BEFORE-END-TRANSACTION
*S** ASSIGN ##PASS-ACTION = 'R'
*S** ASSIGN ##PASS-KEY = WFLOAPPD-ID
*S** PERFORM LOANDSB-SERVICE WFLODSBL
*S** ASSIGN ##PASS-KEY = #HOLD-EC-TYPE
*S** PERFORM CHECK-LOAN-CHANGES WFLOAPPD WFLOAPPD-ID WFLOAPPR WFLODSBL
*S****SAG END-EXIT
*S** END TRANSACTION
*S** RESET #UPDATE-PERFORMED #ACTION #ADD-OBJECT #DATA-MODIFIED
*S** END-IF
*S**END-SUBROUTINE /* CALL-OBJECT
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-IO
*S*************************************************************************
*S***
*S** CALLNAT 'WFLOAPPO' WW-GDA
*S** WFLOAPPD
*S** WFLOAPPD-ID
*S** WFLOAPPR
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-IO
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE FINAL-PROCESSING
*S*************************************************************************
*S** /*
*S** INCLUDE WWEND /* Restore environment.
*S** /*
*S** MOVE BY POSITION WW-GDA TO WW-PDA
*S** /*
*S** /* Return to the calling object.
*S** IF *PF-KEY = WWKEYLDA.#RETURN-KEY THEN
*S** SET CONTROL 'K0'
*S** END-IF
*S**END-SUBROUTINE /* FINAL-PROCESSING
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE INITIALIZATIONS
*S*************************************************************************
*S** /*
*S** /* Populate WW-GDA from WW-PDA
*S** MOVE BY POSITION WW-PDA TO WW-GDA
*S** /*
*S** INCLUDE WWBEGIN /* Capture environment
*S** SET CONTROL 'WBM' /* Set window size/base
*S** /*
*S** /* Specify which PF-KEYS are valid, start by resetting all keys,
*S** /* then assign desired keys using RESET INITIAL.
*S** INCLUDE WWPFSTD /* Standard PF-Keys.
*S**END-SUBROUTINE /* INITIALIZATIONS
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE SET-KEYS
*S*************************************************************************
*S***
*S** INCLUDE WWSETKEY /* Set specified keys
*S** INCLUDE WWSETHLP /* Set Help keys
*S**END-SUBROUTINE /* SET-KEY
*S**END
\\Mac\Home\Desktop\2406-04\new\wflnsnpn.txt
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
*S****SAG GENERATOR: WW-OBJECT-MAINT-DIALOG-SUBP Version: 3.2.2
*S****SAG TITLE: Loan Snapshot
*S****SAG SYSTEM: FINANCIER
*S****SAG GDA: WWGDA
*S****SAG DESCS(1): This subprogram maintains loan snapshot information.
*S****SAG HEADER1: FINANCIER
*S****SAG DIRECT-COMMAND-PROCESS:
*S****SAG ACTIONS: 0101010100000000
*S****SAG OBJECT-NAME: WFLOAPPO
*S****SAG MAX-WINDOWS: 1
*S****SAG MAP-NAME(1): WFLNSNPM
*S*************************************************************************
*S***
*S*** WolffPack
*S***
*S*** Subprogram: WFLNSNPN
*S*** System : FINANCIER
*S*** Title : Loan Snapshot
*S*** Generated : Jun 13,02 at 03:21 AM
*S*** Function : This subprogram maintains loan snapshot information.
*S***
*S***
*S***
*S***
*S*** Copyright 1995 - 2006 WolffPack, Inc. All rights reserved.
*S***
*S*************************************************************************
*S**DEFINE DATA
*S** GLOBAL USING WWGDA
*S** PARAMETER USING WWPDA
*S** PARAMETER
*S** 01 #PASS-KEY(A17)
*S** 01 #PASS-ADD-OBJECT(L)
*S***
*S** PARAMETER USING WFLOAPPD
*S** PARAMETER USING WFLOAPPR
*S** PARAMETER USING WFLOAPPS
*S** PARAMETER USING WWAOBJ /* Used by object subprograms
*S***
*S** LOCAL USING WWCONST /* Constants
*S** LOCAL USING WWDIALDA /* Common data for dialog objects.
*S** LOCAL USING WWENVIRA /* Used to capture/restore previous environment.
*S** LOCAL USING WWKEYLDA /* Used to set function keys and names.
*S** LOCAL USING WWVALLDA /* Used by valid values/edit mask routine
*S** LOCAL
*S****SAG DEFINE EXIT SECURITY-PGM
*S** /*
*S** /* Security program exit
*S** 01 #SECURITY-PROGRAM(A8) INIT<'WFLNSUMP'>
*S****SAG END-EXIT
*S****SAG DEFINE EXIT EVENT-HISTORY
*S** /*
*S** /* Variables utilized by Event History routine
*S** 01 #EVENT-TYPE(A5) CONST<' '>
*S** 01 #EVENT-DESC(A40) CONST<' '>
*S****SAG END-EXIT
*S****SAG DEFINE EXIT REQUIREMENTS
*S** /*
*S** /* Variables Requirement routine
*S** 01 #REQMNTS(3)
*S** 02 #REQMNT-TYPE(A1) /* (A/Application, D/Disbursement)
*S** INIT (1)<' '> (2)<' '> (3)<' '>
*S** 02 #REQMNT-DOC(A6) /* Document mnemonic
*S** INIT (1)<' '> (2)<' '> (3)<' '>
*S** 02 #REQMNT-PD(A2) /* (ST/Student, AY/Aid Year)
*S** INIT (1)<' '> (2)<' '> (3)<' '>
*S****SAG END-EXIT
*S***
*S*** Scalar Constants.
*S** 01 #SUB-PARM(A1)
*S***
*S*** Miscellaneous Variables.
*S** 01 #NEXT(L) /* Next processing selected
*S** 01 #DISPLAYED-KEY(A17) /* Last record found
*S** 01 #FIRST-TIME(L) INIT<TRUE>
*S** 01 #TYPE-POS(P3)
*S** 01 #KEY(A17) /* Key field copied from map.
*S** 01 #NEW-OBJECT(L) /* GET was done on different object
*S** 01 #BYPASS-OBJECT(L) /* I/O was done via subprogram
*S** 01 #BYPASS-INPUT(L) /* do not perform input statement
*S** 01 #NULL-KEY(A17)
*S****SAG DEFINE EXIT LOCAL-DATA
*S** 01 #TITLE(A20)
*S***
*S** 01 #HOLD-EC-TYPE(A3)
*S** 01 #HOLD-LOAN(N2)
*S** 01 REDEFINE #HOLD-LOAN
*S** 02 #HOLD-LOAN-A(A2)
*S***
*S** 01 #ORIG-SNAPSHOT
*S** 02 #ORIG-DEFAULT(A1)
*S** 02 #ORIG-CIT(A1)
*S** 02 #ORIG-DEP(A1)
*S** 02 #ORIG-CLASS(A2)
*S** 02 #ORIG-TIM(A1)
*S** 02 #ORIG-GRAD-DATE(D)
*S** 02 #ORIG-BUDGET(P5)
*S** 02 #ORIG-EFC(P6)
*S** 02 #ORIG-AID(P5)
*S***
*S** 01 #FC-LIT(A4)
*S***
*S** LOCAL USING WFLODSBL
*S****SAG END-EXIT
*S**END-DEFINE
*S***
*S***
*S*** Define Formats
*S**FORMAT PS=23 KD=ON LS=133 ZP=OFF
*S***
*S**PERFORM INITIALIZATIONS
*S***
*S*** Assign Key and Action.
*S**ASSIGN WFLOAPPD-ID = #PASS-KEY
*S**MOVE BY NAME WFLOAPPD-ID.STRUCTURE TO WFLOAPPD
*S****SAG DEFINE EXIT START-OF-PROGRAM
*S** /*
*S** /* Capture original values of snapshot so if update is
*S** /* interrupted by Retrn key, original values can be restored.
*S** /* (Because WF-LOANAPP record is passed from Loan Processing
*S** /* program, which may have updates of its own in process, the
*S** /* normal avoidance of an END TRANSACTION may not happen.)
*S** MOVE WFLOAPPD.WF-LA-S-DEFAULT TO #ORIG-DEFAULT
*S** MOVE WFLOAPPD.WF-LA-S-CIT TO #ORIG-CIT
*S** MOVE WFLOAPPD.WF-LA-S-DEP TO #ORIG-DEP
*S** MOVE WFLOAPPD.WF-LA-S-CLASS TO #ORIG-CLASS
*S** MOVE WFLOAPPD.WF-LA-S-TIM TO #ORIG-TIM
*S** MOVE WFLOAPPD.WF-LA-S-GRAD-DATE TO #ORIG-GRAD-DATE
*S** MOVE WFLOAPPD.WF-LA-S-BUDGET TO #ORIG-BUDGET
*S** MOVE WFLOAPPD.WF-LA-S-EFC TO #ORIG-EFC
*S** MOVE WFLOAPPD.WF-LA-S-AID TO #ORIG-AID
*S****SAG END-EXIT
*S***
*S*************************************************************************
*S***
*S**PROG.
*S**REPEAT /* until exit action
*S** /*
*S**NEW-SCREEN.
*S** REPEAT /* Escape this repeat with indexes set as desired.
*S** /*
*S** /* Security / Required fields
*S** /* Perform first time and/or new student (set via Selection)
*S** IF #DISPLAYED-KEY = #NULL-KEY
*S** OR #FIRST-TIME
*S** MOVE 'WFLOAPPD' TO ##FILE-ID
*S** MOVE #SECURITY-PROGRAM TO ##PGM-ID
*S** PERFORM LOANAPP-SECURITY LOANAPP-CNTL-VARS
*S** RESET INITIAL LOANAPP-LOGICALS
*S** /*
*S** PERFORM REQUIRED-FIELD-CHECK REQUIRED-FIELD(*)
*S** PERFORM SET-KEYS
*S** END-IF
*S** /*
*S** IF #FIRST-TIME THEN
*S** RESET #FIRST-TIME
*S** ASSIGN #KEY = #DISPLAYED-KEY = #PASS-KEY
*S** ASSIGN #ADD-OBJECT = #PASS-ADD-OBJECT
*S** ASSIGN #FUNCTION = 'GET'
*S** END-IF
*S** /*
*S** /* Load shadow file definitions for appropriate map
*S** IF NOT #CONFIRM-PURGE
*S** MOVE LOAD TO #SUB-PARM
*S** PERFORM CALL-EXT-SUB
*S****SAG DEFINE EXIT AFTER-CALL-LOAD
*S** IF WFLOAPPS.WF-LA-S-EFC = ' '
*S** MOVE ' 0' TO WFLOAPPS.WF-LA-S-EFC
*S** END-IF
*S****SAG END-EXIT
*S** END-IF
*S** /*
*S** /* Assign appropriate message
*S** IF ##MSG = SPACE
*S** DECIDE ON FIRST VALUE OF #FUNCTION
*S** VALUE 'GET'
*S** IF #ADD-OBJECT
*S** COMPRESS 'This information not currently stored for #TEMP,'
*S** 'ready to add' INTO ##MSG
*S** ELSE
*S** COMPRESS 'To modify the current #TEMP information,'
*S** 'make changes and press ENTER' INTO ##MSG
*S** END-IF
*S** VALUE 'NEXT'
*S** COMPRESS 'Next #TEMP information has been displayed'
*S** INTO ##MSG
*S** VALUE 'UPDATE'
*S** COMPRESS '#TEMP information has been modified'
*S** INTO ##MSG
*S** VALUE 'STORE'
*S** COMPRESS '#TEMP information has been added'
*S** INTO ##MSG
*S** VALUE 'DELETE'
*S** IF #CONFIRM-PURGE
*S** COMPRESS '#TEMP information has been purged'
*S** INTO ##MSG
*S** ELSE
*S** COMPRESS 'Press ENTER to confirm purge'
*S** INTO ##MSG
*S** END-IF
*S** ANY
*S** EXAMINE ##MSG FOR '#TEMP' AND REPLACE WITH ##SYSTEM-DATA-TYPE
*S** EXAMINE ##MSG FOR ##SYSTEM-DATA-TYPE GIVING POSITION #TYPE-POS
*S** IF #TYPE-POS = 1
*S** EXAMINE SUBSTRING(##MSG,1,1) AND TRANSLATE INTO UPPER CASE
*S** END-IF
*S** NONE
*S** IGNORE
*S** END-DECIDE
*S** END-IF
*S** SET CONTROL 'WB'
*S****SAG DEFINE EXIT DEFINE-WINDOW
*S**/*
*S**/* Define Window attributes
*S** DEFINE WINDOW SNAPSHOT
*S** SIZE 16*28
*S** BASE 5 / 49
*S** TITLE #TITLE
*S** CONTROL SCREEN
*S** FRAMED ON (CD=NE)
*S** POSITION OFF
*S** IF WFLOAPPD.WF-LA-TYPE = 'D'
*S** ASSIGN #TITLE = 'Origination'
*S** ELSE
*S** ASSIGN #TITLE = 'Application'
*S** END-IF
*S** COMPRESS #TITLE 'Snapshot' INTO #TITLE WITH DELIMITER SPACE
*S** SET WINDOW 'SNAPSHOT'
*S** ASSIGN ##COLOR = 'NE'
*S****SAG END-EXIT
*S** /*
*S** /* EFC vs SAI reference
*S** IF ##AID-YEAR > '2024'
*S** ASSIGN #FC-LIT = 'SAI:'
*S** ELSE
*S** ASSIGN #FC-LIT = 'EFC:'
*S** END-IF
*S** /*
*S** /* INPUT processing
*S** /*
*S** /* Input Map
*S** IF NOT #BYPASS-INPUT
*S** INPUT WITH TEXT ##MSG,
*S** ##MSG-DATA(1),##MSG-DATA(2),##MSG-DATA(3)
*S** USING MAP 'WFLNSNPM'
*S** END-IF
*S** /*
*S** RESET ##MSG
*S****SAG DEFINE EXIT AFTER-INPUT
*S** /*
*S** /* Replace snapshot with original values when
*S** /* Retrn key interrupts partially-completed updates
*S** IF *PF-KEY EQ WWKEYLDA.#RETURN-KEY
*S** MOVE #ORIG-DEFAULT TO WFLOAPPD.WF-LA-S-DEFAULT
*S** MOVE #ORIG-CIT TO WFLOAPPD.WF-LA-S-CIT
*S** MOVE #ORIG-DEP TO WFLOAPPD.WF-LA-S-DEP
*S** MOVE #ORIG-CLASS TO WFLOAPPD.WF-LA-S-CLASS
*S** MOVE #ORIG-TIM TO WFLOAPPD.WF-LA-S-TIM
*S** MOVE #ORIG-GRAD-DATE TO WFLOAPPD.WF-LA-S-GRAD-DATE
*S** MOVE #ORIG-BUDGET TO WFLOAPPD.WF-LA-S-BUDGET
*S** MOVE #ORIG-EFC TO WFLOAPPD.WF-LA-S-EFC
*S** MOVE #ORIG-AID TO WFLOAPPD.WF-LA-S-AID
*S** END-IF
*S****SAG END-EXIT
*S** /*
*S** /*
*S** /* Check standard PF-Keys
*S** INCLUDE WWSTDKEY
*S** /*
*S** /* Trap invalid PF-Keys.
*S** IF *PF-KEY = 'ENTR' OR = WWKEYLDA.#SELECT-KEY
*S** IGNORE
*S** ELSE
*S** REINPUT 'Invalid program function key' ALARM
*S** END-IF
*S** /*
*S** /* Perform edit routine
*S** RESET INITIAL #FAIL-EDIT
*S** MOVE EDIT TO #SUB-PARM
*S** PERFORM CALL-EXT-SUB
*S** IF #FAIL-EDIT
*S** REINPUT FULL 'Edit errors occurred'
*S** MARK #MARK-FIELD ALARM
*S** END-IF
*S****SAG DEFINE EXIT AFTER-EDIT
*S** /*
*S** /* Do not allow change from grad to undergrad class level
*S** /* if Grad PLUS loan and amount has already been entered
*S** IF WFLOAPPD.WF-LA-R-TYPE = 'P' AND
*S** WFLOAPPD.WF-LA-FUND1 NE ' ' AND
*S** ((SUBSTRING(WFLOAPPD.WF-LA-S-CLASS,1,1) = 'G' AND
*S** SUBSTRING(#ORIG-CLASS,1,1) NE 'G') OR
*S** (SUBSTRING(WFLOAPPD.WF-LA-S-CLASS,1,1) NE 'G' AND
*S** SUBSTRING(#ORIG-CLASS,1,1) = 'G'))
*S** ASSIGN LA-S-CLASS-F = TRUE
*S** MOVE HI-LITE-ATTR TO LA-S-CLASS-CV
*S** REINPUT FULL 'Class level may not be changed for this loan'
*S** MARK *WFLOAPPD.WF-LA-S-CLASS ALARM
*S** END-IF
*S****SAG END-EXIT
*S** /*
*S** /* Load appropriate function
*S** IF #ADD-OBJECT
*S** ASSIGN #FUNCTION = 'STORE'
*S** RESET #ADD-OBJECT
*S** ELSE
*S** IF #DISPLAYED-KEY NE #KEY
*S** OR #KEY = #NULL-KEY
*S** ASSIGN #FUNCTION = 'GET'
*S** ELSE
*S** ASSIGN #FUNCTION = 'UPDATE'
*S** END-IF
*S** END-IF
*S** /*
*S****SAG DEFINE EXIT BEFORE-CALL-OBJECT
*S** IF WWAOBJ.#FUNCTION = 'GET'
*S** ASSIGN #BYPASS-OBJECT = TRUE
*S** ASSIGN WWAOBJ.#EXISTS = TRUE
*S** END-IF
*S****SAG END-EXIT
*S** /*
*S** /* Perform object I/O subprogram
*S** IF #BYPASS-OBJECT
*S** RESET #BYPASS-OBJECT
*S** ELSE
*S** PERFORM CALL-OBJECT
*S** END-IF
*S** /*
*S*************************************************************************
*S**DEFINE SUBROUTINE NEW-SCREEN
*S*************************************************************************
*S** /*
*S** /* Subroutine to allow escape from screen loop
*S** ESCAPE BOTTOM(NEW-SCREEN.) IMMEDIATE
*S**END-SUBROUTINE /* NEW-SCREEN
*S** /*
*S** END-REPEAT /* on NEW-SCREEN
*S**END-REPEAT /* on Repeat of Program.
*S***
*S**PERFORM FINAL-PROCESSING
*S***
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-EXT-SUB
*S*************************************************************************
*S** /*
*S** /* Call Map specific external subroutine
*S** PERFORM WFLNSNPM-MASK-EDITS #SUB-PARM WWVALLDA
*S** WFLOAPPD WFLOAPPD-ID WFLOAPPR WFLOAPPS
*S**END-SUBROUTINE /* CALL-EXT-SUB
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT
*S*************************************************************************
*S** /*
*S** /* Prior to processing object
*S** IF WWAOBJ.#FUNCTION = 'DELETE'
*S** RESET #CONFIRM-PURGE
*S** END-IF
*S** /*
*S** /* Invoke subprogram to process object
*S** PERFORM CALL-OBJECT-IO
*S****SAG DEFINE EXIT AFTER-OBJECT-CALL
*S** /*
*S** /* Move loan type and ID to GDA for use in WWDUTILN
*S** IF WFLOAPPD.WF-LA-TYPE = 'D' OR = 'G' OR = 'A'
*S** MOVE WFLOAPPD.WF-LOAN-ID TO #HOLD-LOAN
*S** IF WFLOAPPD.WF-LA-TYPE = 'D' OR = 'G'
*S** IF WFLOAPPD.WF-LA-R-TYPE = 'P'
*S** MOVE 'P' TO #HOLD-EC-TYPE
*S** ELSE
*S** MOVE 'S' TO #HOLD-EC-TYPE
*S** END-IF
*S** ELSE
*S** MOVE 'A' TO #HOLD-EC-TYPE
*S** END-IF
*S** COMPRESS #HOLD-EC-TYPE #HOLD-LOAN-A INTO #HOLD-EC-TYPE LEAVING NO
*S** END-IF
*S****SAG END-EXIT
*S** /*
*S** IF WWAOBJ.#FUNCTION = 'GET' AND
*S** NOT WWAOBJ.#EXISTS
*S** ASSIGN #ADD-OBJECT = TRUE
*S** END-IF
*S** /*
*S** ASSIGN #DISPLAYED-KEY = WFLOAPPD-ID
*S** /*
*S** /* Reset #KEY if next record displayed
*S** IF #FUNCTION = 'NEXT'
*S** ASSIGN #KEY = #DISPLAYED-KEY
*S** END-IF
*S** /*
*S** /* Set logical for update processing
*S** IF #FUNCTION = 'STORE'
*S** OR = 'UPDATE'
*S** ASSIGN #UPDATE-PERFORMED = TRUE
*S** END-IF
*S** /*
*S** /* Update performed
*S** IF #UPDATE-PERFORMED THEN
*S** ASSIGN #PASS-ADD-OBJECT = #ADD-OBJECT
*S****SAG DEFINE EXIT UPDATE-PERFORMED
*S** /*
*S** /* Replace "original" snapshot values with new updated values
*S** MOVE WFLOAPPD.WF-LA-S-DEFAULT TO #ORIG-DEFAULT
*S** MOVE WFLOAPPD.WF-LA-S-CIT TO #ORIG-CIT
*S** MOVE WFLOAPPD.WF-LA-S-DEP TO #ORIG-DEP
*S** MOVE WFLOAPPD.WF-LA-S-CLASS TO #ORIG-CLASS
*S** MOVE WFLOAPPD.WF-LA-S-TIM TO #ORIG-TIM
*S** MOVE WFLOAPPD.WF-LA-S-GRAD-DATE TO #ORIG-GRAD-DATE
*S** MOVE WFLOAPPD.WF-LA-S-BUDGET TO #ORIG-BUDGET
*S** MOVE WFLOAPPD.WF-LA-S-EFC TO #ORIG-EFC
*S** MOVE WFLOAPPD.WF-LA-S-AID TO #ORIG-AID
*S****SAG END-EXIT
*S** CALLNAT 'WWDUTILN' WW-GDA WWVALLDA
*S** PERFORM ADD-EVENT #EVENT-TYPE #EVENT-DESC
*S****SAG DEFINE EXIT BEFORE-END-TRANSACTION
*S** ASSIGN ##PASS-ACTION = 'R'
*S** ASSIGN ##PASS-KEY = WFLOAPPD-ID
*S** PERFORM LOANDSB-SERVICE WFLODSBL
*S** ASSIGN ##PASS-KEY = #HOLD-EC-TYPE
*S** PERFORM CHECK-LOAN-CHANGES WFLOAPPD WFLOAPPD-ID WFLOAPPR WFLODSBL
*S****SAG END-EXIT
*S** END TRANSACTION
*S** RESET #UPDATE-PERFORMED #ACTION #ADD-OBJECT #DATA-MODIFIED
*S** END-IF
*S**END-SUBROUTINE /* CALL-OBJECT
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE CALL-OBJECT-IO
*S*************************************************************************
*S***
*S** CALLNAT 'WFLOAPPO' WW-GDA
*S** WFLOAPPD
*S** WFLOAPPD-ID
*S** WFLOAPPR
*S** WWAOBJ
*S**END-SUBROUTINE /* CALL-OBJECT-IO
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE FINAL-PROCESSING
*S*************************************************************************
*S** /*
*S** INCLUDE WWEND /* Restore environment.
*S** /*
*S** MOVE BY POSITION WW-GDA TO WW-PDA
*S** /*
*S** /* Return to the calling object.
*S** IF *PF-KEY = WWKEYLDA.#RETURN-KEY THEN
*S** SET CONTROL 'K0'
*S** END-IF
*S**END-SUBROUTINE /* FINAL-PROCESSING
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE INITIALIZATIONS
*S*************************************************************************
*S** /*
*S** /* Populate WW-GDA from WW-PDA
*S** MOVE BY POSITION WW-PDA TO WW-GDA
*S** /*
*S** INCLUDE WWBEGIN /* Capture environment
*S** SET CONTROL 'WBM' /* Set window size/base
*S** /*
*S** /* Specify which PF-KEYS are valid, start by resetting all keys,
*S** /* then assign desired keys using RESET INITIAL.
*S** INCLUDE WWPFSTD /* Standard PF-Keys.
*S**END-SUBROUTINE /* INITIALIZATIONS
*S***
*S*************************************************************************
*S**DEFINE SUBROUTINE SET-KEYS
*S*************************************************************************
*S***
*S** INCLUDE WWSETKEY /* Set specified keys
*S** INCLUDE WWSETHLP /* Set Help keys
*S**END-SUBROUTINE /* SET-KEY
*S**END
2 differences: 9 lines, 0 inline differences in 0 changed lines
Added(9,0)
Deleted(0,0)
Changed(0)
Changed in changed(0)