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: June 18, 2004 12:52 PM Friday; Rod Welch

Gary reports problem opening Internet file in SDS with long address.

1...Summary/Objective
2...00903.BAT Call Start Command to Open a Document with Another Program
3...00903.cmd Iexplore.exe Run Under Start Called by 00903.bat
4...009030 Open File in SDS Record
5...DIP Planning to Implement ACE for Collaboration Complemented by SDS


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

CONTACTS 

SUBJECTS
Programs Launch from Within SDS Based on File Extension to Microsoft
Problem Long Path Filename Too Long to Open HTML to Internet Address
Long Path Filename Too Long to Open HTML to Internet Address or on L

1005 -
1005 -    ..
1006 - Summary/Objective
1007 -
100701 - Follow up ref SDS 6 0000, ref SDS 4 0000.
100702 -
100703 - Gary reported two (2) problems opening files for other programs from
100704 - within SDS.  He was unable to open a file with Microsoft Word stored
100705 - on his computer, and he was unable to open a file stored on the ACE
100706 - intranet for the project.  Both problems were solved and related to
100707 - the length of the filename; in recent years using long filenames has
100708 - become a popular method for organizing information.  The problem of
100709 - accessing files in local storage was solved by making all calls
100710 - through the Windows NTVD system that uses cmd, which has a command
100711 - string of up to 256 characters, rather than only 80 characters
100712 - supported by batch files under command.com.  The added length from 80
100713 - to 256 characters accomodates the 87 character length of file on the
100714 - local server in Gary's "use case" today.  The second problem occurred,
100715 - because attempting to enter a much longer string of about 206
100716 - characters caused a conflict with attempting to scroll past the
100717 - default record length of Medit files for entering the filename.  This
100718 - was solved by adding a recl 500 command that provides more length than
100719 - Microsoft supports.
100721 -  ..
100722 - Notified Gary with an email of updated SDS program with solutions.
100723 -
100724 -           [On 040621 Gary reports SDS code seems to working correctly,
100725 -           but files on the ACE intranet listed in SDS records are not
100726 -           being opened; Gary recalled encountering problems during a
100727 -           meeting on 040611 to develop improvements to ACE intranet
100728 -           support for M&S, which seem similar to problems opening
100729 -           files listed in SDS records, and so Cal's investigations and
100730 -           solution to the ACE problem, may solve the new problem
100731 -           reported on 040621. ref SDS 12 ZB6I
100733 -            ..
100734 -           [On 040720 Gary reports another problem opening files with
100735 -           long filenames, ref SDS 14 TU6X, and this was solved, also
100736 -           reported on 031102. ref SDS 14 OV4I
100737 -
100738 -
100739 -
100741 -  ..
1008 -
1009 -
1010 - Problem
1011 -
101101 - Gary submitted some letters and called to report continuing problems
101102 - opening files for other applications in SDS, including opening long
101103 - filenames used in ACE.
101104 -
101105 -           [...in another letter today, notified Gary of work on these
101106 -           issues. ref SDS 10 764S
101108 -  ..
101109 - There are Two (2) related problems to solve....
101110 -
101111 -    1.  Gary's record on 040603 has a filename of about 87 characters
101112 -        listed for a Microsoft Word file, which does not open when he
101113 -        double clicks or presses enter. ref SDS 9 0001
101115 -         ..
101116 -        Enhancements created today, seem to solve this problem.
101117 -        ref SDS 0 OA4F
101118 -
101119 -            [On 040621 Gary tested this feature and reported it seems
101120 -            to be working correctly on his computer. ref SDS 12 4082
101122 -         ..
101123 -    2.  Gary reports in another letter today that he wants to open a
101124 -        file with about 206 characters stored on the ACE intranet....
101125 -
101126 -            https://fcsace.boeing.com/Windchill/servlet/WindchillAuthGW/wt.content.ContentHttp/viewContent/HomePageExample.html?u8&HttpOperationItem=wt.conte plicationData%3A13436054&ContentHolder=wt.doc.WTDocument%3A13436051
101127 -
101128 -        ...but is failing to capture the full length of the address.
101130 -         ..
101131 -        Enhancements created today, seem to solve the problem,
101132 -        ref SDS 0 DP6H, for this particular use case of 206 characters;
101133 -        there may be continuing problems opening an address with more
101134 -        than 256 characters. ref SDS 0 OA39
101135 -
101136 -            [On 040621 Gary reports SDS code seems to working
101137 -            correctly, but files on the ACE intranet listed in SDS
101138 -            records are not being opened; Gary recalled encountering
101139 -            problems during a meeting on 040611 to develop improvements
101140 -            to ACE intranet support for M&S, which seem similar to
101141 -            problems opening files listed in SDS records, and so Cal's
101142 -            investigations and solution to the ACE problem, may solve
101143 -            the new problem reported on 040621. ref SDS 12 ZB6I
101145 -             ..
101146 -            [On 040701 Gary discovered a solution of converting % to %%
101147 -            in a filename parameter to open on the Internet or an
101148 -            intranet. ref SDS 13 MJ8K
101150 -             ..
101151 -            [On 040720 Gary reports another problem opening files with
101152 -            long filenames, ref SDS 14 TU6X, and this was solved, also
101153 -            reported on 031102. ref SDS 14 OV4I
101154 -
101155 -
101156 -
101158 -  ..
1012 -
1013 -
1014 - Background
1015 -
101501 - This feature was originally developed on 031020. ref SDS 2 0000.
101502 -
101503 - On 031102 the function was improved to handle long filenames, which is
101504 - the problem reported today. ref SDS 4 0001
101506 -  ..
101507 - On 040528 Gary reported a problem when he used the SDS feature for
101508 - entering a document into SDS, files with lines longer than the default
101509 - length of 300 columns or whatever, caused the lines to truncate.  This
101510 - may be related.  In the record on 040528 changed the recl command to
101511 - 2000 for SDS records.
101513 -  ..
101514 - This is not the problem in the record on 040603 because the length is
101515 - only 100 columns. ref SDS 9 0001
101517 -  ..
101518 - This morning, Gary submitted dip.zip that has the word document file
101519 - for running experiments.  Tried the following command...
101520 -
101521 -        C>zu -d -n dip c:\ *.*
101522 -
101523 - ...and this command put the file in the same directory Gary is using
101524 - for investigation purposes.
101526 -  ..
101527 - Testing shows that when the routine is run normally, the correct
101528 - commands are called, but when called within SDS, the DOS processing
101529 - does not include the full path and filename, but, shows only...
101530 -
101531 -      C:\SD\10>I:\00\02\system32\cmd.exe /C start /I "SDS" "C:\glj\Documents\MandS\Con
101532 -      structive Sims\Garold Johnson\DPD\DPD_Comm_REq_rev1_0603
101533 -      Program too big to fit in memory
101534 -
101535 - ...so even though the full string is in the batch file, DOS stops
101536 - processing at...
101538 -                         ..
101539 -                        _0603
101540 -
101541 - ...which omits the end that looks like...
101542 -
101543 -                        _0603.doc"
101545 -         ..
101546 -        Enhancements created today, seem to solve this problem.
101547 -        ref SDS 0 OA4F
101549 -  ..
101550 - The notice from the operating system...
101551 -
101552 -          Program too big to fit in memory
101553 -
101554 - ...seems to fit the model of a solution developed on 031102 that
101555 - calls a .cmd file, rather than attempt to open the file in a .bat
101556 - file.
101558 -  ..
101559 - The current problem must be on the cusp in that the code runs from the
101560 - command line, where memory is 633KB, but fails when run with the dose
101561 - command that only has 590KB.
101563 -  ..
101564 - The core problem is that when the command is run from DOS, it is
101565 - actually running NTVD, but when SDS calls a dose command it calls a
101566 - DOS environment running .com, which has memory limitations.  This
101567 - problem has been solved by using dose to call a batch file that calls
101568 - a cmd file that runs run NTVD to launch the start command with more
101569 - memory, as reported on 031120. ref SDS 4 GN3I
101571 -  ..
101572 - Research on 031030 discovered a further problem, ref SDS 3 XU9P, that
101573 - NTVD seems to have a limit of 256 characters for the path and
101574 - filename. ref SDS 3 4E5K  This limitation on the length of a filename,
101575 - may prevent opening some files on the ACE system, because people are
101576 - using the path and filename to organize the record, rather than the
101577 - flexible structure of SDS that applies a DNA coding system to emulate
101578 - human memory.
101580 -  ..
101581 - For example, Gary reports in another letter today that he wants to
101582 - open...
101583 -
101584 -           https://fcsace.boeing.com/Windchill/servlet/WindchillAuthGW/wt.content.ContentHttp/viewContent/HomePageExample.html?u8&HttpOperationItem=wt.conten licationData%3A13436054&ContentHolder=wt.doc.WTDocument%3A13436051
101585 -
101586 - ...which is 226 characters.
101588 -  ..
101589 - Since this an html file, and since it is less than 256 characters, it
101590 - should run.
101592 -  ..
101593 - Initial testing shows the SDS code is not executing the loop that
101594 - enters the full length of the string.  Why not?
101596 -  ..
101597 - Turned out the problem is the default record length for an Medit file
101598 - is not long enough to process this address.  Solution is to add a
101599 - command in 00903 that sets recl 500 in the 00903.cmd. ref SDS 0 486F
101600 -
101601 -
101602 -
101603 -
101605 -  ..
1017 -
1018 -
1019 - Planning
1020 -
102001 - Will try revising the design on 031102, ref SDS 4 SI5F, and now make
102002 - the call in 00902.bat to 00903.cmd permanent, ref SDS 4 TC6G, so that
102003 - all operations use 00903.cmd that supports a longer command string;
102004 - the set command is swapped out in 00903.cmd to either open HTML files,
102005 - or files for other programs, based on the file extension, like, doc,
102006 - xls, ppt, etc.
102008 -  ..
102009 - Review of work on 031102 anticipated this design change. ref SDS 4
102010 - RU4G
102011 -
102012 -           [On 040621 Gary reports SDS code seems to working correctly,
102013 -           but files on the ACE intranet listed in SDS records are not
102014 -           being opened; Gary recalled encountering problems during a
102015 -           meeting on 040611 to develop improvements to ACE intranet
102016 -           support for M&S, which seem similar to problems opening
102017 -           files listed in SDS records, and so Cal's investigations and
102018 -           solution to the ACE problem, may solve the new problem
102019 -           reported on 040621. ref SDS 12 ZB6I
102020 -
102021 -
102022 -
102023 -
102025 -  ..
1021 -
1022 -
1023 - Progress
1024 -
102401 - 00903.BAT  Call Start Command to Open a Document with Another Program
102402 -
102403 - Follow up ref SDS 4 TC6G, ref SDS 2 TC6G.
102404 -
102405 - Line 30, ref OF 2 J03M, 00903.bat
102406 -
102407 -      %STR%
102408 -    %STR% /min c:\sd\01\00903.cmd
102409 -
102410 -        Changed this command today to make the call to 00903.cmd
102411 -        permenant, so that all processing from SDS with the Windows
102412 -        start command is accomplished in the NTVD cmd processor, rather
102413 -        than use a batch file, per planning above. ref SDS 0 OA4F  In
102414 -        this case the batch file merely launches an NTVD cmd file.  We
102415 -        can then eliminate code in 00903 developed on 031102 that made
102416 -        using 00903.cmd a variable. ref SDS 4 ON6K
102418 -         ..
102419 -        This changed was anticiapted in the work on 031102.
102420 -        ref SDS 4 RU4G
102421 -
102422 -
102424 -  ..
102425 - 00903.cmd  Iexplore.exe Run Under Start Called by 00903.bat
102426 -
102427 - Follow up ref SDS 4 498O.
102428 -
102429 - Line 30, ref OF 3 J03M, in 00903.cmd
102430 -
102431 -    Don't have to make any changes to this.  Changes are in 00903 that
102432 -    swaps the set command, and sets a recl long enough to enter a long
102433 -    path and filename.
102434 -
102435 -
102436 -
102437 -
102438 -
102440 -  ..
102441 - 009030  Open File in SDS Record
102442 -
102443 - Follow up ref SDS 2 TC4K.
102444 -
102445 - Line 310, ref OF 1 LG5L -label ocfwb3 in 00903
102446 -
102447 -    -label ocfwb3
102448 -    markcur 4
102449 -    setgbl 77 @77
102450 -      -if @77 != 1 e c:\sd\01\00903.bat
102451 -      -if @77 = 1 e c:\sd\01\00903.cmd
102452 -     ..
102453 -    e c:\sd\01\00903.cmd
102454 -    top
102455 -    recl 500
102456 -    getgbl 77 77
102457 -
102458 -        There are two (2) types of processing:  77 = 1 for html is
102459 -        identified based on the initial address scheme, where http
102460 -        signals html; the 2nd type 77 = 0 is to launch applications
102461 -        based on the file extension. Added code to make the flag for
102462 -        the type of processing global.  Unplug code that opened either
102463 -        00903.bat or 00903.cmd, and instead the code now will always
102464 -        open 00903.cmd.  top positions code to process set command;
102465 -        recl 500 provides enough length to enter long path and
102466 -        filenames, solving problem Gary reported today, per above.
102467 -        ref SDS 0 5O4N  getgbl 77 77 reads in the processing type to
102468 -        configure the set command.
102469 -
102470 -
102472 -  ..
102473 - Line 320, ref OF 1 515L, -label ocfwb3 in 00903 about 40 lines below
102474 -
102475 -    z 1 1
102476 -    l /s/
102477 -    immed a
102478 -    immed d
102479 -    -if @77 = 0 ins_text !set SIE=%systemroot%\system32\cmd.exe /C start /I "SDS"!
102480 -    -if @77 = 1 ins_text !set SIE=%systemroot%\system32\dllcache\iexplore.exe!
102481 -
102482 -        Added code today that swaps out set command in 00903.cmd based
102483 -        on processing either an html file, or someother application
102484 -        based on the file extension.
102485 -
102486 -            [On 040621 Gary reports SDS code seems to working
102487 -            correctly, but files on ACE intrance listed in SDS records
102488 -            are not being opened; Gary recalled encountering problems
102489 -            during a meeting on 040611 to develop improvements to ACE
102490 -            intranet support for M&S, which seem similar to problems
102491 -            opening files listed in SDS records, and so Cal's
102492 -            investigations and solution to the ACE problem, may solve
102493 -            the new problem reported on 040621. ref SDS 12 ZB6I
102494 -
102495 -
102496 -
102498 -  ..
102499 - Line 580, ref OF 1 5I9H, -label ocfwb8 in 00903
102500 -
102501 -    -if @77 != 1 -goto e009
102502 -    e c:\sd\01\00903.bat
102503 -    top
102504 -    z 1 1
102505 -    l /%/
102506 -    immed d
102507 -    down
102508 -    immed a
102509 -    up
102510 -    ins_text !%STR% /min c:\sd\01\00903.cmd!
102511 -    save
102512 -    ecur 4
102513 -    -label e009
102514 -    purge c:\sd\01\00903.bat
102515 -
102516 -        All this code is unplugged today, because 00903.bat is now
102517 -        wired to run 00903.cmd, per planning above. ref SDS 0 VV8J
102518 -
102519 -
102520 -
102521 -
102522 -
1026 -

SUBJECTS
SDS Complements Popular Information Technologies Like Microsoft Word

1103 -
110401 -  ..
110402 - DIP Planning to Implement ACE for Collaboration Complemented by SDS
110403 -
110404 - Follow up ref SDS 8 YE8W.
110405 -
110406 - Content in the file Gary submitted to illustrate the problem discusses
110407 - the purpose of the ACE and DPD computer systems being used for the
110408 - project.  Goals for supporting CFISR discuss...
110410 -      ..
110411 -     ...a need for organizing and managing data such that each group
110412 -     operates in a most efficient and collaborative fashion. The data
110413 -     organization and configuration control needs to be designed in a
110414 -     flexible way to support the evolving nature of the ... program.
110415 -     This document lists the organizations involved, the current
110416 -     requirements for data organization.
110418 -  ..
110419 - This fits the definition of SDS submitted to the Architecture
110420 - Committee reported on 040426, ref SDS 7 6W6I, and further aligns with
110421 - contract Aerospace company entered on 040317 to evaluate SDS. ref SDS 5 KM3K
110423 -  ..
110424 - Objectives for flexibility organizing the record to support
110425 - "collaboration," and "efficiency" align with the SDS design reported
110426 - on 890523, ref SDS 1 P13O, and fits the model we have been discussing
110427 - for submitting requirements under the proposal for making SDS a Aerospace company
110428 - standard.
110430 -  ..
110431 - There may be an opportunity to develop common threads between DPD and
110432 - SDS.  For example, on 040513 management standards for traceability to
110433 - original sources, which are supported by SDS, was reviewed to
110434 - complement support by other tools for collaboration. ref SDS 8 YE8W
110435 - and ref SDS 8 YE5R
110436 -
110437 -
110438 -
110439 -
110440 -
110441 -
110442 -
110443 -
110444 -
110445 -
110446 -
1105 -