Hi Jim,

I do not use these commands but you might want to put a space
between the semi colon in front of the NOCHECK and  FILL
parameters. This is what the syntax shows. I do not know if
that is important or not. A semi colon usually tells R:Base
that these are seperate commands on this line and that may be
what is generating the error.

Best regards,
Mike Young

On Tue, 13 Nov 2001 11:46:35 -0500, Jim Limburg wrote:

>G-Day all
>
>I need to ping the GURU's on this one..
>
>Running this code:
>
>SET NULL -0-
>LOAD fouro1k +
>FROM &vg_chrfilepath USING clockno,fro1k_wages,fro1k_current,+
>check_date,hours_worked ;NOCHECK;FILL
>SET VAR var_interr = .errvar
>IF var_interr = 0 THEN
>  PAUSE FOR 1 USING 'Technituft loaded' AT CENTER CENTER
>ELSE
>  PAUSE FOR 1 USING 'Loading Error ' at center center
>ENDIF
>SET NULL ' '
>
>When this runs at run time... the PAUSE saying Loading
>Error pops up...
>
>During trace errvar and var_interr stay at 0 (zero).
>
>The data is loading which is what's important here..
>but I would like to be able to count on the error
>variable to tell if it did..
>
>If all else fails I will go to using a SELECT to see
>if the data go loaded, but I should have to..
>
>Has anyone seen this before..?
>
>By the way, when I was running this code in version
>6.1a I was doing a 
>LOAD fouro1k +
>FROM &vg_chrfilepath AS ASCII... and it was working fine..
>There are two more columns that the amount of fields
>that we are loading in.
>Now that we went to 6.5++ I had to modify the code...
>Upon a more detailed look at the Syntax I almost see why,
>but there isn't a real good explanation of what parts of 
>the commands work with the new AS ASCII... or not?
>
>Jim Limburg


Reply via email to