Environment Variable question. QTP doesn't recognize env-variables
Syed Shahul Hameed Mustaffa
sshahulgm at gmail.com
Fri Dec 16 23:26:08 CST 2005
Thanks Joe, Ken.
Joe! I checked #set.. from QTP. It is picking up the correct value. However
when I attempt to run the qtp (cmd /c
qtp.exedict=D:\HERDSPRD\Dictionary\hms.pdc
auto=D:\HERDSPRD\RemoteBuild\test.qtc)
it fails with the following error message. But in development it is working
without any problem.
============ ERROR MESSAGE ======================
Data access error.
File: $PSLOC2\alupdd
Action Taken: Run terminated.
-------------------------------------
No such file or directory (ERRNO 2)
File: $PSLOC2\alupdd
-------------------------------------
Finished.
=================================================
Ken! This system environment variable is a permanant one (Created from
Windows MyComputer). The same code was working well before.
Regards,
SYED.
On 12/16/05, Joe Boyle <atla38 at dsl.pipex.com> wrote:
>
> Do you have embedded spaces in the path specified in your variable
> settings ?
>
>
>
> If you go into qtp, and type '$set spsloc2' do you see the correct path
> displayed ?
>
>
>
> do
>
>
>
> Regards, Joe.
> ------------------------------
>
> *From:* Syed Shahul Hameed Mustaffa [mailto:sshahulgm at gmail.com]
> *Sent:* 16 December 2005 18:06
> *To:* PowerHouse List
> *Cc:* Joe Boyle
> *Subject:* Environment Variable question. QTP doesn't recongize
> env-variables
>
>
>
> Dear Gurus,
>
>
>
> Quick Intro: I've migrated a PH/MPEIX application to
> AXIANT4GL/PH4GL/WINDOWS (Thin Client).
>
>
> I have qtps to load the MPEIX/PH data into the WINDOWS/PH.
>
> I used environment variable to identify the location of the data files.
>
>
>
> eg
>
> set process
> nolimit
>
> request ONE
>
> acc *$PSLOC2\alupdd alias PS_ALPRO_UPDATE_D
>
>
> BUILD SMALL_TABLES_1
>
> ;-------------------------------------
>
> It was working well before. Last time I used these qtps to load my data.
>
> Suddenly these qtps are not working. Because PH doesn't recognize the
> environment variable.
>
> I checked the environment variable. It is there and ok.
>
> I recreated it and restarted the server too.
>
> Still PH doesn't recognize the environment variable.
>
> I tried changing the environment variable to another env-variable I'm
> using in other qtps. PH not recognizing this variable too.
>
> I had to hardcode a path in all my data load qtps to make it work. (That
> proves, there is nothing wrong with the data files).
>
>
>
> What could have gone wrong?
>
> I'm using environment variables widely in my application.
>
> If PH stops recognizing variables like this, it will be disaster.
>
>
>
> Can anyone please help me in this? I'll appreciate.
>
>
>
> Regards,
>
> SYED
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20051217/2cf10766/attachment.html
More information about the powerh-l
mailing list