<div>Very Sorry Joe!</div>
<div>&nbsp;</div>
<div>I was out of office and was busy with some important work.</div>
<div>As I told you, I have this problem only with data load qtps. </div>
<div>Others are working well as before.</div>
<div>So I don't have many such scripts and in fact I might do it only for a very few number of times.</div>
<div>So , for the time being, I'm ignoring the problem.</div>
<div>&nbsp;</div>
<div>However I'd like to find a workaround for the problem. If you need me to send you my scripts in SQL, I'll do so.</div>
<div>&nbsp;</div>
<div>Best Regards,</div>
<div>SYED.<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 12/18/05, <b class="gmail_sendername">Joe Boyle</b> &lt;<a href="mailto:atla38@dsl.pipex.com">atla38@dsl.pipex.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I am assuming that the directory/folder pointed to by the environment<br>variable does actually exist ?<br>
<br>Regards, Joe.<br><br>-----Original Message-----<br>From: powerh-l-bounces+atla38=<a href="mailto:dsl.pipex.com@lists.sowder.com">dsl.pipex.com@lists.sowder.com</a><br>[mailto:<a href="mailto:powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com">
powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com</a>] On Behalf Of<br>Joe Boyle<br>Sent: 18 December 2005 11:41<br>To: 'Syed Shahul Hameed Mustaffa'<br>Cc: 'PowerHouse List'<br>Subject: RE: Environment Variable question. QTP doesn't recognize
<br>env-variables<br><br>Hi Syed,<br><br>your earlier email says you are running qtp as below, I can't see how<br>licenses would be an issue with this, you must have at least runtime access<br>which is all you need to execute a .qtc file,
<br><br>&nbsp;&nbsp;&nbsp;&nbsp; cmd /c qtp.exe dict=D:\HERDSPRD\Dictionary\hms.pdc<br>auto=D:\HERDSPRD\RemoteBuild\test.qtc<br><br>the .qtc file must be running in order to give the error : no such file or<br>directory (ERRNO 2)File: $PSLOC2\alupdd
<br><br>As for scheduling, I found the AT command to work ok.<br><br>I would need a more detailed example of what you are doing to be of any help<br>on this.<br><br><br>Regards, Joe.<br>________________________________________
<br>From: powerh-l-bounces+atla38=<a href="mailto:dsl.pipex.com@lists.sowder.com">dsl.pipex.com@lists.sowder.com</a><br>[mailto:<a href="mailto:powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com">powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com
</a>] On Behalf Of<br>Syed Shahul Hameed Mustaffa<br>Sent: 18 December 2005 08:03<br>To: Glenn Baxter; <a href="mailto:Ken@langendock.com">Ken@langendock.com</a>; Joe Boyle<br>Cc: PowerHouse List<br>Subject: Re: Environment Variable question. QTP doesn't recognize
<br>env-variables<br><br>Thank you so much for all you tips and detailed explanations.<br><br>To see if PH is picking up the variable, I followed the way of Joe (which he<br>states one of his earliers mails).I connected to QTP from the cmd prompt
<br>and issued $set &lt;env-var name&gt; command. PH picks up the variable from here.<br><br>The issue actually seems to be what Ken is saying in his last mail. The<br>problem happens only with data load scripts. Logically it doesn't make any
<br>sense to me (probably because of my lack of indepth knowledge of PH<br>internals). With other qtps that are creating subfiles and quizs using these<br>subfiles, it doesn't give me any problem. I lately understood that I cannot
<br>use QTP or QUIZ interactively in the PRODUCTION machine, because I don't<br>have a development license.<br><br>Glenn! Are u asking me to call the set batch file just before I call the qtp<br>from a quick screen. In my case I'm streaming all these statements to SQL
<br>Server job manager (ie SQL SERVER AGENT) as a replacement solution for<br>powerfuljob scheduling functionality of MPEIX .<br><br>Regards,<br>SYED.<br><br>On 12/18/05, Glenn &lt;<a href="mailto:Glenn@baxterit.com.au">Glenn@baxterit.com.au
</a>&gt; wrote:<br>Hi Syed, Joe and others,<br><br>Like Syed {I think} I had set my environment variables at the server. I did<br>this from Control Panel etc. They are permanent.<br>I had only set PH_SUBF_LOC and not pathed any Qtp for the reload.
<br>I did not compile my reloads.<br>These reloads worked as PH_SBF_LOC is always &quot;known&quot; to PH if set.<br>The command files were executed AT the server, by double clicking from<br>explorer.<br><br>If I wasn't sure is a variable was/was not set I would simpley insert a
<br>&quot;set&quot; statement into by &quot;bat&quot; file and pipe it to a txt file eg<br><br>Set &gt; true_variables.txt<br><br>Insertthe command ahead of your Qtp reload statement. The file will be<br>created in the current directory - from where you are running the command.
<br>In this way you will at least be able to see if the variable does exist.<br><br>Remember: each server set variable is ONLY true at the server; so the<br>command file must be executed from the server; in the same way that NETD
<br>executes commands for you at the server {Thin Client}.<br><br>Let us know if you do see the variable.<br>What PH8 version are you running at the server?<br>Glenn Baxter<br>=======================<br>Baxter IT Solutions Pty Ltd
<br>e: <a href="mailto:glenn@baxterit.com.au">glenn@baxterit.com.au</a><br>=======================<br><br><br>-----Original Message-----<br>From: powerh-l-bounces+glenn=<a href="mailto:baxterit.com.au@lists.sowder.com">baxterit.com.au@lists.sowder.com
</a><br>[mailto: powerh-l-bounces+glenn=<a href="mailto:baxterit.com.au@lists.sowder.com">baxterit.com.au@lists.sowder.com</a>] On Behalf<br>Of Joe Boyle<br>Sent: Sunday, 18 December 2005 5:34 AM<br>To: 'Syed Shahul Hameed Mustaffa'
<br>Cc: 'PowerHouse List'<br>Subject: RE: Environment Variable question. QTP doesn't recognize<br>env-variables<br><br>I recall one other possibility, which is that Axiant has an option to<br>associate a command file with a given run profile; I would imagine that any
<br>environment settings created in it would be available to all processes<br>executed below it. Could it be that you have such a command file but it has<br>been changed by someone ?<br><br>Other than that I can't think of anything else, unless there is a bug in
<br>your qtp version which might be saving the envar translation at compile<br>time, rather than a pointer to it.<br><br>Could it be that you had a system level envar set at the time this code<br>worked, but don't have it set now ?
<br><br>A new cmd window will not see a user level envar so this must be the<br>explanation.Why is it they you cannot simply create a new system level<br>envvar ?<br><br>Regards, Joe.<br><br>________________________________________
<br>From: powerh-l-bounces+atla38= <a href="mailto:dsl.pipex.com@lists.sowder.com">dsl.pipex.com@lists.sowder.com</a><br>[mailto:<a href="mailto:powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com">powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com
</a>] On Behalf Of<br>Syed Shahul Hameed Mustaffa<br>Sent: 17 December 2005 15:27<br>To: Joe Boyle<br>Cc: PowerHouse List<br>Subject: Re: Environment Variable question. QTP doesn't recognize<br>env-variables<br><br>Thanks Joe for all your tips.
<br><br>The same code was working well before.<br>Why should it suddenly stop?<br>I don't have the option to change the code now.<br><br>Is there any PH configuration that might have affected the server?<br>Could any windows update cause this problem?
<br><br>Regards,<br>SYED.<br><br><br><br><br>On 12/17/05, Joe Boyle &lt;<a href="mailto:atla38@dsl.pipex.com">atla38@dsl.pipex.com</a>&gt; wrote:<br>please ignore the %%1 part, that is true of the 'for' command only;<br>parameters in command files are %1 to %8 and not %%1 to %%8.
<br><br>Regards, Joe.<br><br><br>-----Original Message-----<br>From: powerh-l-bounces+atla38=<a href="mailto:dsl.pipex.com@lists.sowder.com">dsl.pipex.com@lists.sowder.com</a><br>[mailto: powerh-l-bounces+atla38= <a href="mailto:dsl.pipex.com@lists.sowder.com">
dsl.pipex.com@lists.sowder.com</a>] On Behalf<br>Of Joe Boyle<br>Sent: 17 December 2005 10:03<br>To: 'Syed Shahul Hameed Mustaffa'<br>Cc: 'PowerHouse List'<br>Subject: RE: Environment Variable question. QTP doesn't recognize
<br>env-variables<br><br>Another alternative approach is to use a command file as follows, this way<br>you can set the value locally before executing the qtp,<br><br>Doqtp.cmd<br>Set PSLOC2=%%1<br>qtp dict=D:\HERDSPRD\Dictionary\hms.pdc
<br>auto=D:\HERDSPRD\RemoteBuild\test.qtc<br>exit<br><br>the powerhouse/axiant syntax would go like that below,<br><br>let t_path = &quot;string&quot;<br>let t_run_command = &quot;cmd /c d:\loc_path\ Doqtp.cmd &quot; + t_path run command
<br>t_run_command<br><br>The value in t_path will be passed to the script as parameter i.e. %1 of<br>possible %1 to %8 parameters. If you run the script locally you have to use<br>%1 only, if in batch use %%1 i.e. two percent signs.
<br><br><br>Regards, Joe.<br>________________________________________<br>From: powerh-l-bounces+atla38=<a href="mailto:dsl.pipex.com@lists.sowder.com">dsl.pipex.com@lists.sowder.com</a><br>[mailto: powerh-l-bounces+atla38= 
<a href="mailto:dsl.pipex.com@lists.sowder.com">dsl.pipex.com@lists.sowder.com</a>] On Behalf<br>Of Syed Shahul Hameed Mustaffa<br>Sent: 17 December 2005 05:26<br>To: Joe Boyle; <a href="mailto:Ken@langendock.com">Ken@langendock.com
</a><br>Cc: PowerHouse List<br>Subject: Re: Environment Variable question. QTP doesn't recognize<br>env-variables<br><br>Thanks Joe, Ken.<br><br>Joe! I checked #set.. from QTP. It is picking up the correct value. However<br>
when I attempt to run the qtp (cmd /c qtp.exe<br>dict=D:\HERDSPRD\Dictionary\hms.pdc auto=D:\HERDSPRD\RemoteBuild\test.qtc)<br>it fails with the following error message. But in development it is working<br>without any problem.
<br><br>============ ERROR MESSAGE ====================== Data access error.<br>File: $PSLOC2\alupdd<br>Action Taken: Run terminated.<br>-------------------------------------<br>No such file or directory (ERRNO 2)<br>File: $PSLOC2\alupdd
<br>-------------------------------------<br>Finished.<br>=================================================<br><br>Ken! This system environment variable is a permanant one (Created from<br>Windows MyComputer). The same code was working well before.
<br><br><br>Regards,<br>SYED.<br><br>On 12/16/05, Joe Boyle &lt;<a href="mailto:atla38@dsl.pipex.com">atla38@dsl.pipex.com</a>&gt; wrote:<br>Do you have embedded spaces in the path specified in your variable settings<br>?
<br><br>If you go into qtp, and type '$set spsloc2' do you see the correct path<br>displayed ?<br><br>do<br><br>Regards, Joe.<br>________________________________________<br>From: Syed Shahul Hameed Mustaffa [mailto: <a href="mailto:sshahulgm@gmail.com">
sshahulgm@gmail.com</a>]<br>Sent: 16 December 2005 18:06<br>To: PowerHouse List<br>Cc: Joe Boyle<br>Subject: Environment Variable question. QTP doesn't recongize env-variables<br><br>Dear Gurus,<br><br>Quick Intro: I've migrated a PH/MPEIX application to AXIANT4GL/PH4GL/WINDOWS
<br><br><br>(Thin Client).<br><br>I have qtps to load the MPEIX/PH data into the WINDOWS/PH.<br>I used environment variable to identify the location of the data files.<br><br>eg<br>set process<br>nolimit<br>request ONE<br>
acc *$PSLOC2\alupdd alias PS_ALPRO_UPDATE_D<br><br>BUILD SMALL_TABLES_1<br>;-------------------------------------<br>It was working well before. Last time I used these qtps to load my data.<br>Suddenly these qtps arenot working. Because PH doesn't recognize the
<br>environment variable.<br>I checked the environment variable. It is there and ok.<br>I recreated it and restarted the server too.<br>Still PH doesn't recognize the environment variable.<br>I tried changing the environment variable to another env-variable I'm using
<br>in other qtps. PH not recognizing this variable too.<br>I had to hardcode a path in all my data load qtps to make it work. (That<br>proves, there is nothing wrong with the data files).<br><br>What could have gone wrong?
<br>I'm using environment variables widely in my application.<br>If PH stops recognizing variables like this, it will be disaster.<br><br>Can anyone please help me in this? I'll appreciate.<br><br>Regards,<br>SYED<br><br>
<br><br><br><br>--<br>= = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list:<br><a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>Subscribe: &quot;subscribe&quot; in message body to 
<a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br>Unsubscribe: &quot;unsubscribe &amp;lt;password&amp;gt;&quot; in message body to<br><a href="mailto:powerh-l-request@lists.sowder.com">
powerh-l-request@lists.sowder.com</a><br><a href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>This list is closed, thus to post to the list you must be a subscriber.
<br><br><br><br>--<br>= = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list:<br><a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>Subscribe: &quot;subscribe&quot; in message body to 
<a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br>Unsubscribe: &quot;unsubscribe &amp;lt;password&amp;gt;&quot; in message body to<br><a href="mailto:powerh-l-request@lists.sowder.com">
powerh-l-request@lists.sowder.com</a><br><a href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>This list is closed, thus to post to the list you must be a subscriber.
<br><br><br>--<br>= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>Mailing list: <a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>Subscribe: &quot;subscribe&quot; in message body to <a href="mailto:powerh-l-request@lists.sowder.com">
powerh-l-request@lists.sowder.com</a><br>Unsubscribe: &quot;unsubscribe &amp;lt;password&amp;gt;&quot; in message body to<br><a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br><a href="http://lists.sowder.com/mailman/listinfo/powerh-l">
http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>This list is closed, thus to post to the list you must be a subscriber.<br><br><br><br>--<br>= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>Mailing list: 
<a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>Subscribe: &quot;subscribe&quot; in message body to <a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br>Unsubscribe: &quot;unsubscribe &amp;lt;password&amp;gt;&quot; in message body to
<br><a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br><a href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>This list is closed, thus to post to the list you must be a subscriber.
<br><br></blockquote></div><br>