<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
depending upon the logic of the process, the lookup need only be done
once per key; instead of every time.<br>
<br>
This goes for every 'optional' statement.<br>
<br>
olav.<br>
<br>
Ken Langendock wrote:<br>
<blockquote
cite="mid002201cc72fb$e8283a50$b878aef0$@langendock@rogers.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (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]-->
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@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","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.emailquote, li.emailquote, div.emailquote
        {mso-style-name:emailquote;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:1.0pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Then
move whatever files are not required in the MASSIVE record complex into
an OUTPUT PHASE READ.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><br>
Assuming PROD-GROUP is simply a reference file to obtain some
description you can move it after the SORT statement and before your
SUBFILE like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">OUTPUT
PROD-GROUP &<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">
ADD &<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">
UPDATE &<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">
NOITEMS &<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">
IF 1 EQ 2 &<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">
VIA PROD-GR-CODE &<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);">
USING D-PROD-GR-CODE OF JD0221Z1 <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">This
will read the record at the output phase of each record, getting a nice
new record for each one…and will NOT make the record complex incredibly
large for the SORT statement to have to deal with<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Courier New"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Ken<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> Grace,
Ron (Chipping Sodbury) UK [<a class="moz-txt-link-freetext" href="mailto:Ron.Grace@hanson.biz">mailto:Ron.Grace@hanson.biz</a>] <br>
<b>Sent:</b> September 14, 2011 9:32 AM<br>
<b>To:</b> Ken Langendock<br>
<b>Subject:</b> [Bulk] RE: [Bulk] Powerhouse fatal error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: blue;">The
program is run uncompiled</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif"; color: blue;">The
piece of code runs ok in Quiz, but bombs in QTP</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div class="MsoNormal" style="text-align: center;" align="center">
<hr align="center" size="2" width="100%"></div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> Ken
Langendock [<a class="moz-txt-link-freetext" href="mailto:ken.langendock@rogers.com">mailto:ken.langendock@rogers.com</a>] <br>
<b>Sent:</b> 14 September 2011 14:31<br>
<b>To:</b> Grace, Ron (Chipping Sodbury) UK; <a class="moz-txt-link-abbreviated" href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>
<b>Subject:</b> RE: [Bulk] Powerhouse fatal error</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">I
get this all the time on windows.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Delete
the executable already out there and recompile.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">The
other option you can consider is moving the OPTIONAL linkages to OUTPUT
PHASE READS.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Ken<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";">
<a class="moz-txt-link-abbreviated" href="mailto:powerh-l-bounces+ken.langendock=rogers.com@lists.sowder.com">powerh-l-bounces+ken.langendock=rogers.com@lists.sowder.com</a>
[<a class="moz-txt-link-freetext" href="mailto:powerh-l-bounces+ken.langendock=rogers.com@lists.sowder.com">mailto:powerh-l-bounces+ken.langendock=rogers.com@lists.sowder.com</a>] <b>On
Behalf Of </b>Grace, Ron (Chipping Sodbury) UK<br>
<b>Sent:</b> September 14, 2011 9:23 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>
<b>Subject:</b> [Bulk] Powerhouse fatal error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">Afternoon
listers,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">I'm
running the following code on a HP3000 using MPEIX and after adding the
new file linkage at the bottom of the access statement it's started
bombing out. I checked the fields I'm linking and both are 2 characters
in length. PROD-GR-CODE is a key/index field of the SAPSCEZ9 subfile. I
have also checked the file equations for the subfiles and they all
exist and in the correct locations. Am I missing something obvious?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">Ron<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
REQUEST EXTRACT_DATA<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
ACCESS *JD0221Z1 &<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
LINK ("UN" + UNIT-CODE-X OF JD0221Z1) TO MQ-KEY OF MQ-TEXT OPTIONAL
&<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
LINK D-PROD-CODE OF JD0221Z1 TO PROD-CODE OF PRODUCTS OPTIONAL &<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
LINK D-DOC-NO TO AJ-NUMBER OF AJ-TOTAL OPTIONAL &<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
LINK AJ-KEY TO AJ-KEY OF AJ-DETAIL OPTIONAL &<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
LINK D-PROD-GR-CODE OF JD0221Z1 &<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
TO PROD-GR-CODE OF PROD-GROUP OPTIONAL &<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
LINK D-DELPNT-X TO DELPNT-CODE-X OF DELPNTS OPTIONAL &<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
LINK D-PROD-CODE OF JD0221Z1 TO PROD-CODE OF PRODUCTS-EXTRA OPTIONAL
&<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
LINK D-PROD-CODE OF JD0221Z1 TO PROD-CODE OF *SAPSCEZ8 OPTIONAL &<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
;A.01.005 Start<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
LINK D-PROD-GR-CODE OF JD0221Z1 TO PROD-GR-CODE OF &<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">>
*SAPSCEZ9 OPTIONAL<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">Code Trap :<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">
01634010227<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">
00003044033<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">
00000001442<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">
00000000017<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">*E* Memory
fault (invalid address).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";">*Fatal
Error* *1370* Notify Cognos Customer Support<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><u><span
style="font-family: "Arial","sans-serif"; color: silver;">
________________________________ </span></u><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 7.5pt; font-family: "Arial","sans-serif"; color: gray;">Each
of Hanson Aggregates, Hanson Aggregates UK, Hanson Bath & Portland
Stone, Hanson Construction Projects, Hanson Contracting, Hanson Premix,
Hanson Recycling, Ashbridge Concrete and Supamix is a trading name of
Hanson Quarry Products Europe Limited. Hanson Quarry Products Europe
Limited is a private limited company incorporated in England and Wales
with registered number 00300002 and with registered address Hanson
House, 14, Castle Hill, Maidenhead, Berkshire<br>
<br>
Hanson Quarry Products Europe Limited is a member of the
HeidelbergCement Group.</span><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><u><span
style="font-family: "Arial","sans-serif"; color: silver;">
________________________________ </span></u><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size: 7.5pt; font-family: "Arial","sans-serif"; color: gray;">This
e-mail and any attachment transmitted with it are confidential and are
intended for the named person’s use only. The contents of the e-mail
may contain sensitive and private or legally privileged information. If
you have received this e-mail in error, please delete it (and any
attachment) from your system and notify the sender immediately. You
should not retain, copy or print the contents of this e-mail (or any
attachment) nor should you, directly or indirectly, disclose or
distribute the contents to anyone.</span><span
style="font-size: 10pt; font-family: "Arial","sans-serif";"><o:p></o:p></span></p>
</div>
</div>
<pre wrap="">
<hr size="4" width="90%">
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: <a class="moz-txt-link-abbreviated" href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a>
Subscribe: 'subscribe' in message body to <a class="moz-txt-link-abbreviated" href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a>
Unsubscribe: 'unsubscribe &lt;password&gt;' in message body to <a class="moz-txt-link-abbreviated" href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a>
<a class="moz-txt-link-freetext" href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a>
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.</pre>
</blockquote>
</body>
</html>