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

General development discussion.

Moderators: Susan Smith, admin, Gabriel

Post Reply
Susan Smith
Posts: 717
Joined: Sun Aug 10, 2008 4:24 am
Location: Southern California

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

Post 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
bluesfannoz
Posts: 291
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

Post 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.
Steve Koger
Computer Specialist
SEKESC-MACS Division
Susan Smith
Posts: 717
Joined: Sun Aug 10, 2008 4:24 am
Location: Southern California

Post by Susan Smith »

Thank you Steve. This is very helpful. It sounds like the perfect way to go.

-- Susan
Post Reply