<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]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[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;}
@font-face
        {font-family:sans-serif;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"AR Sans Serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Andrew,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>First let me say how *<b><span
style='font-weight:bold'>shocked</span></b>* I am to see an AS/400 question on
the list. It has been so long, and sadly a dying breed.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I would venture that the UserSpace objects
get created in QTEMP. So, if you’re running your QTP interactively,
you might be able to view them. Now, viewing UserSpace objects is not as
easy as DSPPFM (Display Physical File Member);you’ll have to use an API
to do that.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Is there a failure in your QTP?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span 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 style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> powerh-l-bounces+dmielke=aic.com@lists.sowder.com
[mailto:powerh-l-bounces+dmielke=aic.com@lists.sowder.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Andrew.Tymm@computacenter.com<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, June 13, 2007
11:18 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> How to locate scratch (intermediate)
files created by QTP on iSeries (AS/400)</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
</span></font><font size=2 face=sans-serif><span style='font-size:10.0pt;
font-family:sans-serif'>Hi</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>We've
received a fix for our "dictionary is locked for update" error but
have been informed it introduces the following error in QTP :-</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span></font>
<br>
<font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:blue'>Here is an explanation of the possible scenario which can
cause QTP to abort...</span></font> <br>
<font size=2 color=blue face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:blue'><br>
When QTP creates a scratch file it creates a series of UserSpace objects which
have a limit of 16MB. If the scratch file is larger <br>
than 16MB then QTP creates a linked list of the UserSpace objects.
However when creating the linked lists it might <br>
miscalculate when to link two user spaces together. The miscalculation
would vary depending on the record size and the number of <br>
records being processed. For some record sizes the problem would never
occur. </span></font> <br>
<font size=2 color=blue face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:blue'><br>
So the problem would arise if <br>
1. QTP need to create a scratch file.</span></font> <font size=2
color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'><br>
2. The record size and the number of records cause the miscalculation to
occur. Unfortunately, there are no specific details.</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span></font>
<br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>Does
anybody know how to locate/read the scratch files on iSeries/AS400 so we can
analyze the impact of this "feature"?</span></font> <br>
<br>
<font size=2 face="AR Sans Serif"><span style='font-size:10.0pt;font-family:
"AR Sans Serif"'>Regards </span></font><o:p></o:p></p>
<p><b><font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial;
font-weight:bold'>Andrew Tymm<br>
Senior Analyst/Programmer / DBA</span></font></b> <o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>**********************************************************************</span></font><o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>COMPUTACENTER
PLC is registered in <st1:country-region w:st="on">England</st1:country-region>
and <st1:country-region w:st="on"><st1:place w:st="on">Wales</st1:place></st1:country-region>
with the registered number 03110569. Its registered office is at <st1:place
w:st="on"><st1:PlaceName w:st="on">Hatfield</st1:PlaceName> <st1:PlaceName
w:st="on">Business</st1:PlaceName> <st1:PlaceType w:st="on">Park</st1:PlaceType></st1:place>,
<st1:Street w:st="on"><st1:address w:st="on">Hatfield Avenue</st1:address></st1:Street>,
Hatfield, Hertfordshire AL10 9TW</span></font><o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>COMPUTACENTER
(UK) Limited is registered in <st1:country-region w:st="on">England</st1:country-region>
and <st1:country-region w:st="on"><st1:place w:st="on">Wales</st1:place></st1:country-region>
with the registered number 01584718. Its registered office is at <st1:place
w:st="on"><st1:PlaceName w:st="on">Hatfield</st1:PlaceName> <st1:PlaceName
w:st="on">Business</st1:PlaceName> <st1:PlaceType w:st="on">Park</st1:PlaceType></st1:place>,
<st1:Street w:st="on"><st1:address w:st="on">Hatfield Avenue</st1:address></st1:Street>,
Hatfield, Hertfordshire AL10 9TW </span></font><o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>The
contents of this email are intended for the named addressee only.</span></font><o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>It
contains information which may be confidential and which may also be
privileged.</span></font><o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>Unless
you are the named addressee (or authorised to receive mail for the addressee)
you may not copy or use it, or disclose it to anyone else.</span></font><o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>If
you receive it in error please notify us immediately and then destroy it.</span></font><o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>Computacenter
information is available from:</span></font><o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>http://www.computacenter.com</span></font><o:p></o:p></p>
<p><font size=1 face=Arial><span style='font-size:8.0pt;font-family:Arial'>**********************************************************************</span></font><o:p></o:p></p>
</div>
</body>
</html>