<div><br></div><div><span>Nope. the blank line is actually not needed, since there are exactly as many individual values supplied as are prompted.</span><div><br></div><div>Simplifying, the following does not work:</div>
<div><br></div><div>Created a batch file, xyz.bat, and tried it:</div><div><br></div><blockquote><div><font face="courier new, monospace">C:\FOAMbin>type xyz.bat</font></div><div><font face="courier new, monospace">QTP</font></div>
<div><font face="courier new, monospace">; comment</font></div><div><font face="courier new, monospace">E</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">C:\FOAMbin>xyz.bat</font></div>
<div style="color:rgb(80,0,80)"><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">C:\FOAMbin>QTP</font></div><div><font face="courier new, monospace">IBM(R) Cognos(R) PowerHouse(R) 4GL 8.41G - QTP</font></div>
<div><font face="courier new, monospace">(C) Copyright IBM Corp. 1982, 2010</font></div><div><font face="courier new, monospace"><br></font></div></div><div><font face="courier new, monospace">> e ; I am typing the 'e' manually, since QTP is just waiting with a '>' prompt</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">C:\FOAMbin>comment</font></div><div><font face="courier new, monospace">'comment' is not recognized as an internal or external command,</font></div>
<div><font face="courier new, monospace">operable program or batch file.</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">C:\FOAMbin>E</font></div><div><font face="courier new, monospace">'E' is not recognized as an internal or external command,</font></div>
<div><font face="courier new, monospace">operable program or batch file.</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">C:\FOAMbin></font></div></blockquote>
<div><span style="line-height:6px"><br></span></div><span><font color="#888888"><div>Michel</div><div><br></div><div><br></div></font></span></div><br><br><div class="gmail_quote">
On Thu, Jun 7, 2012 at 5:09 PM, ken weiland <span dir="ltr"><<a href="mailto:ken_weiland@yahoo.com" target="_blank">ken_weiland@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
in your example you are doing the following<br>
I have done a lot of mbatch qtp and quiz files with no problems<br>
<br>
if seems you are calling a quiz routine inside a qtp routine<br>
then means you would need 2 exits are the end<br>
c:<br>
> cd \foambin<br>
> rem QTP auto=C:\FOAMbin\XFSPR20D < %PHTEMP%\FFSPARAM.dat<br>
-- calling qtp at this point<br>
> QTP<br>
> execute C:\FOAMbin\XFSPR20D<br>
> 02<br>
> @<br>
> @<br>
> @<br>
><br>
-- calling quiz at this point but have not exited the qtp process<br>
> execute C:\FOAMbin\XFSPR20Z<br>
<br>
this exits the quiz process that was started<br>
> exit<br>
<br>
-- you are calling a quiz routine while still withing the qtp call<br>
> QUIZ auto=C:\FOAMbin\XFSZR20Z<br>
-- your are now back to qtp routine<br>
<br>
-- question why are you running XFSPR20Z twice?<br>
<br>
<br>
let know if my thinking is correct<br>
- you commented out the qtp auto that would have started qtp and shut it down after it ran<br>
and now call qtp manually<br>
thus you have to add an exit qtp<br>
<br>
it looks like the batch stream is not correct<br>
qtp auto...<br>
quiz auto ...<br>
<br>
or<br>
<br>
qtp<br>
execute ....<br>
exit<br>
<br>
quiz<br>
execute ...<br>
exit<br>
<br>
or<br>
<br>
qtp<br>
execute .....<br>
<br>
quiz<br>
execute ....<br>
exit<br>
<br>
exit<br>
<br>
<br>
<br>
<br>
<br>
<br><br></blockquote></div>