Ken replied as well that it doesn&#39;t work.<div><br></div><div>Can I get a definitive answer from the folks at Cognos, about the example on page 138? I include it below. Is it flat out wrong, or are there magic parameters that would make it work?</div>

<div><br></div><div><div>Windows:</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="courier new, monospace">QTP</font></div></div><div><div><font face="courier new, monospace">SET DICTIONARY MYDICT</font></div>

</div><div><div><font face="courier new, monospace">ACCESS FILEA</font></div></div><div><div><font face="courier new, monospace">CHOOSE FIELDA PARM</font></div></div><div><div><font face="courier new, monospace">SUBFILE FILEB KEEP INCLUDE FILEA</font></div>

</div><div><div><font face="courier new, monospace">GO</font></div></div><div><div><font face="courier new, monospace">10</font></div></div><div><div><font face="courier new, monospace">EXIT</font></div></div></blockquote>

<div><br></div><div>On the same page are example with VMS and Unix, which all seem to imply a behaviour similar to that of a 3000 JOB.</div><div><br></div><div>The paragraph on page 137 seems pretty clear:</div><div><br>
</div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><b>Submitting Jobs as Text Files</b></div></div><div><div>The text file that you create for your batch job must include execution-time values (responses) for</div>

</div><div><div>all CHOOSE, DEFINE, and GLOBAL TEMPORARY statement prompts. These values are placed</div></div><div><div>in the file starting on the line below the GO statement (or the EXECUTE statement, if compiled</div>

</div><div><div>reports or runs are used).</div></div><div><br></div></blockquote><div><br></div>Should this not work?????<div><br></div><div>Michel<br><div><br><div class="gmail_quote">On Thu, Jun 7, 2012 at 12:00 PM, Brian Stephens <span dir="ltr">&lt;<a href="mailto:bws001@gmail.com" target="_blank">bws001@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF"><div>Windows does read data from the batch file.  After it executes a command  it expects it to go away and do its thing.  Next line in the batch file is the next command it will execute. <br>

<br>Sent from my iPhone </div><div><div class="h5"><div><br>On 2012-06-07, at 12:34, Michel Adam &lt;<a href="mailto:michel.adam@gmail.com" target="_blank">michel.adam@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite">

<div>Sorry, that should have been page 137 to 139, especially the example on page 139.<div><br></div><div>Michel<br><br><div class="gmail_quote">On Thu, Jun 7, 2012 at 11:28 AM, Michel Adam <span dir="ltr">&lt;<a href="mailto:michel.adam@gmail.com" target="_blank">michel.adam@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi listers,<div><br></div><div>trying to run a batch file and have QTP prompt for a few parameters (after RTFM the QTP manual, page 137).</div>



<div><br></div><div>QTP will just stop cold and prompt without reading the parameters. What am I missing?</div>
<div><br></div><div><br></div><div>The bat file is:</div><div><br></div><div><br></div><div><div><font face="courier new, monospace" size="4">c:</font></div><div><font face="courier new, monospace" size="4">cd \foambin</font></div>




<div><font face="courier new, monospace" size="4">rem QTP auto=C:\FOAMbin\XFSPR20D &lt; %PHTEMP%\FFSPARAM.dat</font></div><div><font face="courier new, monospace" size="4">QTP</font></div><div><font face="courier new, monospace" size="4">execute C:\FOAMbin\XFSPR20D</font></div>




<div><font face="courier new, monospace" size="4">02</font></div><div><font face="courier new, monospace" size="4">@</font></div><div><font face="courier new, monospace" size="4">@</font></div><div><font face="courier new, monospace" size="4">@</font></div>




<div><font face="courier new, monospace" size="4"><br></font></div><div><font face="courier new, monospace" size="4">execute C:\FOAMbin\XFSPR20Z</font></div><div><font face="courier new, monospace" size="4">exit</font></div>




<div><font face="courier new, monospace" size="4">QUIZ auto=C:\FOAMbin\XFSZR20Z</font></div></div><div><br></div><div><br></div><div><br></div><div>The &#39;rem&#39; statement is from a prior attempt, which works, of having QTP execute the run and get the values for the prompts from a file (FFSPARAM.dat).</div>




<div><br></div><div><br></div><div>when testing, the results are:</div><div><br></div><div>--------------</div><div><br></div><div><div><font face="courier new, monospace" size="4">Microsoft Windows [Version 6.1.7601]</font></div>




<div><font face="courier new, monospace" size="4">Copyright (c) 2009 Microsoft Corporation.  All rights reserved.</font></div><div><font face="courier new, monospace" size="4"><br></font></div><div><font face="courier new, monospace" size="4">G:\&gt;c:</font></div>




<div><font face="courier new, monospace" size="4"><br></font></div><div><font face="courier new, monospace" size="4">C:\&gt;cd foambin</font></div><div><font face="courier new, monospace" size="4"><br></font></div><div><span style="font-family:&#39;courier new&#39;,monospace;font-size:large">C:\FOAMbin&gt;dir jfsrp20a.bat</span></div>




<div><font face="courier new, monospace" size="4"> Volume in drive C has no label.</font></div><div><font face="courier new, monospace" size="4"> Volume Serial Number is 8C96-214D</font></div><div><font face="courier new, monospace" size="4"><br>




</font></div><div><font face="courier new, monospace" size="4"> Directory of C:\FOAMbin</font></div><div><font face="courier new, monospace" size="4"><br></font></div><div><font face="courier new, monospace" size="4"><a href="tel:2012-06-07%20%C2%A011" value="+12012060711" target="_blank">2012-06-07  11</a>:15               264 JFSRP20A.bat</font></div>




<div><font face="courier new, monospace" size="4">               1 File(s)            264 bytes</font></div><div><font face="courier new, monospace" size="4">               0 Dir(s)   1,863,245,824 bytes free</font></div>




<div><font face="courier new, monospace" size="4"><br></font></div><div><font face="courier new, monospace" size="4">C:\FOAMbin&gt;jfsrp20a</font></div><div><font face="courier new, monospace" size="4"><br></font></div><div>




<font face="courier new, monospace" size="4">C:\FOAMbin&gt;c:</font></div><div><font face="courier new, monospace" size="4"><br></font></div><div><font face="courier new, monospace" size="4">C:\FOAMbin&gt;cd \foambin</font></div>




<div><font face="courier new, monospace" size="4"><br></font></div><div><font face="courier new, monospace" size="4">C:\FOAMbin&gt;rem QTP auto=C:\FOAMbin\XFSPR20D &lt; C:\Users\madam\AppData\Local\PHTemp</font></div><div>




<font face="courier new, monospace" size="4">\FFSPARAM.dat</font></div><div><font face="courier new, monospace" size="4"><br></font></div><div><font face="courier new, monospace" size="4">C:\FOAMbin&gt;QTP</font></div><div>




<font face="courier new, monospace" size="4">IBM(R) Cognos(R) PowerHouse(R) 4GL  8.41G - QTP</font></div><div><font face="courier new, monospace" size="4">(C) Copyright IBM Corp. 1982, 2010</font></div><div><font face="courier new, monospace" size="4"><br>




</font></div><div><font face="courier new, monospace" size="4">&gt;</font></div><div><br></div></div><div>------------</div><div><br></div><div>and that is it. QTP just stops there and waits for input.</div><div><br></div>




<div>Is page 137 of the QPT reference manual accurate?</div><span><font color="#888888"><div><br></div><div>Michel Adam</div><div><a href="mailto:michel.adam@gmail.com" target="_blank">michel.adam@gmail.com</a></div>


</font></span></blockquote></div><br></div>
</div></blockquote></div></div><span class="HOEnZb"><font color="#888888"><blockquote type="cite"><div><span>--</span><br><span>= = = = = = = = = = = = = = = = = = = = = = = = = = = =</span><br><span>Mailing list: <a href="mailto:powerh-l@lists.sowder.com" target="_blank">powerh-l@lists.sowder.com</a></span><br>

<span>Subscribe: &#39;subscribe&#39; in message body to <a href="mailto:powerh-l-request@lists.sowder.com" target="_blank">powerh-l-request@lists.sowder.com</a></span><br><span>Unsubscribe: &#39;unsubscribe &amp;lt;password&amp;gt;&#39; in message body to <a href="mailto:powerh-l-request@lists.sowder.com" target="_blank">powerh-l-request@lists.sowder.com</a></span><br>

<span><a href="http://lists.sowder.com/mailman/listinfo/powerh-l" target="_blank">http://lists.sowder.com/mailman/listinfo/powerh-l</a></span><br><span>This list is closed, thus to post to the list you must be a subscriber.</span><br>

<span>Add &#39;site:<a href="http://lists.sowder.com" target="_blank">lists.sowder.com</a> powerh-l&#39; to your search terms to search the list archive at Google.</span></div></blockquote></font></span></div></blockquote>

</div><br></div></div>