[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Specifying path for report creation w/o using drive letter
- Subject: Re: Specifying path for report creation w/o using drive letter
- From: Krishnan Sarangarajan <ksaranga@RUAN.COM>
- Date: Wed, 1 Dec 1999 10:42:40 -0600
Zubin - We have had problems similar to yours, at RUAN. In such cases, we
have done the following :
If a drive letter can be used, the process is trivial. Otherwise, we would
do as follows :
let $fname = '\\NTSERVER2\CIGNA\' || 'TEST.TXT'
open $fname as 10 for writing record=14:fixed
You may be able to use NEW-REPORT '\\NTSERVER2\CIGNA\TEST.LIS', for example.
I am not sure if it would work or not as I have never personally tried it.
Sincerely,
Krishnan
Ruan Transportation Management Systems
(515) 245-5655 [P]
(515) 247-2065 [F]
ksaranga@ruan.com
-----Original Message-----
From: Zubin Shroff [mailto:zshroff@DTTUS.COM]
Sent: Wednesday, December 01, 1999 10:33 AM
To: Multiple recipients of list SQR-USERS
Subject: Specifying path for report creation w/o using drive letter
Hi all,
We have an sqr that creates report files using the 'NEW-REPORT'
command. We need to specify the path of the network directory, but do
not want to use the drive letter since different users may have it
mapped to different drives. For example, if my Windows explorer shows
IS on 'Ent1\Data1' (O:)
how would I specify a folder on the O: drive without hard-coding the
drive letter in the sqr? I tried to use
NEW-REPORT 'Ent1\Data1\IS\myfolder\report.lis'
but sqr was unable to find the directory. When I use
NEW-REPORT 'O:\myfolder\report.lis', it works fine.
Any input will be appreciated.