[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: directories
On Tue, 3 Mar 1998, Randle Boyd wrote:
> Hello,
>
> We have SQR (and Maximo) and our SQRs and SQTs on a server that we'll
> call server 1. We would like to use a flat file that is on another
> server, that we'll call server 2. We would like to use the flat file
> from server 2 as input for an SQT on server 1, then have the resulting
> .LIS and .SPF files created on server 2. By the way, we're using WIN
> NT, and SQR v3.0, and all the servers are mapped as local drives.
<snip>
> browse and get the 8.3 file names. So, I tried this:
> open 'r:\power~1\prod\maint\pilotwo~1\data\wrkorder.txt' as 10
> for-reading record=6
>
> This time I got an error - SQR 3501 'Didn't find end of literal'. I
> suppose that SQR does not like the '~' character?
SQR loves the '~' character. I've used it several ties with no problem.
One thing about your example, "pilotwo~1" is 9 characters long, not 8.
This, however, should not cause a 3501 error.
The most common cases of 3501 errors that I've had come from forgetting to
double my exclamation marks. for example:
let $warn = 'Warning! An error occured.'
treats everything after the '!' as a comment.
> I am having similar problems with the exists() function, and when
> attempting to place the .LIS and .SPF files into a different directory
> using the -F flag on the command line.
You mean a 3501 error? If not, what error(s) are you getting?
> Can anyone tell me what I may be doing wrong?
>
> TIA,
> Randle
> Ruan Transportation
> (515)245-2493
-----------------------------------------------------------------------
Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com | "In the beginning, there was nothing, which exploded"