Ben,

Now the following questions:

01.     Is this a new installation?

02.     What is the default setting for TEMP and TMP environments?

        Type SET at the DOS prompt and press [Enter]

        What do you see?

        Does the directory for both TEMP/TMP environment exist?

03.     Does the same app works with regular RBWin?

I know you are using 2+ years old version of R:BASE. If there is a problem
using the CURRENT version, 6.5++, Build:1.864xRT03, or higher, I'll be very
interested to look into it, so as our dedicated members of Dream Team!

Good Luck, Ben!

Very Best Regards,

Razzak.


At 07:00 PM 2/7/2003 +0000, Ben Petersen wrote:

Thanks Dr. R>, but that change did not help.

It occurs to me that the app should be able to write temp files w/o
Scratch being set. The temp files would just be placed in the
current directory, right? It's a pretty plain jane Win98 computer.
From a dos prompt I can create, delete, edit to my heart's content
(this is all being done via pcAnyWhere), so Rbase should be able
to as well.

The next question would be, why would using "set scratch" keep
the apx from running?

Sorry, Doc, but this isn't fun   :(

Ben Petersen


On 7 Feb 2003, at 17:55, A. Razzak Memon wrote:

>
> Ben,
>
> ALWAYS use SET SCRATCH command before CONNecting the database!
>
> Example:
>
> SET VAR vTemp = (ENVVAL('TEMP'))
> IF vTemp IS NOT NULL THEN
>     SET SCRATCH .vTemp
> ENDIF
> CONNECT DBname
>
> Have Fun!
>
> Very Best Regards,
>
> Razzak.
>
> At 02:58 PM 2/7/2003 +0000, Ben Petersen wrote:
> >This _must_ be a big duh.
> >
> >I'm setting up a new install for RBW 6.5+ runtime on a Win98
> >machine. The first time out I got a message "Can't create
> >temporary file..." just as the app starts. I can make menu choices,
> >but none of the code behind the choice executes.
> >
> >So, slap forehead, and add "set scratch..." commands to the start up
> >file. At which point, RBASE.DAT connects to the database OK, there's
> >a quick screen flash like the APX tried to execute, and then I'm back
> >to the C:> prompt.
> >
> >So with Scratch set the APX won't go so far as the first menu,
> >without scratch set the apx displays the opening menu, I can
> >highlight and make a choice, but nothing happens.
> >
> >Here is rbase.dat that serves as the startup file:
> >--------------------------------------------------------------------
> >SET STATICDB OFF SET MULTI ON
> >
> >CONNECT \btw\tc
> >
> >SET NULL ' '
> >SET ERROR VAR ErrVal
> >SET MESSAGES OFF
> >SET ERROR MESSAGES OFF
> >
> >SET V TempDir Text = (FINDFILE(ENVVAL('TEMP')))
> >
> >If TempDir Is Not Null Then
> >   Set Scratch .TempDir
> >EndIf
> >
> >SET V MICRORIM_FULLOPT   = 7
> >SET v MICRORIM_F2MAXBLK  = 64
> >SET v MICRORIM_F3MAXBLK  = 256
> >
> >Set v Microrim_TMPmaxblk = 64
> >Set v Microrim_BTmaxblk  = 64
> >
> >SET FILES 20
> >SET BELL OFF
> >SET WHILEOPT OFF
> >
> >Run Cloud in Cloud.apx
> >
> >Exit
>



Reply via email to