THE WELCH COMPANY
440 Davis Court #1602
San Francisco, CA 94111-2496
415 781 5700


S U M M A R Y


DIARY: June 1, 2003 04:16 PM Sunday; Rod Welch

Fix backup batch file and replace all of Gary's SDS code.

1...Summary/Objective
2...Diary Summary Fails to Run from SDS Record and from Schedule
....Solution to Diary Summary Seems to Simple
3...SDS Program Code and Work Records Updated


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

CONTACTS 

SUBJECTS
04702 Archive Records Global Pointers Schedule Set Up
Backup Working Files Running Backup.bat
Backup Interim Batch File Backup.bat Needs Correction to Only Backup
Launch Schedule Archive Operation Failing 25.Bat and 001 Not Assembli
Initialization SDS Backup.bat Code Modified Because Gary Transferred
Backup Interim Batch File Backup.bat Needs Correction to Only Backup
Other Users Links between Different Users

1309 -
1309 -    ..
1310 - Summary/Objective
1311 -
131101 - Follow up ref SDS 19 0000, ref SDS 4 0000.
131102 -
131103 - Gary modified backup.bat to support w98, and then transferred to me.
131104 - This caused some problems because the code in 03101 was hardwired to
131105 - support w2k, and so crashed on w98, and transferring the backup.bat
131106 - file to me modified for w98 caused processing for w2k to fail.  Fixed
131107 - the code in backup.bat, and modified 03101 to support using backup.bat
131108 - for both w98 and w2k.  There are actually two places where this occurs
131109 - in 03101. ref SDS 0 YY4O  Transferred revised files with link to
131110 - action item for Gary to modify backup.bat to run on w98, per below.
131111 - ref SDS 0 HG9Q  Gary sent a letter today that clarifies a problem on
131112 - linking reported previously on 030531 by explaining today the probem
131113 - is with the code for creating a diary summary. ref SDS 0 KM6H  He
131114 - called in the afternoon, and we decided that the record suggests
131115 - somehow Gary's code on his home computer is defective, so decided to
131116 - submit update and replaces all of his SDS code. ref SDS 0 GX3N
131117 -
131118 -
131119 -
131120 -
131122 -  ..
1312 -
1313 -
1314 - Problem
1315 -
131501 - Received ref DRT 1 0001 from Gary explaining problem with SDS launch
131502 - that runs a backup op, and saying...
131504 -         ..
131505 -    1.  Looking at backup.bat I found a problem around line 145
131506 -
131507 -        REM xcopy target         **leave this line 2 lines above target ** for 03101
131508 -        REM
131509 -        C:\WINDOWS\COMMAND\XCOPY.EXE d:\sd\08\GLJDY\00 0062458 /h     <-- These were
131510 -        reversed.
131511 -        REM %systemroot%\system32\xcopy d:\sdGLJDYLJDY\0624582820 /h
131513 -         ..
131514 -    2.  Looking at the second line (which *was* first), it looks as
131515 -        though the macro got confused by the comment line.
131517 -         ..
131518 -    3.  If I have this right, macro 03101 makes the changes to
131519 -        backup.bat, and it is position dependent. Perhaps searching for
131520 -        'd:' after finding 'xcopy target' for both the user string and
131521 -        the directory would make the macro more robust.
131523 -         ..
131524 -    4.  Another possibility is placing xcopy.exe in the SDS programs
131525 -        directory, c:\sd\01, so that the path would be the same on all
131526 -        systems.
131528 -         ..
131529 -    5.  This is one of the existing problems with system configuration.
131530 -
131532 -  ..
131533 - Gary called this afternoon about 1700 and we discussed this problem
131534 - along with another one where his code is not running correctly to
131535 - produce a diary summary, per below. ref SDS 0 KM6H
131537 -  ..
131538 - The objective of this operation requires 03101 and backup.bat to work
131539 - together, per the record on 021127. ref SDS 4 0001
131541 -  ..
131542 - Line 150, ref OF 3 FF6G, in backup.bat
131543 -
131544 -    This code here says...
131545 -
131546 -        REM xcopy target         **leave this line 2 lines above target ** for 03101
131547 -        REM
131548 -        REM %systemroot%\system32\xcopy d:\sd00101LJDY\0608242820 /h
131549 -        C:\WINDOWS\COMMAND\XCOPY.EXE d:\sd\08\GLJDY\00 0072820 /h
131551 -  ..
131552 - Since the line C:WINDOWS\COM... was added later and since it is 3
131553 - lines below, and sice the line above has been remarked out, the
131554 - structure of the command is changed, and so nothing is actually
131555 - working.
131557 -  ..
131558 - Seems to reflect changes Gary made to make this code fit W98, and then
131559 - it was transferred to Welch.  On 030527 the problem gained visibility
131560 - and a change was made to avoid transferring program code from Gary to
131561 - Rod, ref SDS 18 0001, per the letter to Gary the day before on 030526.
131562 - ref SDS 17 GA5N
131564 -  ..
131565 - Problems in backup.bat from transferring backup.bat from Gary to me
131566 - means that the current Schedule files were not actually captured.
131567 - Investigation shows this problem began on 030525, so we only missed
131568 - about 6 days of backup.
131570 -  ..
131571 - Line 120, ref OF 1 D16H, in 03101
131572 -
131573 -    z 1 20
131574 -    l /xcopy target/
131575 -      loc_cur 3 16
131576 -      loc_cur 5 38
131578 -         ..
131579 -        This code finds xcopy in backup.bat, and then moves to column
131580 -        38 two lines below.
131582 -         ..
131583 -        Gary remarked out the actual target line, and added a line
131584 -        needed for w98.  The code in 03101 is still processing the line
131585 -        remarked out, and is not processing the line Gary needs.
131587 -         ..
131588 -        Since Gary transferred this file to me, we have a mess at both
131589 -        ends.  Since this was likely transferred to Gary's office
131590 -        computer, we have a mess at three (3) locations.  Gary suggests
131591 -        looking for d: after getting to xcopy.  Not sure this will
131592 -        work, because both optional lines have a d:.  We need to look
131593 -        for something that is good when plugged in and not good when
131594 -        not plugged in so that the only decision for the user is to
131595 -        change the line that is plugged in. If we zone 29 31 and look
131596 -        for d: that might work, because when each of these is not
131597 -        plugged in then d: falls outside the zone, and when plugged in
131598 -        d: falls within the zone for both lines.
131600 -     ..
131601 -    z 29 31
131602 -    l /d:/
131603 -    loc_cur 3 1
131604 -    z 10 50
131605 -    fr /d:\sd\08\/
131606 -
131607 -        Per Gary, after finding xcopy, zone for a field where d: will
131608 -        occur when each of the alternate commands are installed, and
131609 -        where d: will be passed when not installed.  After finding the
131610 -        line with d: below xcopy, start on column 1 line 1, and zone
131611 -        for the field where the beginning string occurs for the current
131612 -        SDS records.  Do find right to put the cusor on the first
131613 -        column for entering the User ID.
131615 -         ..
131616 -        This code enables Gary to unplug the code for w2k in
131617 -        backup.bat, and make the code for w98 active on his home
131618 -        computer, and do the opposite to make the code run correctly on
131619 -        his office computer.
131621 -         ..
131622 -        Note to Gary that the code in backup.bat is set for w2k, and so
131623 -        needs to be modified by switching the rem commands for his home
131624 -        computer. ref OF 3 FF6G
131626 -         ..
131627 -        Gary can also install "goto" in the batch file to avoid
131628 -        processing that is unique to Rod's computer. ref OF 3 PK9N
131629 -
131631 -  ..
131632 - Line 260, ref OF 1 YY7O, -label end in 03101 about 30 lines below.
131633 -
131634 -    z 1 20
131635 -    l /xcopy target/
131636 -    z 29 31
131637 -    l /d:/
131638 -    loc_cur 3 1
131639 -    z 10 50
131640 -    fr /d:\sd\08\/
131641 -    rel_cur 0 9
131642 -       loc_cur 5 48
131643 -    -gosub time
131644 -
131645 -        Make same change for entering time field, that is developed
131646 -        above for entering User ID. ref SDS 0 CV4F
131647 -
131648 -
131649 -
131650 -
131651 -
131652 -
131653 -
131654 -
131655 -
131656 -
131657 -
131658 -
131659 -
131660 -
131661 -
131662 -
131663 -
131664 -
131665 -
131666 -
131667 -
131668 -
131669 -
131670 -
131671 -
131672 -
131673 -
1317 -

SUBJECTS
Diary Summary Failing on Gary's Home Computer
Diary Record Listed in Summary But No Record Exists How to Delete Dat
Diary Summary Out of Sync with Diary
Johnson, Gary Diary Summary Fails from SDS Record and from Schedule
Diary Summary Fails from SDS Record and from Schedule

190701 -  ..
190702 - Diary Summary Fails to Run from SDS Record and from Schedule
190703 -
190704 - Follow up ref SDS 19 QQ6M, ref SDS 9 0000.
190705 -
190706 - Received ref DRT 2 0001 from Gary explaining another problem and
190707 - saying...
190708 -
190709 -    1.  More on the diary search issue I mentioned on 030530
190711 -         ..
190712 -    2.  It is more than I first thought:, ref DRT 2 1I5L
190714 -         ..
190715 -    3.  First, what I did was:, ref DRT 2 6I5O
190717 -         ..
190718 -    4.  From an SDS Diary record, Shift F10 to get the menu, tab to
190719 -        Diary and enter a search string to get a list of Rod's records
190720 -        for May, 2003. ref DRT 2 RI6H
190721 -
190722 -           030501 30 ^00101
190724 -         ..
190725 -    5.  I get my records for 030501 *only*. ref DRT 2 DY6N
190727 -         ..
190728 -    6.  This turns out to be true even if I leave off the user and try
190729 -        to get my records. ref DRT 2 TI7J
190731 -         ..
190732 -    7.  I have something broken in doing a diary search from within an
190733 -        SDS record. ref DRT 2 2J7N
190734 -
190736 -  ..
190737 - Gary seems to be reporting a new problem today saying the diary
190738 - summary feature is not working from within his SDS records.  However,
190739 - there actually seems to be more information in this new letter.
190741 -  ..
190742 - The statement in Gary's letter that says...
190743 -
190744 -       More on the diary search issue I mentioned on 030530
190745 -
190746 - ...indicates this is a continuation of a problem reported on 030530.
190747 - The problem understood to be reported on 030530 is shown a letter from
190748 - Gary on 030530 received on 030531. ref SDS 19 QQ6M  The record on
190749 - 030531 doesn't say a thing about difficulty getting a diary summary.
190750 - It explains a problem creating links. ref SDS 19 QQ6M The record today
190751 - seems to say the actual problem with linking was difficulty getting a
190752 - list of diary records for another user.
190754 -  ..
190755 - Gary called this afternoon, and we decided to do the following...
190756 -
190757 -    1.  Replace all of the code Gary is using for SDS in...
190758 -
190759 -        c: 01 02
190760 -
190761 -           Note.....normally, an update would replace code in 01 02,
190762 -           but Gary has developed following new tools in this
190763 -           directory...
190764 -
190765 -              c: 01 02 test_long_dos.exe
190766 -              c: 01 02 rcv_all.bat
190767 -              c: 01 02 SDS_Clip.exe
190768 -              c: 01 02 xfer.bat
190769 -              c: 01 02 ROD.BAT
190770 -              c: 01 02 SDS_Back_Full.bat
190771 -              c: 01 02 manage_xfer_log.txt
190772 -              c: 01 02 Tglj_rod.BAT
190774 -            ..
190775 -           I have not changed these files, did not even know they have
190776 -           been transferred to me, per the record on 030526.
190777 -           ref SDS 17 0001  However, Gary may have changed them since
190778 -           sending them to me, and so getting back an old version will
190779 -           be a problem.  To avoid getting into a loop, as we have in
190780 -           the past, will not transfer any 01 02 files to Gary, except
190781 -           those scraped up in the normal update process, which in this
190782 -           case should be none.
190784 -         ..
190785 -        c: 01 04
190786 -        c: sd 01
190787 -        c: sd 03
190788 -
190789 -           Modified 04501 and 040727 so that these will not replace the
190790 -           files Gary is using which are customized for him.
190792 -         ..
190793 -        h: sd 04
190795 -         ..
190796 -    2.  Gary will need to check following to conform with w98
190797 -        requirements....
190799 -         ..
190800 -        c: sd 01 070405.bat
190801 -        c: sd 01 backup.bat
190802 -
190804 -     ..
190805 -    Solution to Diary Summary Seems to Simple
190806 -
190807 -    Part of me says this is too simple, and we are actually dealing
190808 -    with another distinction between w98 and w2k possiby in the way
190809 -    that the dir or similar command winds up listing things.  Since
190810 -    Gary recalls that the diary summary worked previously, assume this
190811 -    can be solved within the current code.  Another possibility is that
190812 -    Gary reconnected 4DOS or some other DOS replacement, since that was
190813 -    a problem previously, reported on 021010, ref SDS 1 DQ6F, and
190814 -    solved on 021029. ref SDS 2 0001
190815 -
190816 -
190817 -
190818 -
190819 -
1909 -

SUBJECTS
Replace SDS Program Code to Correct General Error
Zip Update SDS Program and My SDS Records for Training Purposes on Ga

210401 -  ..
210402 - SDS Program Code and Work Records Updated
210403 -
210404 - Follow up ref SDS 13 GX3N, ref SDS 6 NE6M.
210405 -
210406 - Submitted email notifying Gary SDS update is on the web covering the
210407 - period from last transfer on 030505. ref SDS 13 GX3N
210409 -  ..
210410 - Used procedures reported on 021201. ref SDS 5 CL9N
210412 -  ..
210413 - This update has following improvements and corrections...
210414 -
210415 -    1.  Replaces SDS code per above in order
210416 -        to correct general failure of diary
210417 -        code.................................. 030601, ref SDS 0 PN7M
210418 -
210419 -        See also guidance for restoring zip
210420 -        files, per above. ref SDS 0 HZ9F
210422 -         ..
210423 -    2.  Modified 03101 so that backup.bat
210424 -        works for both for w98 and w2k,
210425 -        per above............................. 030601, ref SDS 0 IF7P
210427 -         ..
210428 -        No change in using program is required by this change.
210430 -         ..
210431 -    3.  Outlining more robust to allow
210432 -        user greater flexibility to
210433 -        create multiple structures with
210434 -        less attention on alignment; work
210435 -        was done today, but reported.......... 021107, ref SDS 3 WB5N
210437 -         ..
210438 -        No change in using program is required by this change.
210439 -
210440 -           Note, getting update to Gary was delayed, because after
210441 -           doing this record encounterd program crash due to problem
210442 -           fixed by this issue.
210444 -         ..
210445 -    4.  Doc log report when only
210446 -        one file is found was a
210447 -        problem that is fixed................. 030601, ref SDS 20 0001
210449 -         ..
210450 -    5.  Confidentiality improved to
210451 -        redact Contacts from Reference
210452 -        fields................................ 030521, ref SDS 16 0001
210454 -         ..
210455 -    6.  Edit Control Fields preserve
210456 -        mark when lines deleted............... 030518, ref SDS 15 0001
210457 -
210458 -            Gary addressed this issue on 030530.
210459 -            ref SDS 19 0079
210461 -         ..
210462 -    7.  Mark return improved to aid writing
210463 -        summary of SDS records linked to
210464 -        relevant details...................... 030516, ref SDS 14 0001
210466 -         ..
210467 -    8.  SDS record format for documents in
210468 -        Reference field maintained by save
210469 -        function to avoid report and save
210470 -        op functions.......................... 030505, ref SDS 13 0001
210472 -         ..
210473 -    9.  Confidentiality improved by
210474 -        removing telephone numbers
210475 -        and email addresses in Contacts
210476 -        Reference field of SDS records
210477 -        published on Internet................. 030502, ref SDS 12 0001
210479 -         ..
210480 -   10.  Restore doubble space and pagination
210481 -        for pleading paper.................... 030501, ref SDS 11 0001
210483 -         ..
210484 -   11.  SDS foundational documents listed
210485 -        in Reference field, called by new
210486 -        menu function......................... 030429, ref SDS 10 0001
210488 -         ..
210489 -   12.  Subject index improved creating
210490 -        standard sub-levels................... 030425, ref SDS 8 0001
210492 -         ..
210493 -   13.  HTML profile improved for editing
210494 -        files with br br rather than P
210495 -        command............................... 030424, ref SDS 7 0001
210497 -         ..
210498 -   14.  Maintenance current 00 directory
210499 -        improved process for restoring
210500 -        records............................... 030414, ref SDS 6 PJ6M
210501 -
210502 -
210503 -
210504 -
210505 -
210506 -
210507 -
210508 -
210509 -
210510 -
210511 -
210512 -
210513 -
2106 -