URGENT: Can't share files on a Novell 4.01 Server 
Author Message
 URGENT: Can't share files on a Novell 4.01 Server

I have a program that for some reason it can't share the DBF's files. I link
the application with Exospace and i have tried to use EXOSPACE PACKAGE IPX
for ipx/spx compatibility but, nothing ...

The same application on a WindowsNT Server with Windows95 stations works
fine without any kind of problems.

Can anyone help me, please?!

Tanks!!!



Fri, 06 Oct 2000 03:00:00 GMT  
 URGENT: Can't share files on a Novell 4.01 Server

Is there an xbase++ function similar to the TOMONEY() Function
in the Tom Rettig Library.  I have the c source for the function
but have no idea how to create a 32 bit library with it.

Thanks,
Jimmie Webb



Fri, 06 Oct 2000 03:00:00 GMT  
 URGENT: Can't share files on a Novell 4.01 Server



Quote:
>I have a program that for some reason it can't share the DBF's files. I link
>the application with Exospace and i have tried to use EXOSPACE PACKAGE IPX
>for ipx/spx compatibility but, nothing ...

>The same application on a WindowsNT Server with Windows95 stations works
>fine without any kind of problems.

You didn't say, so I'm assuming environment that isn't working is
Novell. In which case, but make sure the tables and indexes are
flagged as Shared and Read/Write using the Novell 'flag' command;
flag CUSTOMER.DBF S RW


Fri, 06 Oct 2000 03:00:00 GMT  
 URGENT: Can't share files on a Novell 4.01 Server

On Mon, 20 Apr 1998 09:05:59 -0700, "Jimmie L. Webb, Jr."

Quote:

>Is there an xbase++ function similar to the TOMONEY() Function
>in the Tom Rettig Library.  I have the c source for the function
>but have no idea how to create a 32 bit library with it.

I assume it takes numeric input and outputs text?

Try this:

function DOLLARWORD( AMOUNT )

local AMT_STR   := str( AMOUNT, 12, 2 )
local WORKING   := .f.
local OUT_STR   := '~~~'
local NEEDCOMMA := .f.

if AMOUNT > 999999999.99
   return '**overflow**'
endif

if val( left( AMT_STR, 1 ) ) > 0
   OUT_STR   += DIGITWORD( val( left( AMT_STR, 1 ) ) ) + ;
                ' hundred'
   NEEDCOMMA := .t.
   WORKING   := .t.
endif

if val( substr( AMT_STR, 2, 2 ) ) > 0
   if WORKING
      OUT_STR += ' '
   else
      WORKING := .t.
   endif
   OUT_STR += DIGITWORD( val( substr( AMT_STR, 2, 2 ) ) ) + ;
              ' million'
endif

if val( substr( AMT_STR, 4, 1 ) ) > 0
   if WORKING
      OUT_STR += ', '
   else
      WORKING := .t.
   endif
   NEEDCOMMA := .f.
   OUT_STR   += DIGITWORD( val( substr( AMT_STR, 4, 1 ) ) ) + ;
                ' hundred'
endif

if val( substr( AMT_STR, 5, 2 ) ) > 0
   if WORKING
      OUT_STR += iif( NEEDCOMMA, ', ', ' ' )
   else
      WORKING := .t.
   endif
   OUT_STR += DIGITWORD( val( substr( AMT_STR, 5, 2 ) ) ) + ;
              ' thousand'
endif

if val( substr( AMT_STR, 7, 1 ) ) > 0
   if WORKING
      OUT_STR += ', '
   else
      WORKING := .t.
   endif
   OUT_STR += DIGITWORD( val( substr( AMT_STR, 7, 1 ) ) ) + ;
              ' hundred'
endif

if WORKING
   OUT_STR += ' '
endif

OUT_STR += DIGITWORD( val( substr( AMT_STR, 8, 2 ) ) ) + ' and ' + ;
                      str( ( AMOUNT - round( AMOUNT - .5, 0 ) ) * ;
                      100, 2 ) + '/100~~~'

if WORKING .and. 'zero and' $ OUT_STR
   OUT_STR := stuff( OUT_STR, at( 'zero and', OUT_STR ), 5, '' )
endif

return OUT_STR

function DIGITWORD( DIGITS )

local RET_STR

local L_ARRAY := { '*', 'twenty', 'thirty', 'forty', 'fifty', ;
                   'sixty', 'seventy', 'eighty', 'ninety' }

local R_ARRAY := { 'ten', 'eleven', 'twelve', 'thir{*filter*}', 'four{*filter*}',
;
                   'fif{*filter*}', 'six{*filter*}', 'seven{*filter*}', 'eigh{*filter*}',
'nine{*filter*}' }

local D_ARRAY := { 'zero', 'one', 'two', 'three', 'four', ;
                   'five', 'six', 'seven', 'eight', 'nine' }

local L_DIGIT := val( left( str( DIGITS, 2 ), 1 ) )
local R_DIGIT := val( right( str( DIGITS, 2 ), 1 ) )

if L_DIGIT > 0
   RET_STR := L_ARRAY[ L_DIGIT ]
endif

do case
case L_DIGIT > 1
   if R_DIGIT > 0
      RET_STR += '-' + D_ARRAY[ R_DIGIT + 1 ]
   endif
case RET_STR = '*'
   RET_STR := R_ARRAY[ R_DIGIT + 1 ]
otherwise
   RET_STR := D_ARRAY[ R_DIGIT + 1 ]
endcase

return RET_STR

--

        Oasis WWW   http://www.*-*-*.com/ ~philb/
 Oasis WWW Mirror   http://www.*-*-*.com/
         FTP Site  ftp://ftp.iag.net/pub/clipper

      Everything that is really great and inspiring is
      created by individuals who can labor in freedom.

                                     Albert Einstein



Sat, 07 Oct 2000 03:00:00 GMT  
 URGENT: Can't share files on a Novell 4.01 Server

Yes, i'm trying to run the application on a Novell 4.01 Server but it seems
that the DBF's files couldn't be shared.
I open the files has Shared, but only one station could use the DBF's files,
all other stations get an networking error when trying to open the files.
All users have access read/write to the PATH where the application is
installed.

I don't understand what is happening because on the WindowsNt Server it
works fine!

I use Clipper 5.02 and Exospace to link with EXOSPACE PACKAGE IPX for novell
compatibility.



Sat, 07 Oct 2000 03:00:00 GMT  
 URGENT: Can't share files on a Novell 4.01 Server



Quote:
>Yes, i'm trying to run the application on a Novell 4.01 Server but it seems
>that the DBF's files couldn't be shared.

Don't confuse the 'share' mode in which the app is opening the tables
with the 'share' attribute on the file. Log in to the server and
directory where the tables are located. Run the Novell 'flag' command
on the table in question. For example, if the name of the table is
CUSTOMER.DBF, you'd type: flag customer.dbf rw s

The 'rw' flags the file as read/write, and the 's' flags the file as
shareable. Check and set each table and index accordingly. Running the
flag command w/o any arguments will list all the files and their
attributes to the console. Or, to list the attributes of just the
databases, flag *.dbf will do the trick, eg:

M:\>flag *.dbf
     BLOCK_IT.DBF             [ Rw S - - - -- - - -- -- -- -- -- ]
     $0410235.DBF             [ Rw S - - - -- - - -- -- -- -- -- ]
     MINMAX2.DBF              [ Rw S - - - -- - - -- -- -- -- -- ]
     CTRLCHAR.EXE             [ Ro S - - - -- - - -- -- -- -- -- ]
     DAYOMENU.DBF             [ Rw - - - - -- - - -- -- -- -- -- ]
     TEMPPOD.DBF              [ Rw - - - - -- - - -- -- -- -- -- ]
     TEMPPOH.DBF              [ Rw - - - - -- - - -- -- -- -- -- ]

The first column is the read/write attribute, the second is the share
attribute. Note that the last 3-files do *not* have the 'share'
attribute set. All the application tables and indexes should be
flagged as 'rw s'.

One other thing, the application .exe file should be flagged as
'ro s', that's 'R'ead'O'nly and 'S'hareable. Note the attributes for
CTRLCHAR.EXE above.

HTH



Sat, 07 Oct 2000 03:00:00 GMT  
 URGENT: Can't share files on a Novell 4.01 Server

Quote:

>The 'rw' flags the file as read/write, and the 's' flags the file as
>shareable. Check and set each table and index accordingly. Running the
>flag command w/o any arguments will list all the files and their
>attributes to the console. Or, to list the attributes of just the
>databases, flag *.dbf will do the trick, eg:
>M:\>flag *.dbf
>     BLOCK_IT.DBF             [ Rw S - - - -- - - -- -- -- -- -- ]
>     $0410235.DBF             [ Rw S - - - -- - - -- -- -- -- -- ]
>     MINMAX2.DBF              [ Rw S - - - -- - - -- -- -- -- -- ]
>     CTRLCHAR.EXE             [ Ro S - - - -- - - -- -- -- -- -- ]
>     DAYOMENU.DBF             [ Rw - - - - -- - - -- -- -- -- -- ]
>     TEMPPOD.DBF              [ Rw - - - - -- - - -- -- -- -- -- ]
>     TEMPPOH.DBF              [ Rw - - - - -- - - -- -- -- -- -- ]

The Share attribute is neither desirable or necessary. I would flag to
remove it.

Novell handles .EXE, .DBF and .??x files correctly with no changes to
the attributes. More likely, there is an access rights problem.

Also, there is no need, under Dedicated Novell Server to mark the
executable as read only.

--

        Oasis WWW  http://www.iag.net/~philb/
 Oasis WWW Mirror  http://www.enterconnex.com/oasis/
         FTP Site  ftp://ftp.iag.net/pub/clipper

      Everything that is really great and inspiring is
      created by individuals who can labor in freedom.

                                     Albert Einstein



Sun, 08 Oct 2000 03:00:00 GMT  
 URGENT: Can't share files on a Novell 4.01 Server

Quote:

> Yes, i'm trying to run the application on a Novell 4.01 Server

4.01 has a lot of errors. Try to upgrade to 4.1x.

Quote:
> but it seems
> that the DBF's files couldn't be shared.
> I open the files has Shared,

What does it mean ? Shared attribute (which IMO is not nesessary) ?
'USE (file) shared' => is what you need.

Quote:
> but only one station could use the DBF's files,
> all other stations get an networking error when trying to open the files.

Which error ?

Quote:
> All users have access read/write to the PATH where the application is
> installed.

Are DBFs in the same directory ? Aren't DBFs flagged as Readonly ?

Quote:
> I use Clipper 5.02

Didn't hear about 5.02. Are you sure ?

Quote:
> and Exospace to link with EXOSPACE PACKAGE IPX for novell
> compatibility.

I believe 'EXOSPACE PACKAGE IPX' is not nesessary for Netware 4.
I remind something about Int 7Ah support and Netware 2...
I may be wrong here.
--
HTH, Vladimir (kzm11 at geocities dot com)
http://www.geocities.com/SiliconValley/Pines/7762/index.html


Sun, 08 Oct 2000 03:00:00 GMT  
 URGENT: Can't share files on a Novell 4.01 Server

Hi Phil

Thanks for your help.



Sun, 08 Oct 2000 03:00:00 GMT  
 URGENT: Can't share files on a Novell 4.01 Server

The problem is solved.

Problem: When the program tried to USE file SHARED an network error occurs
(like if the files were open with EXCLUSIVE mode)

In the Novell Server, all the DBF's Files had read/write access. The problem
it wasn't in the Novell Server but in the Windows95 OSR2 Stations.

I explain:
In the 'Network' under 'ControlPanel' in each Windows95 station i had only:
- Client for NetWare network
- IPX/SPX protocol
- Service for NetWare Directory Services
- NE2000 compatibility network adaptor

Than i try too had:
- Client for Microsoft network
- NetBUI protocol

(But the client where the application is installed have only a Novell
server)

I don't understand very well why, but since than, when the application is
running the DBF's files can now be shared by all the users. Ofcourse only in
some options of the program.

Thanks All.

Joao.



Sun, 08 Oct 2000 03:00:00 GMT  
 URGENT: Can't share files on a Novell 4.01 Server

Thanks for your help.
But, you didn't understand what i want to mean.

I open the files shared like this: 'USE (file) shared'
5.2e is the clipper version that i use. Sorry for 5.02!

Quote:
>I believe 'EXOSPACE PACKAGE IPX' is not nesessary for Netware 4.
>I remind something about Int 7Ah support and Netware 2...
>I may be wrong here.

I think like that too. I was only trying something that could solve the
problem.


Sun, 08 Oct 2000 03:00:00 GMT  
 
 [ 15 post ] 

 Relevant Pages 

1. Using CGI module with 'canned queries'

2. Multiuser access on Novell server fails with smalltalk File calls

3. VDM???.TMP Files with Win2k/XP on Novell Server

4. Runnng TPS files on a Novell 4.1 Server - Any Problems

5. $xxxxxx. files on novell server

6. Ratio between agent's share and consultant's share

7. Ratio between agent's share and consultant's share

8. It's not bad canned meat...

9. It's not bad canned meat...

10. It's not bad canned meat...

11. It's not bad canned meat...

12. Problem sharing Btrieve files on NT server

 

 
Powered by phpBB® Forum Software