Page 1 of 1

Suppressing Client Server "@:" when not running C/

Posted: Mon Aug 16, 2010 11:35 am
by Susan Smith
I get an error 626 at this line:

25362 OPEN #(FEXPORTFILE:=FNGETFILENUMBER): "name=save:"&CSOPENSTRING$&"*.sio,new,recl="&STR$(MAX(RLN(FSCREENIO),RLN(FSCREENFLD))),INTERNAL,OUTPUT,SEQUENTIAL ERROR IGNORE

Error 626: Attempt to use advanced file IO features with a DEBUG file or a client side file

CSOPENSTRING$="@:" This is the problem. If I remove it, it works. I am NOT running on Client Server. But this needs to run on both C/S and non-C/S with the exact same code.

Is there some sort of OPTION statement that can be set up in BRCONFIG.SYS to tell BR to ignore the @: when NOT running on C/S?

I just downloaded the newest BR 4.20g and the issue still exists.

-- Susan

Posted: Mon Aug 16, 2010 11:50 am
by bluesfannoz
Susan we created an environment variable we call MAPPENV that tells us which type we are.

Our values currently are PCLAN, WINCS,MACCS

Set it with

SETENV MAPPENV PCLAN

in the wbconfig file.

Because to my knowledge even though I have asked for it on multiple occasions, we don't have a system variable we can check that tells us we are using client server.

Posted: Mon Aug 16, 2010 12:03 pm
by Susan Smith
Thank you Steve. This is very helpful. It sounds like the perfect way to go.

-- Susan