<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Ideas on how to pass parms to QTP from QUICK</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Tahoma;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-AU link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>Hi Fernando, <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>It&#8217;s an old problem isn&#8217;t it?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>What about placing the screen temps etc in
a USER_VARIABLES record written to from the screen &#8211; if you have one, and
linking to that/those record/s from the Qtp run.<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><strong><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue'>Sincerely</span></font></b></strong><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=blue face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:blue'>Glenn Baxter</span></font></b></strong><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=1 color=teal face=Tahoma><span
style='font-size:7.5pt;font-family:Tahoma;color:teal'>=======================</span></font></b></strong><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=gray face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:gray'>Baxter IT Solutions Pty
Ltd</span></font></b></strong><font color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=1 color=gray face=Tahoma><span
style='font-size:7.5pt;font-family:Tahoma;color:gray'>456 <st1:State w:st="on">Victoria</st1:State>
Parade, <st1:place w:st="on">East Melbourne</st1:place></span></font></b></strong><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><strong><b><font
  size=1 color=gray face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma;
  color:gray'>Victoria</span></font></b></strong></st1:City><strong><b><font
 size=1 color=gray face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma;
 color:gray'>, <st1:country-region w:st="on">Australia</st1:country-region></span></font></b></strong></st1:place><strong><b><font
size=1 color=gray face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma;
color:gray'> 3002</span></font></b></strong><font color=blue><span
style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=1 color=gray face=Tahoma><span
style='font-size:7.5pt;font-family:Tahoma;color:gray'>p: 03-9415-8733</span></font></b></strong><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=1 color=gray face=Tahoma><span
style='font-size:7.5pt;font-family:Tahoma;color:gray'>m: 0412-826-503</span></font></b></strong><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=1 color=gray face=Tahoma><span
style='font-size:7.5pt;font-family:Tahoma;color:gray'>f: 03-9415-8911</span></font></b></strong><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=1 color=gray face=Tahoma><span
style='font-size:7.5pt;font-family:Tahoma;color:gray'>e:</span></font></b></strong><strong><b><font
size=1 color=teal face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma;
color:teal'> </span></font><font color=teal><span style='color:teal'><a
href="BLOCKED::mailto:glenn@baxterit.com.au"
title="mailto:glenn@baxterit.com.au"><font size=1 face=Tahoma
title="mailto:glenn@baxterit.com.au"><span style='font-size:7.5pt;font-family:
Tahoma'>glenn@baxterit.com.au</span></font></a></span></font></b></strong><font
color=blue><span style='color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=1 color=teal face=Tahoma><span
style='font-size:7.5pt;font-family:Tahoma;color:teal'>=======================</span></font></b></strong><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
fernando.olmos@hpa.com.au [mailto:fernando.olmos@hpa.com.au] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, 21 September 2005
9:25 AM<br>
<b><span style='font-weight:bold'>To:</span></b> powerh-l@lists.sowder.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> Ideas on how to pass
parms to QTP from QUICK</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Anyone
have a good programming model on how to call a QTP program from within QUICK,
but passing to it parameters (temporaries) from the calling QUICK program?</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>The
preferred method I used to get around this, was by using a &quot;special&quot;<b><span
style='font-weight:bold'> PH dictionary record</span></b> that would write text
to a DAT file. I would then rename the DAT file to BAT or COM (in VMS land) to
run the batch script. Effectively the program was building a batch script
on-line and submitting it into the queue to run.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>ie:</span></font>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Record: PASSTHRUREC</span></font> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Schema:
TEXTLINE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x(255)</span></font> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>In
quick I would have a program that would simply</span></font><b><span
style='font-weight:bold'> </span></b><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>let TEXTLINE =
&quot;do script command&quot;</span></font></b> <font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>and then I would use the RUN COMMAND
to call the appropriate batch submit command (in UNIX it's &quot;at&quot;, in
VMS it's SUBMIT).</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Unfortunately,
in my new role, management won't allow me to go this way (we don't have the PH
Architect license !!) so I need to look for alternatives. I was hoping I could
use the run command with some sort of parm passing via the QTP command, but
there is no parms that allow you to pass a value into the called QTP program.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
hope this is not too confusing.</span></font> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thanks
in advance.</span></font> <o:p></o:p></p>

<p><i><font size=4 color=blue face=Arial><span style='font-size:13.5pt;
font-family:Arial;color:blue;font-style:italic'>Fernando Olmos</span></font></i>
<br>
<b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;
font-weight:bold'>M.I.S.</span></font></b> <o:p></o:p></p>

<p><b><font size=2 color=blue face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:blue;font-weight:bold'>HPA</span></font></b><font
face=Arial><span lang=EN-US style='font-family:Arial'><br>
</span></font><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>Direct:&nbsp; 03 9217 5411</span></font><span
lang=EN-US><br>
</span><st1:City w:st="on"><st1:place w:st="on"><font size=2 color=black
  face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Mobile</span></font></st1:place></st1:City><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'>: 0410&nbsp;382&nbsp;857</span></font><font face=Arial><span
lang=EN-US style='font-family:Arial'><br>
</span></font><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>Fax:&nbsp;&nbsp; &nbsp; 03 9217 5716</span></font>
<o:p></o:p></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><a
href="file:///H:\Appdata\Microsoft\Signatures\www.hpa.com.au"><b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial;font-weight:bold'>www.hpa.com.au</span></font></b></a>
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>