MAPPER CSI Project Portal

Project Portal

Run List

Source Code :- RUN  A20I12   Edit PIR

Stmt Num Statement
1.DATE 31 AUG 01 13:44:31 RID 12I 11 MAY 93 GLEN
2.PROSPECTS RUN: PIREDIT DESC: P.I.R. EDIT RUN BY: JOE I0400
3*==============================================================================.
4@ldv,w V20I3=erid$
5@def,,lin +1 V21A4,V22
6@if V22(1-4) = V20
7@ldv V27A4=V22(5-4)
8@gto V27
91:
10@psh
11@clv
12@ldv,l V27A4='V22'
13@ldv V26I3=V27(2-3)
14@pek,V26,1
15@ldv V26I3=10
16@ldv,p V23S80=V22
17@ldv V19H6=''
18@ldv,l V27A4='V19',V24I3=V27(2-3),V25I3=V22(V26-3)
19@ldv V23(V26-3)=V24
20@pek,V25,1,-1
21@ldv vV24=vV25
22@pok,V24,1
23@inc,4 V26
24@ldv V238A5=''
25@ldv,l V27A4='V238',V24I3=V27(2-3),V25I3=V22(V26-3)
26@ldv V23(V26-3)=V24
27@pek,V25,1,-1
28@ldv vV24=vV25
29@pok,V24,1
30@inc,4 V26
31@ldv V16A12=''
32@ldv,l V27A4='V16',V24I3=V27(2-3),V25I3=V22(V26-3)
33@ldv V23(V26-3)=V24
34@pek,V25,1,-1
35@ldv vV24=vV25
36@pok,V24,1
37@inc,4 V26
38@ldv,l V27A4='V23'
39@ldv V26I3=V27(2-3)
40@pok,V26,1
41@pop
42@ldv V19H6='',V28I3=8
432:
44@juv,r V238
45@bfn,V5,B,,,33 i . . 2-5 ,V238 V33I4,V34I6
46@rdl,V5,B,V33,V34,33 2-5,8-6,15-4,20-5,26-12,39-1,41-6,48-20,69-6,76-1,78-1,80-6,87-6,94-5 V238A5,V239A6,V240A4,V241A5,V242A12,V243A1,V244A6,V245S20,V246A6,V247A1,V248A1,V249A6,V250A6,V251A5
47@ldv V43S80='ADD ADDITIONAL LINES OF TEXT (Y/N) > _ ,'
48@brk . .
49*=
50******EDIT TEXT VIA SOE UPDATE(S) -- RSM TO CONTINUE*****
51****IF MORE LINES ARE REQUIRED DUPLICATE BLANK LINES TO EXPAND RESULT****
52@ldv V51S70=' ',V52S70=' ',V53S70=' ',V54S70=' '
53@rln,,4 1-1,8-70 V61A1,V51S70
54@if V61 ne '.'
55@ldv V51S70=' '
56@gto 4
57V51**********
58@rln,,4 1-1,8-70 V61A1,V52S70
59@if V61 ne '.'
60@ldv V52S70=' '
61@gto 4
62V52**********
63@rln,,4 1-1,8-70 V61A1,V53S70
64@if V61 ne '.'
65@ldv V53S70=' '
66@gto 4
67V53**********
68@rln,,4 1-1,8-70 V61A1,V54S70
69@if V61 ne '.'
70@ldv V54S70=' '
71@gto 4
72V54**********
733:
74@rln,,4 1-1,8-80 V61A1,V46S80
75@if V61 ne '.'
76@ldv V46S80=''
77@gto 4
78V46(1-70)**********
79@gto 3
804:
81@brk
82@rnm -4
83@lln,-4 V69I8
84@if V69 > 8
85@ldv V43S80='VIEW/EDIT ADDITIONAL LINES OF TEXT (Y/N) > _ ,'
86@if V69 < 8
87@chg V70I8 8 - V69
88@ln+,-4,V69,V70
89@ldv V221A6='',V222S35='',V225S35='',V224A4='',V226S35='',V223S30='',V227S75=''
90@bfn,V4,B,2,,5 '' 2-6 ,V244 V33I4,V34I6
91@rdl,V4,B,V33,V34,5 2-6,9-35,45-30,76-4 V221A6,V222S35,V223S30,V224A4
92@rln 9-35,45-35 V225S35,V226S35
93@rln 2-75 V227S75
94@gto 6
955:
96@ldv V222S35='NO SUCH COMPANY FOUND' . .
976:
98@ldv V229S20='',V228A6='',V230S31='',V231A3='',V232A8='',V233A5='',V234S20='',V235S31='',V236A8='',V237S75=''
99@bfn,V4,C,,,7 i 2-6,9-20 ,V244,V245 V33I4,V34I6
100@rdl,V4,C,V33,V34,7 2-6,9-20,30-31,62-3,66-8,75-5 V228A6,V229S20,V230S31,V231A3,V232A8,V233A5
101@rln 9-20,30-31,66-8 V234S20,V235S31,V236A8
102@rln 2-75 V237S75
103@gto 8
1047:
105@ldv V229S20='NO PERSON DATA FOUND' . .
1068:
107@if V239 = '',(9)
108@bfn,V4,D,2,,9 e . . 2-17 ,V239 V240 V241 ,V34I6
109@rdl,V4,D,2,V34 2-6,9-4,14-5,20-3,24-25,50-6,57-10,68-6 V252A6,V253A4,V254A5,V255A3,V256S25,V257A6,V258F10.2,V259F6.1
110@ldv V47S80=V256,V47(27-6)=V257,V47(35-10)=V258
111@gto 10
1129:
113@ldv V47S80='N O P R O D U C T I N F O F O U N D'
11410:
115@lcv '' V51 ','/';'
116@lcv '' V52 ','/';'
117@lcv '' V53 ','/';'
118@lcv '' V54 ','/';'
119@lcv '' V47 ','/';'
120@lcv '' V239 ','/';'
121@lcv '' V240 ','/';'
122@lcv '' V241 ','/';'
123@lcv '' V242 ','/';'
124@lcv '' V246 ','/';'
125@lcv '' V248 ','/';'
126@lcv '' V243 ','/';'
127@lcv '' V247 ','/';'
128@lcv '' V249 ','/';'
129@lcv '' V250 ','/';'
130@lcv '' V251 ','/';'
131@lcv '' V245 ','/';'
132@lcv '' V234 ','/';'
133@ldv,p V234=V234
134@brk,0,1
1352 E D I T P R O B L E M I N C I D E N T R E P O R T
1362COMPANY: PGM=V20
137V46
138V225 V223
1392PEOPLE:
140@ldv V46S80=V234' 'V245',',V46(44-14)='('V231') 'V232
141@if V236 ne ''
142@ldv V46(59-13)='EXT. 'V236
143V46(1-78)
144V230V235 TYPE=V233
1452PRODUCT:
146CODE> V239, V240, V241, V47(1-44)
147COMPONENT> V242,
148 
1492PROBLEM:
150ITEM> V238 DATE > V246, STATUS> V248, PRIORITY> V243,
151TYPE > V247, CLOSE DT> V249,
152REP> V250, P.S.R. NUMBER> V251,
153 
154> V51,
155> V52,
156> V53,
157> V54,
158V43
1592UPDATE> ,2 SKIP> ,2 EDIT NEXT> ,2 CLOSE> ,2 RETURNV1 _ ,2 EXITV1 ,
160F1-UPDATE F2-REPAINT F3-HELP F4-RETURN F10-EXIT
161@brk
162@key
163@ldv V29A1='*',V61A1='*',V62A1='*',V30A6='*',V59A4='*',V19H6=''
164@chg invar$ V244,V245,V239,V240,V241,V242,V246,V248,V243,V247,V249,V250,V251,V51,V52,V53,V54,V62,V29,V61,V30,V59
165@out,0,1,-0,2,24,1,V28,y,,,p
16611:
167@if soeh$ > 68
168@rel
169@if soeh$ > 58
170@ldv V19H6=V244(1-1)
171@lcv '' V19 '_'/' '
172@gto 32
173@if fkey$ = 0,(12)
174@if fkey$ = 1,(13)
175@if fkey$ = 2
176@ldv V61A1='*'
177@gto 27
178@if fkey$ = 3,(31)
179@if fkey$ = 4
180@ldv V19H6=''
181@gto 32
182@if fkey$ = 10
183@rel
184@brk
185INVALID FUNCTION KEY
186@brk
187@key
188@chg invar$ V244,V245,V239,V240,V241,V242,V246,V248,V243,V247,V249,V250,V251,V51,V52,V53,V54,V62,V29,V61,V30,V59
189@out,-0,2,1,23,1,y,,,p . .
190@gto 11
19112:
192@if V62 = 'Y'
193@wrl,-4,5 2-69 V
194@dsp,-4
195@if V62 = 'Y'
196@rnm,-4
197@if V62 = 'Y'
198@lln,-4 V69I8
199@if V69 < 8
200@chg V70I8 8 - V69
201@ln+,-4,V69,V70
202@if V62 = 'Y'
203@ldv V51S70=' ',V52S70=' ',V53S70=' ',V54S70=' '
204@rdl,-4,5,10 1-70 V51
205@rln,,10 1-70 V52
206@rln,,10 1-70 V53
207@rln,,10 1-70 V54
208@gto 10
209@if V59(1-1) eq N
210@ldv V19H6=CLOSEN
211@gto 13
212@if V59(1-1) ne *
213@ldv V19H6=CLOSE
214@gto 13
215@if V30(1-1) ne *
216@ldv V19H6=GETNXT
217@gto 13
218@if V61 = N
219@ldv V19H6=GETNXT
220@if V61 ne *
221@ldv V61A1='*'
222@gto 27
223@chg V31I2 curv$
224@if V29 ne *,(13)
225@chg invar$ V244,V245,V239,V240,V241,V242,V246,V248,V243,V247,V249,V250,V251,V51,V52,V53,V54,V62,V29
226@out,0,1,-0,1,0,0,18,y,,,p,y . .
22713:
228@lcv '' V51 ';'/','
229@lcv '' V52 ';'/','
230@lcv '' V53 ';'/','
231@lcv '' V54 ';'/','
232@lcv '' V47 ';'/','
233@lcv '' V239 ';'/','
234@lcv '' V240 ';'/','
235@lcv '' V241 ';'/','
236@lcv '' V242 ';'/','
237@lcv '' V246 ';'/','
238@lcv '' V248 ';'/','
239@lcv '' V243 ';'/','
240@lcv '' V247 ';'/','
241@lcv '' V249 ';'/','
242@lcv '' V250 ';'/','
243@lcv '' V251 ';'/','
244@lcv '' V245 ';'/','
245@lcv '' V234 ';'/','
246@if V244 = '?'
247@ldv
248@gto 31
249@if V245(1-1) = '?'
250@ldv
251@gto 31
252@if V239 = '?'
253@ldv
254@gto 31
255@if V240 = '?'
256@ldv
257@gto 31
258@if V241 = '?'
259@ldv
260@gto 31
261@if V242 = '?'
262@ldv
263@gto 31
264@if V246 = '?'
265@ldv
266@gto 31
267@if V248 = '?'
268@ldv
269@gto 31
270@if V243 = '?'
271@ldv
272@gto 31
273@if V247 = '?'
274@ldv
275@gto 31
276@if V249 = '?'
277@ldv
278@gto 31
279@if V250 = '?'
280@ldv
281@gto 31
282@if V251 = '?'
283@ldv
284@gto 31
285@if V51(1-1) = '?'
286@ldv
287@gto 31
288@if V52(1-1) = '?'
289@ldv
290@gto 31
291@if V53(1-1) = '?'
292@ldv
293@gto 31
294@if V54(1-1) = '?'
295@ldv
296@gto 31
297@wrl,-4,5 2-69 V
298@juv,r V251
299@ldv,p V234=V234
300@bfn,V4,C,,,34 i 2-6,9-20 ,V244,V245 V33I4,V34I6
301@def V31I2,V239
302@if V31 = 0,(14)
303@bfn,V4,D,2,,35 e . . 2-17 ,V239 V240 V241 ,V34I6
30414:
305@def V31,V250
306@chg V72I8 V34
307@if V31 = 0,(15)
308@fnd,V4,I,1,6,37 '' 2-11 ,V250 ,V34I6
30915:
310@chg V34I6 V72
311@chg V70I8 5
312@lln,-4 V71I8
31316:
314@rdl,-4,V71 1-70 V51S70
315@def V31I2,V51
316@if V31 = 0
317@dec V71
318@gto 16
319@lln,-4 V72I8
320@if V72 . skip if non-blank is last line . = V71,(17)
321@inc V71
322@ln-,-4,V71,999
323@dec V71
32417:
325@dec,4 V71
326@bfn,V5,B,,,33 i . . 2-5 ,V238 V33I4,V34I6
327@lok,V5,B,V33
328@chg V72I8 V34 +1
329@fnd,V5,B,V33,V72,19 @ 2-1 ,@/r,z ,V70I8
330@chg V72 V70 - V34 -1
33118:
332@if V71 > V72,(20)
333@if V71 < V72,(21)
334@gto 22
33519:
336@lln,V5,B,V33 V70I8
337@chg V72 V70 - V34
338@gto 18
33920:
340@chg V73I8 V71 - V72
341@ln+,V5,B,V33,V34,V73
342@ldv V72I8=V71
343@gto 22
34421:
345@chg V73I8 V72 - V71
346@chg V70I8 V34 + 1
347@ln-,V5,B,V33,V70,V73
348@ldv V72I8=V71
34922:
350@if V19(1-5) = CLOSE
351@ldv V248A1=C,V249A6=V12
352@if V19 ne CLOSEN
353@ldv V19H6=''
354@wrl,V5,B,V33,V34 2-5,8-6,15-4,20-5,26-12,39-1,41-6,48-20,69-6,76-1,78-1,80-6,87-6,94-5 ,V238,V239,V240,V241,V242,V243,V244,V245,V246,V247,V248,V249,V250,V251
355@inc V34
356@chg V70I8 5
357@lln,-4 V72I8
35823:
359@if V70 = V72,(24)
360@rdl,-4,V72 1-70 V51
361@def V31I2,V51
362@if V31 = 0
363@dec V72
364@gto 23
36524:
366@CHG V71I8 0
367@rdl,-4,V70,26 1-70 V51S70
368@inc V71,V70
369@if V70 > V72,(25)
370@rln,,25 1-70 V52S70
371@inc V71,V70
372@if V70 > V72,(25)
373@rln,,25 1-70 V53S70
374@inc V71,V70
375@if V70 > V72,(25)
376@rln,,25 1-70 V54S70
377@inc V71,V70
37825:
379@if V71 = 4
380@wrl,V5,B,V33,V34 2-79 .,V238 V51/.,V238 V52/.,V238 V53/.,V238 V54
381@inc,4 V34
382@gto 24
383@if V71 = 3
384@wrl,V5,B,V33,V34 2-79 .,V238 V51/.,V238 V52/.,V238 V53
385@if V71 = 2
386@wrl,V5,B,V33,V34 2-79 .,V238 V51/.,V238 V52
387@if V71 = 1
388@wrl,V5,B,V33,V34 2-79 .,V238 V51
38926:
390@ldv V61A1='x'
391@ulk
39227:
393@if V16 = 'direct',(32)
394@lok,V5,B,V10
395@fnd,V5,B,V10,,36 '' 5-1,7-5 ,i,V238 ,V34I6
396@wrl,V5,B,V10,V34 3-1,13-6,20-4,25-5,31-12,44-1,66-1,68-6,75-5 ,V61,V239,V240,V241,V242,V243,V248,V250,V251
397@chg V69I8 V34
398@chg V70I8 V28
399@fdr,V5,B,V10 '' 2-1 *,= ,V34I6
400@rln 6-5,12-3 V32I4,V28I3
401@inc V28
402@if V28 > 17
403@chg V28 2
404@inc,16 V32
405@fnd,V5,B,V10 '' 2-1 *,= ,V34I6
406@lok,V5,B,V10
407@wrl,V5,B,V10,V34 6-5,12-3 *,V32,V28
408@ulk
409@chg V34I6 V69
410@chg V28I3 V70
411@if V19 = GETNXT,CLOsen,(28)
412@gto 32
41328:
414@if V30 = '-',(29)
415@inc V34
416@gto 30
41729:
418@dec V34
419@if V34 < 4,(32)
42030:
421@rdl,V5,B,V10,V34,32 5-1,7-5 V29A1,V238A5
422@if V29 = I,(2)
42331:
424@ldv V26I3=1,V22S80=''
425@ldv,l V27A4='90'
426@ldv V22(V26-4)=V27
427@inc,4 V26
428@ldv,l V27A4='10'
429@ldv V22(V26-4)=V27
430@inc,4 V26
431@ldv,l V27A4='HLP-RUN'
432@ldv V22(V26-4)=V27
433@inc,4 V26
434@ldv,l V27A4='HLP-SCREEN'
435@ldv V22(V26-4)=V27
436@inc,4 V26
437@ldv,l V27A4='HLP-FIELD'
438@ldv V22(V26-4)=V27
439@inc,4 V26
440@ldv,w V22(1-4)=erid$
441@ldv V22(V26-1)='.'
442@ldv,p V22=V22
443@psh
444@clv
445@pek,1,28
446@gto rpx 90
44732:
448@ldv V238A5=''
449@ldv V27A4='V22'
450@ldv V26I3=V27(2-3)
451@pek,V26,1
452@psh
453@clv
454@pek,1,28
455@def,p V27A4,V22
456@ldv V26I3=10
457@if V26 > V27,(lin +1)
458@ldv,l V24I3=V23(V26-3),V25I3=V22(V26-3)
459@pek,V25,1,-1
460@pek,V24,1
461@ldv vV25=vV24
462@pok,V25,1,-1
463@inc,4 V26
464@if V26 > V27,(lin +1)
465@ldv,l V24I3=V23(V26-3),V25I3=V22(V26-3)
466@pek,V25,1,-1
467@pek,V24,1
468@ldv vV25=vV24
469@pok,V25,1,-1
470@inc,4 V26
471@if V26 > V27,(lin +1)
472@ldv,l V24I3=V23(V26-3),V25I3=V22(V26-3)
473@pek,V25,1,-1
474@pek,V24,1
475@ldv vV25=vV24
476@pok,V25,1,-1
477@inc,4 V26
478@if V26 > V27,(lin +1)
479@ldv,l V24I3=V23(V26-3),V25I3=V22(V26-3)
480@pek,V25,1,-1
481@pek,V24,1
482@ldv vV25=vV24
483@pok,V25,1,-1
484@inc,4 V26
485@if V26 > V27,(lin +1)
486@ldv,l V24I3=V23(V26-3),V25I3=V22(V26-3)
487@pek,V25,1,-1
488@pek,V24,1
489@ldv vV25=vV24
490@pok,V25,1,-1
491@inc,4 V26
492@if V26 > V27,(lin +1)
493@ldv,l V24I3=V23(V26-3),V25I3=V22(V26-3)
494@pek,V25,1,-1
495@pek,V24,1
496@ldv vV25=vV24
497@pok,V25,1,-1
498@inc,4 V26
499@if V26 > V27,(lin +1)
500@ldv,l V24I3=V23(V26-3),V25I3=V22(V26-3)
501@pek,V25,1,-1
502@pek,V24,1
503@ldv vV25=vV24
504@pok,V25,1,-1
505@inc,4 V26
506@pop
507@pop
508@ldv V27A4=V22(1-4)
509@gto rpx V27
51033:
511@ldv V16A12='PIRERROR'
512@ldv V43S80='PROBLEM INCIDENT REPORT (P.I.R.) ='V238' NOT FOUND'
513@brk,0,1
5142V43(1-59) - XMIT to cont. ,
515@brk
516@out,-0,2,1,23,-1,y,,,p
517@ldv V43S80=''
518@gto 32
51934:
520@ldv V43S80='UNKNOWN COMPANY OR NAME'V244'/'V245' '
521@brk,0,1
5222V43(1-59) - XMIT to cont. ,
523@brk
524@out,-0,2,1,23,-1,y,,,p
525@ldv V43S80=''
526@gto 10
52735:
528@ldv V43S80='UNKNOWN PRODUCT INFO: 'V239'/'V240'/'V241' '
529@brk,0,1
5302V43(1-59) - XMIT to cont. ,
531@brk
532@out,-0,2,1,23,-1,y,,,p
533@ldv V43S80=''
534@ldv V28I3=3
535@gto 10 . .
53636:
537@ldv V43S80='PROBLEM LIST FOR USER:'V7' IS BAD'
538@brk,0,1
5392V43(1-59) - XMIT to cont. ,
540@brk
541@out,-0,2,1,23,-1,y,,,p
542@ldv V43S80=''
543@gto 32
54437:
545@ldv V43S80='REP:'V250' IS BAD'
546@brk,0,1
5472V43(1-59) - XMIT to cont. ,
548@brk
549@out,-0,2,1,23,-1,y,,,p
550@ldv V43S80=''
551@ldv V28I3=12
552@gto 10 . .
553 
554@end