Linux Import Command

Joe Chasan joe at magnatechonline.com
Thu Aug 3 07:32:08 PDT 2006


On Thu, Aug 03, 2006 at 10:22:22AM -0400, Doug Luurs wrote:
> Have I lost my mind, or is my filepro (linux 5.0.14R4) acting weird
> today ?
> I have never had a problem with this syntax on my SCO Box.
> 
> I am writing a simple import with check of data, and I am getting errors
> when it
> Checks the syntax.
> 
> Code:
>        . If:
> '##############################################################   .
>        Then: '#    Open File & Verify Headers
> .
>  26  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> -
>        . If:
> .
>        Then: import ascii qqq = (in) r=\n  f=\t
> .
>  27  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> -
>        . If: not qqq
> .
>        Then: er = "Error opening Quote File"; Goto Err
> .
>  28  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> -
>        . If: qqq(1) ne "CAV-WEB"
> .
>        Then: er = "Header Error - Please remember not to change the
> Header"
> 
> On Saving .. The Error
> 
> 	*** A filePro Error Has Occurred ***
> 
> 	Line Number: 28
> 
> 	qqq(1) ne "CAV-WEB"
> 	    ^
> 	Process contains a syntax error at position indicated.

its not linux, this happened to me yesterday on a sco box.
try doing xx=qqq(1) before doing a compare to the field.  it
looks like filePro wants to see an assigment before accepting
the import field as a field # on an "if" line - or at least
thats what fixed it for me yesterday.

--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan-                      Magnatech Business Systems, Inc.
joe at magnatechonline.com           Hicksville, NY - USA
http://www.MagnatechOnline.com    Tel.(516) 931-4444/Fax.(516) 931-1264


More information about the Filepro-list mailing list