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


S U M M A R Y


DIARY: December 3, 1997 10:15 AM Wednesday; Rod Welch

Incorporate 070405 into 06116 so HTML conversion can run longer.

1...Summary/Objective
2...06116 - Testing on SDS Project Data Base
.....0041 - Incorporate code into 06116
.....070405 - Incorporate code into 0616
.....Cut File - Reduce use to Avoid Memory Leak
.....Summary/Objective - Eliminate Checking Availability
.....Doc Log Ref Headings Convert to HTML with Ins_text
3...070405 - Add Flags to accomodate Data Structure for 06116 Procesisng
4...0704013 - Modify Capture of Action Items
5...000007 - Omit Disk Clean up on 06116 Operation
6...0041 - Format SDS Reports


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

CONTACTS 

SUBJECTS
Configure for network s: drive
Intranet, HTML Code
Memory Management, Cut File
HTML Code
Create Data Base, 06116
Convert SDS Record to HTML for Local
Planning
Concept Objectives

1310 -    ..
1311 - Summary/Objective
1312 -
131201 - Follow up ref SDS 9 1806, ref SDS 8 1701.
131202 -
131203 - Made slight improvement to 0704050 that reduces the code required to
131204 - process Doc Log headings in References during HTML record conversion.
131205 - ..
131206 - Made improvements by incorporating 070405 and 0041 into 06116,
131207 - similar to incorporating 0704013 and 0041 earlier, and by eliminating
131208 - the use of the cut file to transfer and delete data.  Was able to
131209 - reduce the size of the code in each processor by removing code that
131210 - is unneeded for the specific function of the processor.
131211 -
131212 -     This increased conversion to 6 months for the USACE record, which
131213 -     formerly could only create a 2 month period of the record. ref SDS
131214 -     6 1591
131215 -
131216 -     [See further consolidation of code on 971206. ref SDS 11 5521]
131217 -        ..
131218 -     [Actually, this did not work well, could not do 6 months, or
131219 -     even two months for some subjects, e.g., SDS, so I changed it OA
131220 -     971213, but report the change on 971205. ref SDS 11 5253]
131221 -
131222 - I think eliminating use of the cut file may be the biggest contributor
131223 - to better memory management. ref SDS 0 6360
131224 -
131225 -     [See call to Morris for more ideas. ref SDS 10 1752]
131226 -
131227 -     [See evaluation of changes. ref SDS 12 6000]
131228 -
131229 -     [Improved macro 79 called in 06116, 070405 to collapse fields and
131230 -     delete words, by also eliminating use of cut file. ref SDS 13
131231 -     1705]
131232 -
131233 -     [Actually, applied Morris idea oa 971213, and reported on 971205.
131234 -     ref SDS 11 3255]
131235 -
131236 -
131237 -
1313 -
1314 -
1315 - Coding
1316 -
131601 -  ..
131602 - 06116 - Testing on SDS Project Data Base
131603 -
131604 - Follow up ref SDS 9 1914, ref SDS 8 1804.
131605 -
131606 - Test record after processing with 070405, ref OF 2 2287,
131607 -
131608 -      ..
131609 -     0041 - Incorporate code into 06116
131610 -
131611 -     Line 830 -label sepLN, ref OF 2 3156, incorporated code from
131612 -     0041, rather than call it as a subroutine.  This saves 2K of file
131613 -     overhead.  Was also able to strip a few lines of code that are
131614 -     otherwise acocmplished in 06116.
131615 -
131616 -
131617 -      ..
131618 -     070405 - Incorporate code into 0616
131619 -
131620 -     Decided to try incorporating this code into 06116 to save the 2K
131621 -     overhead per file, similar to incorporating 0704013, yesterday.
131622 -     ref SDS 9 4270
131623 -
131624 -     Line 385 -label asci, ref OF 2 2287, made internal subroutine here
131625 -     instead of calling 0704050.  This saves the 2K of overhead to
131626 -     call a file.
131627 -
131628 -     Line, ref OF 2 2671, is where the subroutine occurs.
131629 -
131630 -     We can eliminate code that uses counter 123 = 1 because it is for
131631 -     the data base conversion operation which is what this is, so any
131632 -     code for something else can be eliminated to save a little memory.
131633 -
131634 -     We can eliminate the code that is needed in 0704050 to permit a
131635 -     line space to separate entries in the Executive Summary. ref OF 4
131636 -     2019, because that is a judgement that is made after 0704013 is
131637 -     produced for a separate memo.  The data base will not permit this
131638 -     judgement to be made.
131639 -
131640 -
131641 -      ..
131642 -     Cut File - Reduce use to Avoid Memory Leak
131643 -
131644 -     Possibly we can reduce the use of the Cut File, since this seems
131645 -     to be a source of excessive memory use.
131646 -
131647 -         [Improved macro 79 called in 06116 and 070405 to collapse
131648 -         fields and delete words, by also eliminating use of cut file.
131649 -         ref SDS 13 1705]
131650 -
131651 -         [Reduced reliance on "e" command to avoid memory leak on
131652 -         971205. ref SDS 11 1474]
131653 -     ..
131654 -     Macro file 00410 Line 1130 -label lpphpn, ref OF 2 4274, may
131655 -     be able to do this differently.
131656 -     ..
131657 -     File 00410 Line 1090 -label nbagn, ref OF 2 3958, tried
131658 -     eliminating use of cut file to remove stuff beyond col 80.  This
131659 -     code removes the stuff beginning at col 89 on file line 1 and also
131660 -     the secondary doc log fields.  Made this a subroutine. It is
131661 -     called first at ref OF 2 1121, before any HTML is in the record.
131662 -     It is called later at ref OF 2 5757 to remove the Reference file
131663 -     ID stuff in col 171.
131664 -
131665 -     Line 2500 -label over, ref OF 2 5757, will try using code at
131666 -     ref OF 1 1121 as a subroutine.
131667 -
131668 -         It needs a flag to avoid going beyond the SDS ref field,
131669 -         because there can be some HTML code in col 171 for citations.
131670 -
131671 -             Beginning of narrative field is saved in counter 101 when
131672 -             macro 6 is called at line 190 -label Issu ref OF 2 5595,
131673 -     ..
131674 -     Line 660 -label ooh1, ref OF 2 5965, tried eliminating using
131675 -     cut file for Action Item processing.
131676 -
131677 -
131678 -      ..
131679 -     Summary/Objective - Eliminate Checking Availability
131680 -
131681 -     Line 450 -label ascii, ref OF 2 1666, decided that since we have
131682 -     added a feature to verify there is a Summary/Objective line
131683 -     entered in every record when it is saved, we do not need the code
131684 -     that puts this string in if it is missing.
131685 -
131686 -
131687 -      ..
131688 -     Doc Log Ref Headings Convert to HTML with Ins_text
131689 -
131690 -     Made this change considered yesterday for the 070405 macro, ref
131691 -     SDS 9 2625.  Since 070405 has put in 06116, per above, ref SDS 0
131692 -     5564, made same change in 070405 below. ref SDS 0 4861
131693 -
131694 -     Line 500 -label lpD, ref OF 2 4484, changed code from using cut
131695 -     and paste to simply using ins_text.  This is faster, takes less
131696 -     code and does not use the cut file.
131697 -
131698 -        This code also uses the symbol values for the arrow direction
131699 -        characters "<" and ">" instead of relying on Web browser to
131700 -        figure this out.
131701 -
131702 -
131703 -  ..
131704 - 070405 - Add Flags to accomodate Data Structure for 06116 Procesisng
131705 -
131706 - Follow up ref SDS 9 2024, ref SDS 8 1909.
131707 -
131708 - Problem
131709 -
131710 -     The code is modifying References headings for document fields
131711 -     with multiple steps using cut and paste.  This can be done with a
131712 -     single step using ins_text.
131713 -
131714 -     Solution
131715 -
131716 -        Line 460 -label lpD, ref OF 4 2318, is where this occurs.
131717 -
131718 -        Use the code for identifying citation type, to read the Doc
131719 -        Log ref type.
131720 -
131721 -        Line 670 -label rTyp, ref OF 4 2307, make this a subroutine to
131722 -        identify the type of field, so it can be used for Doc Log
131723 -        header conversion and for posting citations.
131724 -
131725 - Line 1135 -label over, ref OF 4 4708, made same change for removing
131726 - the citations stuff in col 171, that was made in 0041, ref SDS 0 2160,
131727 - ..
131728 - Line 500 -label lpD, ref OF 4 3760, changed the way Doc Log
131729 - headings are converted to HTML, per ref SDS 0 2885.
131730 -
131731 -     This same code also uses the symbol values for the arrow direction
131732 -     characters "<" and ">" instead of relying on Web browser to figure
131733 -     this out.
131734 -
131735 -
131736 -  ..
131737 - 0704013 - Modify Capture of Action Items
131738 -
131739 - Want to use the new method of doing this that was developed in
131740 - 06116, per above at ref SDS 0 3385,
131741 -
131742 - Line 230 -label ooh1, ref OF 3 5965, changed this code for processing
131743 - headlines and Action Items to conform with code in 06116. ref SDS 0
131744 - 3385
131745 -
131746 - Did major surgury to streamline this code.
131747 -
131748 -     Line 35 -label begin, ref OF 3 2347, start with flag that
131749 -     establishes this does not have Control Field lines.
131750 -
131751 -     [It was changed again on 961205, so this became only an ASCII memo
131752 -     macro again. ref SDS 11 5521]
131753 -
131754 -
131755 -
131756 -  ..
131757 - 000007 - Omit Disk Clean up on 06116 Operation
131758 -
131759 - To save memory, will try omitting dos /c commands.
131760 -
131761 -     These place at least a 60K demand on system memory.
131762 -
131763 - Line 2290 -label cO_msG, ref OF 6 4166, is the only place where this
131764 - occurs at the end of the process.
131765 -
131766 -      Made the change, then changed it back.
131767 -
131768 - Line 1120 -entry 120, ref OF 6 4538, evaluating changing code to
131769 - reduce compiled macro and eliminate cut and paste operation.
131770 -
131771 - This did not work because we do not have enough compile space to
131772 - accomodate the additional code to accomplish this work without using
131773 - cut and paste.
131774 -
131775 -
131776 -
131777 -  ..
131778 - 0041 - Format SDS Reports
131779 -
131780 - This is a common routine.  I incorporated it into 06116 to save the 2K
131781 - memory of using a separate file.
131782 -
131783 - Line 1130 -label lpphpn, ref OF 1 1937, made same change as at ref SDS
131784 - 0 2190, which are shown in 06116 at ref OF 2 4274
131785 -
131786 - Line 1090 -label nbagn, ref OF 1 3958, made same change as at ref SDS
131787 - 0 2160, which are shown in 06116 at ref OF 2 3958,
131788 -
131789 -
131790 -
131791 -