<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.2666" name=GENERATOR><!--[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]--><o:SmartTagType 
namespaceuri="urn:schemas-microsoft-com:office:smarttags" 
name="City"></o:SmartTagType><o:SmartTagType 
namespaceuri="urn:schemas-microsoft-com:office:smarttags" 
name="place"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; COLOR: black; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
PRE {
        FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Courier New"
}
SPAN.EmailStyle19 {
        FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-GB vLink=blue link=blue bgColor=white>
<DIV dir=ltr align=left><SPAN class=097224108-01122006><FONT face=Arial 
color=#0000ff size=2>Would QTP have the solution build in?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=097224108-01122006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=097224108-01122006><FONT face=Arial 
color=#0000ff size=2>Using "output at final."</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=097224108-01122006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=097224108-01122006><FONT face=Arial 
color=#0000ff size=2>You should 'add' the items of the input file to a temporary 
item while processing. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=097224108-01122006><FONT face=Arial 
color=#0000ff size=2>You can then skip the final character as well (the 'comma') 
by only reporting the temp up to that final character (size - 
1).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=097224108-01122006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=097224108-01122006><FONT face=Arial 
color=#0000ff size=2>Mind you, I didn't try this it is just based on 
memory.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=097224108-01122006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=097224108-01122006><FONT face=Arial 
color=#0000ff size=2>Mark</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> 
  powerh-l-bounces+mark.debruin=tno.nl@lists.sowder.com 
  [mailto:powerh-l-bounces+mark.debruin=tno.nl@lists.sowder.com] <B>On Behalf Of 
  </B>fernando.olmos@hpa.com.au<BR><B>Sent:</B> Friday, December 01, 2006 
  00:56<BR><B>To:</B> atla38@dsl.pipex.com<BR><B>Cc:</B> 
  powerh-l@lists.sowder.com<BR><B>Subject:</B> RE: System variables from within 
  QUIZ<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><SPAN class=164235423-30112006><FONT face=Arial color=#0000ff size=2>Oh 
  and the result is a 1251 character long string, with the contents of the 
  portable subfile right justified. You then would have to left justify it in 
  QUIZ to get the line you need. OR you can do it within the AWK command using 
  sprintf() perhaps?</FONT></SPAN></DIV>
  <DIV><SPAN class=164235423-30112006><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=164235423-30112006><FONT face=Arial color=#0000ff 
  size=2>Thanks</FONT></SPAN></DIV>
  <DIV><SPAN class=164235423-30112006><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Fernando Olmos 
  <BR><B>Sent:</B> Friday, 1 December 2006 10:54 AM<BR><B>To:</B> 
  'atla38@dsl.pipex.com'<BR><B>Cc:</B> 
  'powerh-l@lists.sowder.com'<BR><B>Subject:</B> RE: System variables from 
  within QUIZ<BR></FONT></DIV>
  <DIV><SPAN class=851044823-30112006><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=851044823-30112006><FONT face=Arial color=#0000ff size=2>!cat 
  ./mipss156t2b.ps | awk '{printf("%1251s\n", $0)}' &gt; 
  ./mlink_file.dat<BR></FONT></SPAN></DIV>
  <DIV><SPAN class=851044823-30112006><FONT face=Arial color=#0000ff size=2>The 
  mipss156t2b.ps is the data portion of the portable subfile and the 
  mlink_file.dat is the file referenced by the dictionary record reference. The 
  '$0' is saying, what ever comes out of that CAT command, use it as a parameter 
  into the printf() function, via the AWK command.</FONT></SPAN></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV><PRE>**********************************************************************
IMPORTANT
The contents of this e-mail and its attachments are confidential and intended
solely for the use of the individual or entity to whom they are addressed.  If
you received this e-mail in error, please notify the HPA Postmaster, postmaster@hpa.com.au,
then delete  the e-mail.
This footnote also confirms that this e-mail message has been swept for the
presence of computer viruses by Ironport. Before opening or using any
attachments, check them for viruses and defects.
Our liability is limited to resupplying any affected attachments.
HPA collects personal information to provide and market our services. For more
information about use, disclosure and access see our Privacy Policy at
www.hpa.com.au
**********************************************************************
</PRE></BLOCKQUOTE>
<BR>
This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html<BR>
</BODY></HTML>