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


S U M M A R Y


DIARY: May 5, 1999 01:06 PM Wednesday; Rod Welch

Modified SDS doc log for web browser; fixed opening SDS links.

1...Summary/Objective
2...Background - Communication Metrics Delivers Useful Intelligence
3...Background - Web Page Doc Log Created on 981102
4...Display SDS Doc Log in Web Browser; Use Templates for Formatting
5...Process Planning
6...0123 Convert SDS Doc Log to HTML for Internet - F4 Custom Report
7...Letterhead of Report, Subject Selection Spec, Doc Log Filename
8...Title Displays Both Subject and Report Type
9...Subject Description Used for Report Letterhead and Browser Title
10...Use long string code to capture all of this.
11...01231 Template for HTML Doc Log
12...Templates Format Report Types with Table Command
13...Flags Set in 06113 Establish Report Type...
14...Doc Log Table Fields (cells) Imported from SDS Doc Log Report
15...Center cell contents.
16...Cross-reference Related Reports for Alternate Web Access
17...0123 Null Report Shows No Records for Period and Catagory
18...044012 Capture Entire Subject Description for Letterhead
19...000006 Open Links to Avoid Linking on Enter, Macro 982
20...000006 Macro 982 verify 4 Place Num required for Anchor
21...000006 Editor Links only on Blank Lines, Macro 985
22...000006 Editor 1st 5 Lines Automatic Default Anchor, Macro 985
23...000008 Enter, Eliminate Col 24 as Link Criteria, Macro 136
24...000008 Normal Enter in Editor Operation on Text Lines, Macro 1363

ACTION ITEMS.................. Click here to comment!

1...3. Publications

CONTACTS 

SUBJECTS
Document Log, Convert
Concept Design Objectives
Internet Support

0605 -    ..
0606 - Summary/Objective
0607 -
060701 - Follow up ref SDS 15 0000, ref SDS 14 0000.
060702 -
060703 - Upgraded doc log on the web to provide chronological index of
060704 - documents for any account or project, ref SDS 0 3432, per Tom
060705 - Keesling's request earlier today.
060706 -
060707 -     [On 990509 applied html table command to improve appearance; added
060708 -     utility of system on the web. ref SDS 19 4263]
060709 -
060710 -     [On 990511 created feature to create three related reports at
060711 -     once, run from 06113. ref SDS 20 6656]
060712 -
060713 -     [On 990513 completed improvements to Doc Log system and to
060714 -     Internet support with 0122. ref SDS 21 5760]
060715 - ..
060716 - Also improved linking features. ref SDS 0 9856
060717 -
060718 -
060719 -  ..
0608 -
0609 -
0610 - Planning
0611 -
061101 - Tom Keesling at USACE points out this morning the advantage of having
061102 - a generic way to find documents in the web entironment for the SDS
061103 - record. ref SDS 18 3150
061104 -
061105 -     [On 990513 completed improvements. ref SDS 21 5760]
061106 -
061107 -     [On 990514 Tom feels improvements help. ref SDS 22 8599]
061108 -
061109 -
061110 -  ..
061111 - Background - Communication Metrics Delivers Useful Intelligence
061112 -
061113 - On 971021 set objective for Communication Metrics to provide...
061114 -
061115 -                     Intelligence anytime anywhere
061116 -
061117 -    ...using SDS and the Internet. ref SDS 6 3636
061118 -
061119 - On 971105 developed plans to implement objectives for clear, concise,
061120 - complete communications. ref SDS 7 1310
061121 -
061122 - Judicious Review was developed on 990419 because "intelligence" that
061123 - provides "complete" communication seems overwhelming and so conflicts
061124 - with the goal for clear and concise communication.
061125 - ..
061126 - SDS is more than a communication instrument.  Generating useful
061127 - intelligence requires tools to plan, perform and report on the work,
061128 - under POIMS technology theory. ref OF 12 6649  Communication happens
061129 - to be a big advantage that occurs collaterally when "intelligence" is
061130 - added to management.
061131 -
061132 - While communication is a difficult job, generating and managing
061133 - "intelligence" is a bigger job.  It requires a lot of functions that
061134 - the human mind does on automatic pilot.  People do not have to learn
061135 - anything to use their inherent "intelligence."  We just wake up and
061136 - start thinking, as Lucille used to say, about the fox, the cat and the
061137 - hen, i.e., sequence.
061138 -
061139 -      [On 990522 discussed fox... with Ron and Kim. ref SDS 24 5103]
061140 - ..
061141 - Improving native intelligence, requires a lot of hidden
061142 - functions that seem burdensome to the conscious mind, because the mind
061143 - does not have to learn or think about "thinking."
061144 - ..
061145 - Tom pointed out yesterday, after the meeting with the DE, that
061146 - SDS has a lot of functions which take time to learn.  Many of these
061147 - functions are counterintuitive. ref SDS 1 9989  People get frustrated
061148 - when shortcuts they have learned during a lifetime, don't work with
061149 - SDS. ref SDS 3 5820
061150 -
061151 - People want "shortcuts" to save time.  They feel bad when shortcuts in
061152 - SDS don't save time.  People get angry discovering that investing time
061153 - to learn SDS turns out to be a huge shortcut in accomplishing their
061154 - work quicker and better.  They give up and accept mistakes that take
061155 - time to fix, rather than learn to avoid mistakes using SDS, because it
061156 - "feels good" to make progress fixing problems caused by prior
061157 - mistakes, rather than learning to avoid making mistakes, under the
061158 - common action plan...
061159 -
061160 -                     ..
061161 -                  Do something, even if it is wrong.
061162 -
061163 -
061164 - "Feeling good" is the dominant ethos of business, ref SDS 2 1331, as
061165 - it is in life.
061166 -
061167 - Example: if there is an alternate route that takes 50 minutes people
061168 - will take it rather than sit and wait 40 minutes for a traffic jam to
061169 - clear.  People don't like to wait, even when it saves 10 minutes. They
061170 - want to feel they are moving forward, even if it results in moving
061171 - backward.  We are wired to prefer movement, rather than success,
061172 - because the environment rewarded movement for most of the time through
061173 - which human genetics evolved.
061174 -
061175 - Therefore, SDS can help people who do not have time to learn the
061176 - functions, by adding a role that has the time and the assignment to
061177 - learn the functions needed to generate useful intelligence, similar to
061178 - assigning the engineer the time and the assignment to produce a useful
061179 - bridge design, and the accountant is given the time and assignment to
061180 - generate useful financial analysis, the doctor is given the time and
061181 - assignment to generate useful diagnosis, and so on for the farmer, the
061182 - chemist, the programmer, the tree trimmer, entertainer, etc.
061183 - ..
061184 - So far, there is not an official role for "intelligence," as
061185 - there is for the engineer, the programmer, the farmer and so on.
061186 -
061187 - Communication Metrics adds value to all of these roles.  It provides a
061188 - capability that cannot be obtained by other means.  Yet, because the
061189 - "intelligence" role has not been fully established, the other roles
061190 - want to get useful "intelligence" without taking the time to learn the
061191 - functions.
061192 -
061193 - This is a dog chasing its tail.
061194 -
061195 -
061196 -  ..
061197 - Background - Web Page Doc Log Created on 981102
061198 -
061199 - Code was created for this on 981102, but the project ID was hardwired
061200 - to the Moscone project to save time. ref SDS 15 7585
061201 -
061202 - On 981015 F4 was assigned in Doc Log reports to call 0123 that formats
061203 - report for display in a browser. ref SDS 11 9120
061204 -
061205 - On 981103 designed 3 forms for Moscone project. ref SDS 16 0576
061206 -
061207 - On 981104 notified Tom about Doc Log on the Internet. ref SDS 17 2886
061208 -
061209 - Right now the code gets the right documents, it is just storing them
061210 - all under the Moscone project name.
061211 - ..
061212 - Today, I will make the subject path the same as the subject of
061213 - the Doc Log query spec that creates the list of documents, and will
061214 - find a way to produce to title for the web page that reflects the
061215 - subject.
061216 -
061217 -
061218 -
061219 -
0613 -

SUBJECTS
Planning, Concepts
Doc Log Convert and Link in HTML
Planning

1206 -
120601 -  ..
120602 - Display SDS Doc Log in Web Browser; Use Templates for Formatting
120603 -
120604 - Goal is to provide a generic path on the Internet to documents people
120605 - encounter reviewing the record, explained above. ref SDS 0 7708
120606 -
120607 - Intelligence on the Internet is reviewed above. ref SDS 0 2958
120608 -
120609 - SDS doc log on the Internet can support "intelligence" by providing an
120610 - alternate way to obtain documents through a chronological lookup that
120611 - gives access to both documents and to original source SDS records,
120612 - which in turn have access to the "world" of related stuff, also,
120613 - called context, as explained in POIMS. ref OF 12 0582
120614 -
120615 - Procedure is to run a regular doc log report, and convert it, when
120616 - needed, for uploading to the web and display in browsers.  Provide
120617 - links to source documents and SDS records.  Provide cross-references
120618 - to related reports.
120619 -
120620 -     [On 990509 applied HTML table features. ref SDS 19 4488]
120621 -
120622 -     [On 990511 created feature to create three related reports at
120623 -     once, run from 06113. ref SDS 20 6656]
120624 - ..
120625 - Report is produced at the project level in directory 63, based
120626 - on the SDS subject index.
120627 -
120628 -           60 is used for docs received, e.g.,
120629 -
120630 -                     03 00050 60 99 05 0405
120631 -
120632 -           61 is for docs issued, e.g.,
120633 -
120634 -                     03 00050 61 99 05 0405
120635 -
120636 -           63 is now for stuff on the Web. ref SDS 0 2760
120637 -
120638 -                     03 00050 63 00201
120639 -
120640 - "Subject" descriptions are used for the letterhead of the report on
120641 - the web, based on HTML title command. ref SDS 0 5439
120642 - ..
120643 - Run regular Doc Log report with 06113, then add html using 0123
120644 - called with F4 or the menu, and call 0122 to save the html formatted
120645 - doc log file to the local web directory, and to the directory for
120646 - uploading to the web site for access via Internet.  This step also
120647 - creates the title command based on the @#..... string. ref SDS 0 0416
120648 -
120649 - Keep file on-line for custom editing.  A way is needed to run 0122
120650 - over and over.
120651 -
120652 -      [On 990511 this was created. ref SDS 20 9765 and ref SDS 20 1750]
120653 -
120654 -      [On 990729 changed process for calling code to convert SDS and
120655 -      other files into HTML, transfer to web and maintain environment,
120656 -      by with clicking rather than function keys. ref SDS 26 0001]
120657 - ..
120658 - Use templates to create standard report formats in HTML tables.
120659 - Templates configure report headings, and content organiztaion.  They
120660 - are modified to accomplish different specific reports.
120661 -
120662 - Internet report will work similar to SDS 06113 report for accesing
120663 - source information...
120664 -
120665 -     a.  Doc ID will access SDS records.
120666 -
120667 -     b.  Doc Description will access the document.
120668 -
120669 - There are three basic report formats...
120670 -
120671 -     1.  All activity
120672 -     2.  Pending repsonse
120673 -     3.  Publications
120674 - ..
120675 - Each format has a separate template file, which is modified by
120676 - 0123 processor to produce the 6 different reports available in the Doc
120677 - Log system.
120678 -
120679 - Reports are linked to related reports. e.g., in Issued, Response Due,
120680 - there are links to "Received, Response Due, and to Issued & Received,
120681 - all activity. ref SDS 0 6662  If a report is empty, an alternate
120682 - report can be tried. ref SDS 0 2420
120683 -
120684 - After F4 runs, the thing is ready to upload to the web, because the
120685 - last op is 0122 that puts the file in both the local web site
120686 - directory, and the temporary directory on h: for uploading.  Or, the
120687 - file can be edited for customization, per above. ref SDS 0 8593
120688 -
120689 -     [On 990511 added F6 to run multiple reports. ref SDS 20 3575]
120690 -
120691 -
120692 -  ..
120693 - Process Planning
120694 -
120695 -   1.  0123 gets selection spec from Q1 (0613) to use for Doc Log path
120696 -       in the URL Internet address. Get only 8 positions, ref SDS 0
120697 -       9720, we are using standard templates for the output file.
120698 -
120699 -   2.  Open processor 0123 and post path and filename to get ready to
120700 -       save and then open the new report content after it is created in
120701 -       step 3, to its appropriate location for the type of report and
120702 -       subject. ref OF 2 1080
120703 -
120704 -       We do it this way in order to use 0122 for the final web
120705 -       conversion.  It needs to start in the object file, so it can get
120706 -       the filename to create the URL address on the Internet.
120707 -       ..
120708 -   3.  Process Doc Log report content.
120709 -
120710 -       If no records are found, create null report with message to try
120711 -       an alternate report. ref SDS 0 2420
120712 -
120713 -       Initially this only works for a "subject" report, because we
120714 -       delete the initial subject heading, and heading bar.
120715 -
120716 -       We may be able later to develop a routine to process a
120717 -       multi-subject report, which is a report without any subject, and
120718 -       so it gets all subjects. ref OF 2 7560
120719 -
120720 -       a.  Remove cross-references in doc log structure. ref OF 2 1470
120721 -
120722 -       b.  Remove subject codes and heading bar. ref OF 2 4066
120723 -           ..
120724 -       c.  Use change command to add path delimiter symbol / for
120725 -           the document path to use this for linking the Description
120726 -           field. ref OF 2 4067
120727 -
120728 -           Tried changed from * * to * 8
120729 -
120730 -           [On 000220 this code failed. ref SDS 27 1612]
120731 -
120732 -       d.  Append HTM file extenstion to Doc filenames. ref OF 2 6318
120733 -
120734 -       e.  Table command - restructure SDS report output, stacking it
120735 -           vertically so HTML commands can be added for a table and
120736 -           font spec.
120737 -
120738 -           Make each row a separate td cell, so everything is
120739 -           underlined.  This makes it easier for people see that a
120740 -           description correlates to an SDS record since these are on
120741 -           opposite sides of the report.
120742 -           ..
120743 -           Initially did this with a single td.  It makes a more
120744 -           consilidated report, but it is hard to correlate content in
120745 -           col 1 with the Description field, so we use tr and td
120746 -           separate rows with lines.
120747 -
120748 -           1.  Capture SDS source record ID and remove it, so it can
120749 -               load a string to link the first column, explained in
120750 -               step 4. ref OF 2 3315
120751 -
120752 -           2.  Setup Doc filename ID to use for linking Description
120753 -               field, which is the last column. ref OF 2 3240
120754 -
120755 -           3.  Description field link to doc log filename using
120756 -               Internet web address. ref OF 2 7744
120757 -               ..
120758 -           4.  Doc ID in col 1, link to SDS source. ref OF 2 9522
120759 -               Use SDS record ID from step 1.
120760 -               ..
120761 -           5.  Doc Date, From, To, etc., process fields for table
120762 -               command. ref OF 2 6198
120763 -
120764 -           6.  167 set in 06113 report modifies subroutines to format
120765 -               each of 6 report types. ref OF 2 0352
120766 -
120767 -               It adjusts column positions to get the correct field
120768 -               widths.
120769 -
120770 -           7.  Subroutines establish standard table and font coding.
120771 -               ref OF 2 8109
120772 -
120773 -               Counter 115 sets flag to center data in fields using
120774 -               subroutines. ref SDS 0 5280
120775 -           ..
120776 -       f.  After content is formatted with table commands, the
120777 -           file is saved, to the path corresponding to dir structure
120778 -           from the 06113 report spec.
120779 -
120780 -           Dir 63 is the standard location for Internet doc log
120781 -           reports. ref SDS 0 7326
120782 -
120783 -           The filename corresponds to one of six report types set in
120784 -           06113.
120785 -
120786 -           The doc loc output file, q_out, is closed and target file is
120787 -           opened, to load the report letterhead template and modify
120788 -           for the final report. ref OF 2 1080
120789 -           ..
120790 -       g.  Get template at top of content. ref OF 2 3600
120791 -
120792 -           Templates establish the header, and set layout and
120793 -           descriptions of the table columns. ref SDS 0 3780
120794 -
120795 -           There are three types...
120796 -
120797 -               All activity       c: sd 03 01231, ref OF 8 4321
120798 -               Response due       c: sd 03 01232, ref OF 9 4321
120799 -               Publications       c: sd 03 01233, ref OF 10 4321
120800 -
120801 -       h.  Code col 2 to show the date is for a received or issued
120802 -           document, or it is composite I/R report. ref OF 2 5408
120803 -           ..
120804 -       i.  Get subject report description from 06113 (q1) report
120805 -           processor to enter it in the title command for main subject
120806 -           of web page report. ref OF 2 5410
120807 -
120808 -           See explanation below at ref SDS 0 0416.
120809 -
120810 -       j.  Report type posted to title command. ref OF 2 0392
120811 -
120812 -           Subject description also posted to display in the title of
120813 -           the web page to provide orientation. ref OF 2 4290
120814 -           ..
120815 -       k.  Description is stacked at semi colon, to provide a
120816 -           letterhead for the report. ref OF 2 3078
120817 -
120818 -           Something like...
120819 -
120820 -                U.S. Army Corps of Engineers; San Francisco District
120821 -
120822 -           Displays as...
120823 -
120824 -                         U.S. Army Corps of Engineers
120825 -                            San Francisco District
120826 -
120827 -           ...in the Doc Log report on the web.
120828 -
120829 -           Descriptions originate in the Subject Index.  User's control
120830 -           the Doc Log subject display name for the web report based
120831 -           on positioning semi colons.
120832 -           ..
120833 -       l.  Report type or scope is entered based on selection
120834 -           from 06113 to generate the underlying report. ref OF 2 4650
120835 -           ..
120836 -       m.  Alternate report specs, set link path and descriptions
120837 -           based on primary report type. ref OF 2 3368
120838 -
120839 -             [On 990511 created multi-report in 06113. ref SDS 20 3575]
120840 -
120841 -       n.  Period - beginning and end dates, enter from spec in 06113
120842 -           (Q1). ref OF 2 5437
120843 -
120844 -       o.  Date prepared, decided to just enter the date and not a
120845 -           string that says "Prepared." ref OF 2 5202
120846 -
120847 -       p.  Anchors in header removed. ref OF 2 7488
120848 -
120849 -           We don't really need anchors in the heading, because it is
120850 -           very small when displayed.  Anchors are needed for managing
120851 -           code preparation and maintenance.  They seem to mess up
120852 -           tables, so they are removed before uploading to the web.
120853 -           ..
120854 -       q.  Call 0122 final process to prepare for uploading to the web
120855 -           site. ref OF 2 0608
120856 -
120857 -               [On 990511 create flag so processing in 0122 is minimal,
120858 -               puts beginning and ending stuff, and posts doc title.
120859 -               ref SDS 20 9765]
120860 -
120861 -
120862 -
120863 -
1209 -

SUBJECTS
Document Log, Convert
Letterhead Subject Selection Spec of Report
Path Subject Spec of Report
Filenames use Templates for Standard
F4 Single Report from Doc Log Output
Web Support, Multi-subject Reports, 0123
F4 HTML

1810 -
181001 -  ..
181002 - 0123   Convert SDS Doc Log to HTML for Internet - F4 Custom Report
181003 - Letterhead of Report, Subject Selection Spec, Doc Log Filename
181004 -
181005 - Follow up ref SDS 15 7585.
181006 -
181007 - F4 in the SDS Doc Log output report launched from 06113 (Q1) calls
181008 - 0123 to create the html report for display on a browser.  It can also
181009 - be called from the Doc Log report menu, per work on 981015. ref SDS 11
181010 - 9120
181011 -
181012 - See full background reviewed above. ref SDS 0 3230
181013 -
181014 -     [On 990511 created F6 and function that can be clicked from main
181015 -     06113 (Q1) report processor to get multiple-related reports that
181016 -     display in a web browser, and synchronized for cross-reference.
181017 -     ref SDS 20 3575]
181018 -
181019 -  ..
181020 -
181021 - Line 40, ref OF 2 5956, added code to capture the subject structure
181022 - from the Doc Log query processor, which is initially loaded from the
181023 - Subject Index.
181024 -
181025 -    Code always gets only 8 spaces, thus...
181026 -
181027 -                    03 00050
181028 -
181029 -    This constructs a project directory path based on current SDS
181030 -    design.
181031 -
181032 -  ..
181033 - Doc Log Filename and Path
181034 -
181035 - Line 70, ref OF 2 LQ8H, -label subJ, about 30 lines below, the project
181036 - path structure is entered into the processor 0123 at the savx command,
181037 - near line 770. ref OF 2 IU8K
181038 -    ..
181039 -    Initially, I am appending the following...
181040 -
181041 -                         11 01 63 00101
181042 -    ..
181043 -    The goal is to create a standard structure for projects and
181044 -    non-projects.
181045 -
181046 - This is done twice, once to save the the new filename and again to
181047 - open it for processing on a second pass by 0123 in a new dose level.
181048 -
181049 - Line 190, ref OF 2 3321, -label subJ about 60 lines below, this loads
181050 - the 2nd dose command for processing the doc log file with HTML with
181051 - 0122 to save to the Internet transfer directory and to the local HTML
181052 - directory.
181053 -
181054 -      This is done a second time to load the purge command at the end
181055 -      of the first pass for 0123 to close the new file and end the dose
181056 -      session, so that the 2nd dose op running 0122 can complete the
181057 -      exercise near line 1360. ref OF 2 WX7G
181058 -
181059 -
181060 -
181061 - ..
181062 - Line 390, ref OF 2 4050, -label null in 0123 save file to
181063 - standard output filenames at the project leve. ref SDS 0 2760
181064 -
181065 -
181066 -
181067 -
181068 -
181069 -
181070 -
181071 -
181072 -
181073 -
181074 -
181075 -
181076 -
181077 -
181078 -
181079 -
1811 -

SUBJECTS
Multi-line Letterhead Based on Semi Colon
Title Has Type and Subject Description

2005 -
200501 -  ..
200502 - Title Displays Both Subject and Report Type
200503 - Subject Description Used for Report Letterhead and Browser Title
200504 -
200505 - Line 450, ref OF 2 5410, both the web browser title and the document
200506 - title, or letterhead, come from the description in the Doc Log report
200507 - field.
200508 -
200509 -      This subject is different from the multi-subject report that is
200510 -      called entirely from 06113.
200511 -
200512 -      [On 990511 created multi-sub report. ref SDS 20 3575]
200513 -
200514 - The title field in web browser also contains the report type.
200515 -     ..
200516 -     This is accomplished by editing the @#field which 0122 puts
200517 -     into the title field.
200518 -
200519 - The main idea is to generally issue only subject reports for display
200520 - on the Web, since generic reports are for a broader application beyond
200521 - the scope of the Web application at this time.
200522 -
200523 - See also explanation above. ref SDS 0 3472
200524 -
200525 - The description of subjects in the Subject Index therefore control the
200526 - letterhead and the title of reports on the Web.
200527 -
200528 - It can be multi-line based on using a semi colon to separate lines,
200529 - per criteria above. ref SDS 0 5439
200530 - ..
200531 - So in the Subject Index there might a description like...
200532 - ..
200533 - U.S. Army Corps of Engineers; San Francisco District
200534 -
200535 - The code will enter this as...
200536 -
200537 -                    U.S. Army Corps of Engineers
200538 -                       San Francisco District
200539 -
200540 - Oakland Harbor Project; U.S. Army Corps of Engineers; San Francisco District
200541 -
200542 -     The code will enter this as...
200543 -
200544 -                      Oakland Harbor Project
200545 -                   U.S. Army Corps of Engineers
200546 -                      San Francisco District
200547 -
200548 -  ..
200549 -
200550 - Use long string code to capture all of this.
200551 -
200552 -    It is macro 1188 and was created on 980526. ref SDS 9 3012
200553 -
200554 -    This is aplied at ref OF 2 5410.
200555 -
200556 - Line 690, ref OF 1 3588, -label sav2 in 0122 uses counter 61 with
200557 - counter 119 for a switch to run title operation once, so the report
200558 - can be edited then saved again to the local and transfer transfer
200559 - directories.
200560 -
200561 -
200562 -
200563 -
200564 -
200565 -
200566 -
200567 -
2006 -

SUBJECTS
Template Formats for Report Types, Tables
Centered Cell Centent Counter 115

2205 -
220501 -  ..
220502 - 01231  Template for HTML Doc Log
220503 - Templates Format Report Types with Table Command
220504 -
220505 - Line 300, ref OF 2 3600, -label fopn, this code gets either of the
220506 - following files...
220507 -
220508 -               c: sd 03 01231        Issued and Received
220509 -               c: sd 03 01232        I or R, Pending Responses
220510 -               c: sd 03 01233        Publications
220511 -
220512 -   ...which contain code for report headers and table commands for
220513 -   default report formats, per above. ref SDS 0 1105
220514 -
220515 - Created 01231 today to provide an initial template for a new project
220516 - when an HTML doc log is created.
220517 -
220518 -      [On 990507 created template files. ref SDS 19 4923]
220519 -
220520 -
220521 -  ..
220522 -
220523 - Flags Set in 06113 Establish Report Type...
220524 -
220525 -    Line 220, ref OF 4 3420, -label edb in 06113 sets 91 1000 to
220526 -    process everything.
220527 -
220528 -    Line 310, ref OF 4 7560, -label cPn_s in 06113 this seems to be the
220529 -    main code that establishes the report type.
220530 -
220531 -               167 = 1 ................. Received, All Activity
220532 -               167 = 2 ................. Issued, Pending Response
220533 -               167 = 3 ................. Issued, All Activity
220534 -               167 = 4 ................. Issued and Received
220535 -               167 = 5 ................. Publications
220536 -               167 = 6 ................. Received, Pending Response
220537 - ..
220538 - Line 530, ref OF 2 6426, -label rtype in 0123 applies these code
220539 - structures to the template files.
220540 -
220541 - ..
220542 - We only need three file formats...
220543 -
220544 -          All activity.............. 01231  167 = 1, 3 or 4
220545 -          Pending Response.......... 01232  167 = 2 or 6
220546 -          Publications.............. 01233  167 = 5
220547 -
220548 -
220549 -
220550 -  ..
220551 - Doc Log Table Fields (cells) Imported from SDS Doc Log Report
220552 -
220553 - Line 230, ref OF 2 3315, -label lp1 processes each horizontal field of
220554 - each row of the SDS doc log report, into a stack that applies html
220555 - table commands.
220556 -
220557 - Center cell contents.
220558 -
220559 - Line 370, ref OF 2 5154, -label lp1, about 160 lines below counter
220560 - 115 establishes when a cell is centered or left justified.
220561 -
220562 - Generally, only the first two cells need to be centered, because they
220563 - are constant in width. The others are all left justified.
220564 -
220565 -
220566 -
220567 -
2206 -

SUBJECTS
Concepts, Planning
Multi-Cross-Referenced Reports. F6 in 06113

2405 -
240501 -  ..
240502 - Cross-reference Related Reports for Alternate Web Access
240503 -
240504 - Line 410, ref OF 2 3368, -label lhovr about 60 lines below, provide
240505 - links to related reports, so people can look at the data in different
240506 - ways, as discussed above. ref SDS 0 6027
240507 -
240508 - This requires a way to keep the reports in sync, so when an alternate
240509 - report is viewed, it has current, related information.
240510 -
240511 -     [On 990511 created this feature. ref SDS 20 0086]
240512 -
240513 -     On 990511 modified 0123 to support feature. ref SDS 20 8799]
240514 -
240515 -
240516 -
240517 -
240518 -
2406 -

SUBJECTS
Null Report

2504 -
250401 -  ..
250402 - 0123  Null Report Shows No Records for Period and Catagory
250403 -
250404 - We need to inform people that there are no records for a particular
250405 - catagory.  If we don't put the report on the web, then this could mean
250406 - a system failure, rather than that there are no records.
250407 -
250408 -     [On 990511 multi-report system created that needs this null
250409 -     report. ref SDS 20 5841]
250410 -
250411 - Line 100, ref OF 2 4817, when file is opened, check for records, and
250412 - if there are non, call null report.
250413 -
250414 - Line 140, ref OF 2 3524, -label ovnR create flag 76 1 for null
250415 - report.  Make it global to transfer to output filename.
250416 - ..
250417 - Line 150, ref OF 2 5535, -label ovRR, after setting up file for
250418 - processing, and adding a blank line, if there are no records, create a
250419 - message notifying the report has no records, and suggest trying an
250420 - alternate report.  Goto to null.
250421 -
250422 -
250423 -
2505 -

SUBJECTS
Load code to Doc Log, <Enter>, Mouse
Subjects

2705 -
270501 -  ..
270502 - 044012  Capture Entire Subject Description for Letterhead
270503 -
270504 - Follow up ref SDS 4 9648.
270505 -
270506 - Line 60, ref OF 3 3036, modified code to capture the full line width
270507 -
270508 - We are using cut and paste which I would like to eliminate on another
270509 - day.
270510 -
270511 - The subject can have a semi colon which is applied by 0123 to stack
270512 - the subject as a letterhead in the doc log repont displayed on in the
270513 - web browser. ref SDS 0 0416
270514 -
270515 -
270516 -
270517 -
2706 -

SUBJECTS
Open Links, macro 982
Enter for General Purpose Access, 910705
Look Up Goto, Labels, Lines
Ctrl F1 Set-up Cursor to Open Record/File
Open/Delete files, macro 107, 106

3208 -
320801 -  ..
320802 - 000006  Open Links to Avoid Linking on Enter, Macro 982
320803 -
320804 - Follow up ref SDS 8 2306.
320805 -
320806 - We have a continual problem of opening links in a file and then afer
320807 - the file is opened, when Enter or a double click occurs to follow a
320808 - goto or other action command, the link code executes.
320809 -
320810 - Do not want that to happen.
320811 -
320812 -      [Below macro 985 is changed to link Editor files only on blank
320813 -      lines. ref SDS 0 9856]
320814 - ..
320815 - On 980519 created code in 000001 to set 264 999, ref SDS 8 1187,
320816 - for link flag when a file is opened from the Reference field.
320817 - ..
320818 - Line 3110, ref OF 5 5099, -entry 107 moves counter 264 to global
320819 - and resets local 264 each pass as shown in the record on 980519....
320820 - ref SDS 8 1619
320821 - ..
320822 - Line 3000, ref OF 5 4876, -entry 1072 global 264 is reset after
320823 - the target file is opened by macro 107.
320824 -
320825 - Since 264 is reset each pass, it is not clear why we are having the
320826 - trouble with the Medit action commands when Enter is used to find
320827 - another location.
320828 -
320829 - It might be that if we have a file open, then do Ctrl F1 that sets
320830 - the link flag, for something other than to initiate a link, maybe
320831 - this sets us up for an unintended link.... who knows....
320832 -
320833 - In any case, we only want a link condition to occur when Ctrl F1 or
320834 - the top-of-file mark is clicked.
320835 -
320836 - Today, I am trying code to set 264 to 0 when a file is opened from a
320837 - link.
320838 - ..
320839 - Line 1390, ref OF 5 9324, -entry 982 added code to set global
320840 - 264 0 whenever anything is opened from a link.
320841 -
320842 - Actually wound up removing this code because it cannot add anything to
320843 - the code in macro 107, which resets local 264 flag. ref SDS 0 4175 It
320844 - then resets the global flag when the process is over. ref SDS 0 4824
320845 -
320846 - Test record is at ref SDS 5 6930.
320847 -
320848 -
320849 -
3209 -

SUBJECTS
Anchor Omitted
Line #, macro 982

3405 -
340501 -  ..
340502 - 000006  Macro 982 verify 4 Place Num required for Anchor
340503 -
340504 - Line 1550, ref OF 5 3420, -label nanam about 50 lines below changed
340505 - code to test the entire anchor string with chrcnt, so that a single
340506 - number does not establish it is an anchor.  All four places must be
340507 - numbers.
340508 -
340509 - We have some occassious where there is a string like...
340510 -
340511 -            This is a test. ref SDS 4 45 pages later...
340512 -
340513 - The code was finding 4 after the citation number, and assuming it is
340514 - an anchor, which is an error.  Today, revised code will check 4
340515 - positions, and if all are not numbers, it is not an anchor spec.
340516 - ..
340517 - This code makes a stronger test for a "line" anchor, which is
340518 - still hanging around.
340519 -
340520 -
340521 -
3406 -

SUBJECTS
Editor Link Only on Blank Lines, macro 985
Editor 1st 5 Lines Automatic Default Anchor

3605 -
360501 -  ..
360502 - 000006  Editor Links only on Blank Lines, Macro 985
360503 - 000006  Editor 1st 5 Lines Automatic Default Anchor, Macro 985
360504 -
360505 - Line 1890, ref OF 5 0637, -label i7itbl, about 20 lines below, decided
360506 - to change the code today so that Editor files can only create links on
360507 - blank lines.
360508 -
360509 - Also added condition that makes lines 1 - 5 automatically a default
360510 - anchor, 0000 in the link object file.
360511 -
360512 -        [On 990530 improved linking so Enter and double clicking work
360513 -        uniformly in Editor and SDS records. ref SDS 25 0672]
360514 -
360515 - Counter 17 has the line length set in macro 541 that places the cursor
360516 - on the left margin. ref OF 5 1836  If the line is not blank and it is
360517 - an editor file, so processing ends by going to -label naotl.
360518 -
360519 -  ..
360520 -
360521 - Line 2060, ref OF 5 8160, -label naotl, sets 4 999 and 1 777, as flags
360522 - for the process in macro 1361 that calls 985 from in 000008, so it can
360523 - do the normal Enter ops. ref SDS 0 1960
360524 -
360525 -
360526 - The purpose is to avoid accidentally entering anchors in programming
360527 - files.  This is a simpler way to accomplish our objective than to
360528 - create a bunch of code that checks a whole bunch of different things,
360529 - some of which we cannot anticiapte.
360530 -
360531 -      [On 990515 this problem was cited. ref SDS 23 9877]
360532 -
360533 - Most anchors in Editor files are on blank lines, and if we want the
360534 - anchor on a text line, it is easy enough to use the justify operation
360535 - to enter it.  This is preferable to having to waste time removing an
360536 - anchor entered in a programming file.
360537 -
360538 -
360539 -  ..
360540 - 000008  Enter, Eliminate Col 24 as Link Criteria, Macro 136
360541 -
360542 - Line 1415, ref OF 6 4252, -label oFil, about 30 lines below,
360543 - eliminated code for col 24, because today we are only going to link on
360544 - blank lines, ref SDS 0 9856, so this will eiminate prior problem that
360545 - required the col 24 criteria.
360546 -
360547 -
360548 -
360549 -  ..
360550 - 000008  Normal Enter in Editor Operation on Text Lines, Macro 1363
360551 -
360552 - Changed the code so that if Ctrl F1 sets the link flag 264 999, per
360553 - work above. ref SDS 0 6984, and Enter is called on a line that does
360554 - not have an anchor or is not blank, then the normal Enter operation
360555 - will executie in Editor files.
360556 -
360557 - Line 1500, ref OF 6 0968, -label botSc, this code is called by macro
360558 - 1363 for Enter.  It sets 4 999 and calls macro 1361, which is the code
360559 - that looks for macro commands and other stuff, inaddition to linking.
360560 - If 4 != 999 after 1361 executes, it means there was a link, so the
360561 - other enter stuff does not execute.
360562 -
360563 - We do not need to change any of this code.
360564 -
360565 -  ..
360566 - Line 1550, ref OF 6 8460, -entry 1361, calls -goto linKem, if the
360567 - anchor flag 264 999 has been set by Ctrl F1 in the originating
360568 - operation that opened the file.
360569 -
360570 - Added -label dneK at this location, so if macro 985 to link exits
360571 - because it was not on a blank line, this is where the process does the
360572 - normal operation for Enter in an Editor file to look for macro
360573 - directon commands to execute.
360574 -
360575 -  ..
360576 -
360577 - Line 1630, ref OF 6 8461, -label linKem, added code for process to
360578 - continue at -label dneK, if 1 777, which is set in 000006, if Enter is
360579 - pressed on a text line rather than a line that is blank or has an
360580 - anchor already entered. ref SDS 0 0877
360581 -
360582 -
360583 -
360584 -
360585 -
360586 -
360587 -
360588 -
3606 -