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


S U M M A R Y


DIARY: April 5, 1998 11:10 PM Sunday; Rod Welch

Changed HTML conversion to dose for single record save.

1...Summary/Objective
2...Use Dose to Minimize Impact on Medit Memory
3...Eliminate HTML Memo Function, Because HTML Save Function is Adequate
4...000008 Add macro to save current SDS Record in HTML
5...070405 - dose call from compiled macro for continuous operation
6...SDS Menu to Get List of Records in Temp HTML Directory
7...0608 Added code to get on-line listing HTML files, F1 F1 F5
8...005040 Add DMS Function to Delete All Temp HTML Files
9...0704086 Template macro called by F1 F1 F7
10...070405 Convert Template Web address to Actual Address
11...050405 - Call HTML Save Function from SDS "File" Menu
12...05040510 - Call HTML Save Function from "Report" Menu
13...05040510 - List HTML Temp Files - SDS "Report" Menu
14...0504050 - List HTML Temp Files - SDS "File" Menu
15...050404 - HTML Temp File List - Editor "File" Menu
16...000008 Eliminate F1 F2 Assignment in Editor Profile Menu
17...000008 Status of HTML Temp Directory - F1 F1 F5
18...000008 Template to link welchco.com SDS Web site address, F1 F1 F7


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

CONTACTS 

SUBJECTS
Configure for network e: drive
HTML Convert Record and Save to HTML Data
Memory Management
Memory, Multiple Processors, 070405, 0704051

0806 -    ..
0807 - Summary/Objective
0808 -
080801 - Follow up ref SDS 2 3557, ref SDS 1 3900.
080802 -
080803 - Changed the code that saves the current SDS record to HTML for
080804 - viewing on the Web site from using dos to dose, so we clear memory on
080805 - each pass.
080806 -
080807 -     [On 980413 made dose change to regular F2 "save" for SDS records.
080808 -     ref SDS 12 2871]
080809 -
080810 -     [On 990723 created secondary nesting to solve memory crash on
080811 -     large record. ref SDS 14 1880]
080812 -
080813 - Eliminated HTML "memo" function. ref SDS 0 4354
080814 -
080815 - Added second menu access for function to convert SDS records to HTML,
080816 - so it is easier to find. ref SDS 0 3332
080817 -
080818 - Created File Management for HTML temporary directory on h, ref SDS 0
080819 - 3208   Added menu support for HTML file management.
080820 -
080821 - Created new function to create a template string for entering a
080822 - welchco web site address. ref SDS 0 5228  Added code in 040705 to
080823 - convert this template into an actual Internet address. ref SDS 0 2832
080824 -
080825 -
080826 -
080827 -
0809 -
0810 -
0811 - Problem
0812 -
081201 -  ..
081202 - Use Dose to Minimize Impact on Medit Memory
081203 -
081204 - On 971206 created the SDS record menu function to save the current SDS
081205 - record to HTML for updating a single record on the Web, and it also
081206 - stores a copy on e: drive for local review. ref SDS 2 2591
081207 -
081208 - When I use this it seems to crash the SDS program due to insufficient
081209 - memory space, so today, I am going to create an alternat version that
081210 - uses dose instead of dos, in order to try and avoid running out of
081211 - memory every 3rd or 4th time an HTML file is created on large records.
081212 -
081213 -
081214 -  ..
081215 - Eliminate HTML Memo Function, Because HTML Save Function is Adequate
081216 -
081217 - Decided today we do not need a separate "memo" function to create a
081218 - memo for sending as part of an email.  This was part of the original
081219 - design identified on 971206. ref SDS 3 2502
081220 -
081221 - Decided to keep the HTML function in the "Report" menu, it will be a
081222 - second way to call -entry 1420 that converts SDS records to HTML and
081223 - saves to e and h, ref SDS 0 3332
081224 -
081225 -
081226 -
0813 -
0814 -
0815 - Progress
0816 -
081601 -  ..
081602 - 000008 Add macro to save current SDS Record in HTML
081603 -
081604 - Line 2180, ref OF 9 5585, -entry 1420 added new macro to call macro
081605 - file 070405 #2 to perform the function under a dose call.
081606 -
081607 - We have to enter a temporary user ID in the record to save it to
081608 - stufq, so it is available in the dose session.
081609 -
081610 -
081611 -
081612 -
081613 -  ..
081614 - 070405 - dose call from compiled macro for continuous operation
081615 -
081616 - Follow up ref SDS 2 3705.
081617 -
081618 - This really needs to be called by a compiled macro with a dose command
081619 - so hopefully, it will not continue to run out of memory, or otherwise
081620 - crash the SDS program.
081621 -
081622 - Line 40, ref OF 6 6104, -label svRcd we can modify this so it does not
081623 - save the file to stufq nor mark it to restore the file, since now it
081624 - will not need to these things because they are accomplished with
081625 - compiled macro 1420.
081626 -
081627 - Line 175, ref OF 6 3941, -label savE, capture User ID temporarily
081628 - entered after DIARY field by 000008 macro 1420 op. ref SDS 0 5701 This
081629 - is needed because we can no longer use local User ID in globals
081630 - because the dose command is a separate session.
081631 -
081632 - Line 245, ref OF 6 2439, -label arcDr we can unplug the code that
081633 - temporarily empties the current SDS record to save memory, since now
081634 - all processing will start in stufq using the dose command.
081635 -
081636 - Line 2200, ref OF 6 4570, -label sInstd, after the record is saved we
081637 - can quit to return to the original session.  The flag is 269 0.
081638 -
081639 - Line 2215, ref OF 6 6419, -label overA We call a goto to use the code
081640 - created for the subroutine that processes files in 1y at the top of
081641 - the file, because it moves to the 070405 processor, purges stufq and
081642 - does a quit.  It also does a purge 1y for the other operation, but
081643 - that does not hurt anything.
081644 -
081645 -
081646 - Line 1440, ref OF 6 0050, testing debug
081647 -
081648 - Line 2015, ref OF 6 2771, changed loc_cur 0 18 to eol, and changed
081649 - the end of the file string to use e: drive, because we are hardwiring
081650 - this now, and will change to the Web address.
081651 -
081652 -
081653 - Line 1720, ref OF 6 3442, -label SDSr, changed this to accomodate
081654 - other changes that use e: drive as default of all local citations.
081655 -
081656 -
081657 -
0817 -

SUBJECTS
List Files Web Site Temp Directory
Empty Temp HTML Directory
Planning
Store SDS Records in Multiple Drives
Avoid Uploading Files That Have Not Changed

1608 -
160801 -  ..
160802 - SDS Menu to Get List of Records in Temp HTML Directory
160803 -
160804 - Follow up ref SDS 9 3479.
160805 -
160806 - We need a means to see when files have been uploaded to the Web site
160807 - that are in the temporary HTML directory.
160808 -
160809 - Our procedure is to save the files to h:, then when time permits
160810 - upload to the Web site, generally after mid-night because that is the
160811 - best time for sending a lot of files.  If we only have a few we can
160812 - send them anytime.
160813 -
160814 - We then need to be able to investigate to see if the temporary files
160815 - have actually been uploaded, and if so, delete them so this is not
160816 - done twice which takes extra time, and we need to avoid sending the
160817 - ws_log files generated by the server. ref SDS 9 1939
160818 -
160819 - Want to use the code in macro 58 used for F1 F3. It calls macro 583 in
160820 - 000002 which in turn uses macro file 0608. ref OF 8 2946
160821 -
160822 - Actually, we do not need macro 58 code.
160823 -
160824 - Created new profile function F1 F1 F3 calling 0608 #2 so we can get
160825 - the list quickly. Also put 0608 #2 in the Editor File menu.
160826 -
160827 -
160828 -  ..
160829 - 0608  Added code to get on-line listing HTML files, F1 F1 F5
160830 -
160831 - Line 30, ref OF 5 2267, added call to the batch file...
160832 -
160833 -                  c: sd 01 sw1.bat
160834 -
160835 -    ...to create a list of temporary HTML files on
160836 -
160837 -                    h: sd 08...
160838 -
160839 - The batch file sorts the files.
160840 -
160841 - The file is then opened by 0608 so the temporary HTML files can be
160842 - managed similarly to the F1 F3 function we had all along.
160843 -
160844 - The primary step of management that is needed is to empty the
160845 - directory once the temp HTML files have been uploaded.
160846 -
160847 - Modified existing "Delete Files" function for 0608 menu, so it checks
160848 - to see if this is the temporary HTML drive and directory, and if so it
160849 - executes a special command that removes the whole thing with a single
160850 - command. ref SDS 0 1979
160851 -
160852 - The advantage of this function dedicated to listing only the temporary
160853 - files for this one directory is to save time.  HTML server updating is
160854 - done frequently and repetitively, so this new function enables the
160855 - work to be more quickly because we do not have enter the specification
160856 - over and over.
160857 -
160858 - Assigned this to...
160859 -
160860 -                         F1 F1 F5.
160861 -
160862 -        ...per ref SDS 0 1343,
160863 -
160864 -    Editor "File" menu. ref SDS 0 2423
160865 -
160866 -    SDS record "Report" menu. ref SDS 0 2295
160867 -
160868 -    SDS record "File" menu. ref SDS 0 2779
160869 -
160870 -
160871 -
160872 -  ..
160873 - 005040  Add DMS Function to Delete All Temp HTML Files
160874 -
160875 - Line 120, ref OF 1 1402, -label del_all, added code in this menu
160876 - macro file to use the dd command to remove all HTML files in the
160877 - temporary directory.
160878 -
160879 -
160880 -
160881 -
1609 -

SUBJECTS
Template Link Web Site Address, 0704086
Template HTML Link to Web Address, F1 F1
F07 Enter HTML Anchor Links
F08 Enter HTML Anchor Link Ending Code

2107 -
210701 -  ..
210702 - 0704086  Template macro called by F1 F1 F7
210703 -
210704 - Line 10, ref OF 7 3784, Created new macro file to enter an HTML code
210705 - template in an Editor file for an Internet address.
210706 -
210707 - It is called by F1 F1 F7 profile function created below at ref SDS 0
210708 - 3800.
210709 -
210710 -     [On 981121 enhanced function to enter actual address rather than
210711 -     use a template. ref SDS 13 9396]
210712 -
210713 -
210714 -  ..
210715 - 070405  Convert Template Web address to Actual Address
210716 -
210717 - If we enter a Web site address in an Editor file, the email programs
210718 - seem to recognize this and convert it to an accessible Web site
210719 - address.
210720 -
210721 - Web browsers, however, do not do the same for web site addresses in
210722 - SDS records.
210723 -
210724 - To give user access to them by using the template to enter an SDS web
210725 - site address, we need to convert these strings in SDS records.
210726 -
210727 - This can be done when everything else is over, but before doing the
210728 - save function, so it can be save in the alternate h and e directories.
210729 -
210730 - Line 2180, ref OF 6 5190, -label lp8, created code to convert any
210731 - entry that seems to be an embedded web address to an actual HTML web
210732 - site address.
210733 -
210734 -
210735 -
210736 -
210737 -
210738 -
210739 -
2108 -

SUBJECTS
Planning
Menu, Editor, SDS Records
List Files, 0608, Menu
DMS

2807 -
280701 -  ..
280702 - 050405 - Call HTML Save Function from SDS "File" Menu
280703 -
280704 - Follow up ref SDS 2 4064.
280705 -
280706 - Line 50, ref OF 3 3727, changed call to new entry 1420 in 000008, per
280707 - ref SDS 0 5701.
280708 -
280709 -
280710 -  ..
280711 - 05040510 - Call HTML Save Function from "Report" Menu
280712 -
280713 - Line 160, ref OF 4 5917, -label s_rQ, changed to call new entry 1420
280714 - in 000008.
280715 -
280716 - This just gives us two ways to call the same thing.  One in the File
280717 - menu and another in the Report menu.  The original idea of a separate
280718 - memo HTML file is unnecessary because we can post the record to the
280719 - Web and cite it.  That is easier.  If we can to attach it instead of
280720 - posting it to the Web, we can still do that from the HTML directory.
280721 -
280722 -
280723 -
280724 -  ..
280725 - 05040510 - List HTML Temp Files - SDS "Report" Menu
280726 -
280727 - Line 160, ref OF 4 5917, -label s_rQ, added call to macro file 0608
280728 - #3 created today so we can do these functions on-line.  It uses a
280729 - batch file...
280730 -
280731 -                      sd 01 sw1.bat
280732 -
280733 -    ...per explanation at ref SDS 0 1916.
280734 -
280735 -
280736 -  ..
280737 - 0504050 - List HTML Temp Files - SDS "File" Menu
280738 -
280739 - Line 55, ref OF 3 3727, added call to macro file 0608 #3 so we have a
280740 - second way to use this function.  Put it below the function that
280741 - creates the HTML data base.
280742 -
280743 - Added call to new macro to enter a template for a link to welchco web
280744 - site address. ref SDS 0 5228
280745 -
280746 -
280747 -  ..
280748 - 050404 - HTML Temp File List - Editor "File" Menu
280749 -
280750 - Line 65, ref OF 2 1327, added call to 0608 #3, per ref SDS 0 1916.
280751 -
280752 - Eliminated assignment of F1 F2, because it is no longer needed.
280753 -
280754 -
280755 -
280756 -  ..
280757 - 000008  Eliminate F1 F2 Assignment in Editor Profile Menu
280758 -
280759 - Line 610, ref OF 9 0850, -entry 155, eliminated assignment of F1 F2
280760 - for calling macro 0122 that converts a file into HTML, since it can
280761 - now be done entirely by clicking or the menu.
280762 -
280763 -
280764 -
280765 -  ..
280766 - 000008  Status of HTML Temp Directory - F1 F1 F5
280767 -
280768 - Line 710, ref OF 9 4654, -entry 156, added code to call macro file
280769 - 0608 at line 3 to create the list of files in the temporary HTML
280770 - directory, and to empty it.
280771 -
280772 -
280773 -  ..
280774 - 000008  Template to link welchco.com SDS Web site address, F1 F1 F7
280775 -
280776 - Line 715, ref OF 9 4877, while I was doing this decided to add a new
280777 - function to load a template to expedite entering a link in a letter
280778 - to a welchco.com web site address.
280779 -
280780 - Decided to use a separate macro file to save memory.
280781 -
280782 -
280783 -
280784 -
280785 -
280786 -
280787 -