THE WELCH COMPANY
440 Davis Court #1602
San Francisco, CA 94111-2496
415 781 5700
rodwelch@pacbell.net
S U M M A R Y
DIARY: April 6, 2004 09:40 PM Tuesday;
Rod Welch
Fix SDS Action Item management to work correctly with line counter.
1...Summary/Objective
..............
Click here to comment!
CONTACTS
SUBJECTS
Action Item System Post Special Control Field Seems to be Broke Macr
Action Items Special Control Field Updated, Save F2 macro 142, 07020
Action Item Status Special Control Field Seems to be Broke Line Coun
0605 -
0605 - ..
0606 - Summary/Objective
0607 -
060701 - Follow up ref SDS 1 0253.
060702 -
060703 - Seem to have had a problem with updating status of action items.
060704 - Worked on this today, and may have fixed it. ref SDS 0 JV5G
060705 -
060706 -
060707 -
060708 -
060709 -
060711 - ..
0608 -
0609 -
0610 - Progress
0611 -
061101 - Ran an action item report this evening looking for something
061102 - constructive to do.
061104 - ..
061105 - The default report for past 3 months came up with only 3 action items,
061106 - all in January. This does not sound right, because it suggests
061107 - exceptional care in performing pending matters. Research showed there
061108 - were at least 3 action items entered in the record on 040402 visiting
061109 - Kaiser last Friday. ref SDS 4 0001
061111 - ..
061112 - Why aren't they listed in the default report.
061114 - ..
061115 - In any case, up until the end of January there were always many action
061116 - items, now there are none after January. So, we did something.
061117 -
061118 - 1. Wordwrap......................... 040329, ref SDS 3 GR88
061120 - ..
061121 - 2. Forward link line number
061122 - highlight maintain............... 030731, ref SDS 2 TG6L
061124 - ..
061125 - F2 save runs macro 0 that calls macro 304 to maintain highlights,
061126 - ref OF 1 1230, which updates the Special Control Field for action item
061127 - status, ref OF 1 FY4H, per the record on 951208. ref SDS 1 HR3S
061129 - ..
061130 - Actually, macro 0 runs several times for various purposes during the
061131 - F2 save process.
061133 - ..
061134 - Problems today are a little strange.
061135 -
061136 - 1. At least in debug mode the code executed in a loop, because the
061137 - comments explaining the code contained the -label ActnI; not
061138 - sure why this should happen, since label strings are used often
061139 - in comments to understand program flow. The solution was to
061140 - change the construction of the description. Since this is a
061141 - compiled macro, the compiled code removes all comments, so this
061142 - may not have a contributing factor to current problems.
061144 - ..
061145 - 2. Counter 19 controls access to the code that maintains action
061146 - items. ref OF 1 CH9F Values for counter 19 seem to be set and
061147 - reset correctly. ref OF 1 RH5J
061149 - ..
061150 - However, study indicates that counter 19 has been reset
061151 - somewhere before it reaches the access conditional.
061153 - ..
061154 - The forward link op improvements, ref SDS 0 W49J, were actually
061155 - performed within the past few links, to improve the format in
061156 - the record on 000824 that lists accumulated improvements. It
061157 - uses outline numbers on the forward links, and this required
061158 - changing the code in macro 204 that is part of macro 0 to
061159 - maintain line numbers. A major change in the code in macro 204
061160 - is using macro 541 to find the left margin. ref SDS 2 LY6U
061161 - Macro 541 may be the culprit because it uses a lot of counters
061162 - and may reset counter 19.
061164 - ..
061165 - Research shows macro 541 does reset counter 19. ref OF 2 PG4F
061167 - ..
061168 - Solution is to change the counter from 19 to 261.
061169 -
061170 -
061172 - ..
061173 - Line 100, ref OF 1 RH5J, -label nSdsp in 000000
061174 -
061175 - -label nSdsp
061176 - z 1 80
061177 - -if @103 != 300 line 3
061178 - loc_cur 3 1
061179 - setcnt 20 0
061180 - setcnt 21 0
061181 - setcnt 19 111
061182 - setcnt 261 3003
061183 -
061184 - Changed from counter 19 111 to 261 3003. This results in
061185 - updating the Action Item fields, but not sure if some code
061186 - somewhere is not looking for 19 111. A search did not show
061187 - where this is occurring. Somehow counter 19 is being reset to
061188 - 0 after being set to 111, so changed the switch to couner 261,
061189 - which is interpretted below. ref SDS 0 OF9K
061190 -
061192 - ..
061193 - Line 130, ref OF 1 FE3G,
061194 -
061195 - --
061196 - --
061197 - setcnt 261 0
061198 -
061199 - Flag is reset after macro 1 runs to updated line numbers.
061200 -
061201 -
061203 - ..
061204 - Line 280, ref OF 1 CH9F, -label ActnI in 000000
061205 -
061206 - -label ActnI
061207 - -if @3 = 102 color 79
061208 - -if @3 = 107 color 207
061209 - -if @3 = 109 color 124
061210 - -if @47 != 2 -exit
061211 - -if @19 != 111 -exit
061212 - -if @261 != 3003 -exit
061213 -
061214 - This is the code that controls when a Special Control Field is
061215 - updated for action item status. For some reason counter 19 is
061216 - failing for the switch. Investigation did not show where it
061217 - is being reset, but that is occurring,
061218 -
061219 -
061220 -
061221 -
061222 -
0613 -