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: September 8, 2005 08:42 AM Thursday; Rod Welch

Gary called about improving making new tasks and SAA integration.

1...Summary/Objective
2...SAA Schedule Analysis and Adjustments Correct Failure Opening Records
3...Day of Week Calculate from Date Year Month Day
4...Zeller Congruence for Calculating Day of Week from Date


..............
Click here to comment!

CONTACTS 

SUBJECTS
Highlight Flags Maintain in New Follow Up Schedule Task

0503 -
0503 -    ..
0504 - Summary/Objective
0505 -
050501 - Follow up ref SDS 3 0000.
050502 -
050503 - Gary called this morning and explained some difficulties using SDS.
050504 - Fixed these problems. ref SDS 0 YY79  The second problem seems to be
050505 - fixed, but not sure why. ref SDS 0 Y06H  Gary also helped improve SDS
050506 - by submitting code and providing telephone technical support on
050507 - implementation to apply Zeller's congruance formula to determine the
050508 - day of the week to improve recent changes on creating a new diary
050509 - record for a prior date using another record as a template.  Work
050510 - today demonstrated effective collaboration that could greatly
050511 - strengthen development. ref SDS 0 BV8J
050512 -
050513 -
050514 -
050515 -
050516 -
050518 -  ..
0506 -
0507 -
0508 - Progress
0509 -
050901 - Gary reported that macro 004 needs to remove the follow up action item
050902 - flag when a new record is created, see work on 991020. ref SDS 1 BO8O
050904 -  ..
050905 - Additionally, the macro 136 that runs Enter is crashing in SAA to open
050906 - records.
050907 -
050909 -  ..
050910 - Investigated changing performance to remove the highlight flags on
050911 - follow up action items, when a new task is created using another
050912 - records as the template.
050914 -  ..
050915 - Line 1020, ref OF 1 5883, -label bP_chnGs, in 004 about 40 lines below
050916 -
050917 -    Reconnected code to delete highlight flags for follow ups, per
050918 -    Gary's request.  This updates prior work on 991020. ref SDS 1 BO8O
050919 -
050920 -
050921 -
050922 -
050923 -
0510 -

SUBJECTS
Open SDS record in Ref of SAA and Find Description String in Target

0603 -
060401 -  ..
060402 - SAA Schedule Analysis and Adjustments Correct Failure Opening Records
060403 -
060404 - During the call with Gary today, tesing shows that pressing Enter and
060405 - doubld clicking to open a record in SAA fails after the 3rd pass.  In
060406 - other words, records can be opened twice, but on the 3rd attempt, the
060407 - code executes commands completely unrelated to opening a record.
060409 -  ..
060410 - This was discovered when Gary creates a new record using a record with
060411 - a lot of follow up action item flags, and the new record is saved
060412 - without editing which ordinarily removes prior highlight flags that do
060413 - not apply in the new record.  This happens fairly often when there is
060414 - not enough time to create new content at the time a new record is
060415 - created, and results in a lot of action items being entered into SAA
060416 - with the save op, F2, that are not actually action items, but merely
060417 - have not been edited out.  When Gary had time to remove the incorrect
060418 - entries from SAA, he discovered that on the 3rd pass, Enter operation
060419 - to open a record in SAA was crashing.
060421 -  ..
060422 - During the call today, I tested this and got the same results.
060424 -  ..
060425 - Work on 010510 worked on SAA. ref SDS 2 B37K
060427 -  ..
060428 - Subsequently did a lot of work over about 4 - 6 hours, but never
060429 - encountered anything that directly addressed this problem.  Found a
060430 - number of small things that seemed unrelated, but broken even though
060431 - the program seemed to be running correctly.  Primarily, the code that
060432 - finds the action item line in the record after being opened from SAA
060433 - wasn't working.  Eventually fixed this by changing counter 241 to 249,
060434 - because possibly macro 1182 and macro 1181 when run starting with
060435 - counter 180, could have been resetting counter 241 because 40 counters
060436 - are processed, plus two more to evaluate the end of the string, so
060437 - that may mean 241 was impacted.  In any case, this change seems
060438 - unrelated to the problem Gary reported. ref SDS 0 W59O
060440 -  ..
060441 - Despite doing nothing that seems related to the problem, the program
060442 - seems now to run correctly now.
060444 -  ..
060445 - Line 1380, ref OF 4 EK5L, -label jmpw3 in 000006
060446 -
060447 -    -label jmpw3
060448 -    setgbl 140 @140
060449 -    -if @140 != 2000 macro 19
060450 -    -if @241 = 1 setgbl 101 666
060451 -    markcur 20
060452 -
060454 -  ..
060455 - Line 1510, ref OF 4 725H, -label tst8j in 000006
060456 -
060457 -    -if @241 != 1 -goto nSAza
060458 -    setgbl 241 9728
060459 -    loc_cur 0 17
060460 -    setcnt 86 180
060461 -    setcnt 80 1000
060462 -    setcnt 81 205
060463 -    -goto SAAop1
060464 -
060465 -
060467 -  ..
060468 - Line 1090, ref OF 5 PJ9M, -entry 136 in 000008
060469 -
060470 -   This is where the code for Enter starts.
060471 -
060473 -  ..
060474 - Line 1450, ref OF 5 3564, -label nrepS in 000008 about 50 lines below
060475 -
060476 -    This is where the Enter code processes SDS records and evaluates
060477 -    the Reference field for opening another record or a document.
060478 -
060480 -  ..
060481 - Line 1970, ref OF 5 3542, -label nlinKem in 000008 about 50 lines
060482 - below
060483 -
060484 -    Code determines processing SDS References.
060485 -
060486 -
060488 -  ..
060489 - Line 2050, ref OF 5 Q79I, -label oRec in 000008
060490 -
060491 -    -label oRec
060492 -    macro 98
060493 -    -exit
060494 -
060495 -        Code called in 000006.
060497 -  ..
060498 - Strange situation, we are not getting errors on the 3rd pass opening a
060499 - record listed in the Reference field of the SAA record on C13.
060501 -  ..
060502 - Will investigate macro 98 that opens the record.
060503 -
060505 -  ..
060506 - Line 1180, ref OF 4 0550, -entry 98 in 0000006
060507 -
060508 -    This code opens SDS records.
060509 -
060511 -  ..
060512 - Line 1520, ref OF 4 725H, -label tst8j in 000006 about 40 lines below
060513 -
060514 -     -if @241 != 1 -goto nSAza
060515 -     setgbl 241 9728
060516 -     loc_cur 0 17
060517 -     setcnt 86 180
060518 -     setcnt 80 1000
060519 -     setcnt 81 205
060520 -     setcnt 80 0
060521 -     -goto SAAop1
060522 -
060523 -        This is where the code reads the string to find in the target
060524 -        record; it is not working correctly.
060525 -
060526 -
060528 -  ..
060529 - Line 2400, ref OF 3 V53O, -entry 942 in 000005 about 80 lines below
060530 -
060531 -    pfent macro 972
060532 -
060533 -        Enter key for Schedule is assigned to macro 972
060534 -
060536 -  ..
060537 - Line 180, ref OF 4 3009, -entry 972 in 000006
060538 -
060539 -    This is code called in 000005 to open an SDS record
060540 -
060542 -  ..
060543 - Line 910, ref OF 4 U35I, -label blNkit in 000006 about 60 lines below
060544 -
060545 -    strcnt 243 4
060546 -
060547 -        Changed counter 241 to 243 in order to avoid potential conflict
060548 -        with macro 1181 that is started with counter 180.
060549 -
060550 -
060551 -
060552 -
060553 -
060554 -
0606 -

SUBJECTS
Day of Week for Date of New Diary Record Prior Date Create Using Cur

1103 -
110401 -  ..
110402 - Day of Week Calculate from Date Year Month Day
110403 - Zeller Congruence for Calculating Day of Week from Date
110404 -
110405 - Follow up ref SDS 3 EH3F.
110406 -
110407 - Gary submitted code today in PERL script, and then converted this to
110408 - Medit counters for calculating the day of the week for a particular
110409 - date.
110411 -  ..
110412 - Gary was very effective today collaborating and assisting in
110413 - configuring new macro 924 in 000004 that performs the calculation.  He
110414 - developed all of the code to apply Zeller's Congruence formula in
110415 - macro 924.  Would be great to continue this support.
110417 -  ..
110418 - Line 480, ref OF 2 J19M, -entry 924 in 000004
110419 -
110420 -    -entry 924
110421 -    setcnt 100 @3
110422 -    setcnt 101 @4
110423 -    setcnt 102 @5
110424 -    -if @101 > 2 -goto monthok
110425 -    addcnt 101 12
110426 -    subcnt 100 1
110427 -    -label monthok
110428 -    setcnt 103 @100
110429 -    modcnt 103 100
110430 -    setcnt 104 @100
110431 -    divcnt 104 100
110432 -    addcnt 101 1
110433 -    mulcnt 101 26
110434 -    divcnt 101 10
110435 -    setcnt 105 @102
110436 -    addcnt 105 @101
110437 -    addcnt 105 @103
110438 -    divcnt 103 4
110439 -    addcnt 105 @103
110440 -    setcnt 106 @104
110441 -    divcnt 106 4
110442 -    addcnt 105 @106
110443 -    setcnt 106 @104
110444 -    mulcnt 106 5
110445 -    addcnt 105 @106
110446 -    setcnt 107 1
110447 -    addcnt 105 5
110448 -    modcnt 105 7
110449 -    addcnt 107 @105
110450 -    -exit
110451 -
110452 -        This is a new macro which Gary developed and then talked me
110453 -        through creating an application for SDS.  This implements
110454 -        something called Zeller's Congruence.
110455 -
110456 -
110458 -  ..
110459 - Line 460, ref OF 1 UU6L, -label ncndr in 0042 about 130 lines below
110460 -
110461 -    loc_cur 0 51
110462 -    setcnt 100 @3
110463 -    setcnt 101 @4
110464 -    setcnt 102 @5
110465 -    macro 924
110466 -    setcnt 9 @107
110467 -    -if @9 = 7 setcnt 9 0
110468 -    macro 872
110469 -
110470 -        Applied new macro 924 in 000004, per above, ref SDS 0 JW4I, to
110471 -        enter the day of the week in SDS records created for a prior
110472 -        date.  loc_cur 0 51 moves the cursor into position, counters
110473 -        100, 101 and 102 correspond to year, month, and day and so are
110474 -        loaded with values calculated previously, as reported on
110475 -        050903. ref SDS 3 EH3F
110476 -
110477 -
110478 -
110479 -
110480 -
110481 -
110482 -
110483 -
110484 -
110485 -
110486 -
110487 -
1105 -