× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On Mon, 4 Aug 2003, Shannon O'Donnell wrote:
>
> Right after that we started noticing that when we attempted to open HTML
> documents in a browser (stored on our IFS) and those HTML documents contains
> spaces in the names (i.e.,   TEST DOCUMENT.HTM),  that we were unable to
> open it.

What is opening it?  The web server?   Try using TEST%20DOCUMENT.HTM,
since TEST DOCUMENT.HTM violates HTTP protocol standards, it shouldn't
work.

> Further investigation reveals that even from a DOS window, with a mapped
> network drive, attempting to do a DOS copy or rename ALSO fails...unless you
> first enclose the document name in double quotes.

Hmmm, this has always been the case on my PC.  Not only for IFS, but for
local hard drives as well.

>
> If we rename the document so that it contains no spaces, then everything
> works fine.
>

Yes, that's because DOS commands use space as a parameter delimeter.
If you specify a file as Long Name.doc it will think appear in the program
as two different parameters.  But, "Long Name.doc" is only one parameter.

In iSeries terms...   doing this:

        CALL PGM(MYPGM) PARM('abcde' 'fghij')

is very different from doing this:

        CALL PGM(MYPGM) PARM('abcde fghij')

The difference is that MYPGM is getting two parameters in the first case,
and just one long parm in the second case.   The same thing is true in
DOS programs when you do this:

        mypgm abcde fghij

instead of this:

       mypgm "abcde fghij"

>
> Has anyone seen this problem?  Anyone have any suggestions?
>

Yeah, use the quotes :)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.