<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 5.50.4943.400" name=GENERATOR></HEAD>
<BODY >
<DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>I
don't know how definitive this will be but let's nip this one in the bud before
it gets out of hand. If we're talking about buffers, then ALIAS and/or OPEN have
nothing to do with it. Every time you declare a FILE, you are declaring buffers
for that file. The FILE statement says that you want to access
(read/write/update/delete/whatever) a file and therefore need an area to do
that accessing. What ALIAS does is allow you to declare the same file more than
once because each declaration must have a unique name. Saying OPEN 1, assuming
the original was not 1, deals with the physical file opens, not the
buffers.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>Here's
an example:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>In PDL
you have:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>FILE A
ORG INDEXED</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>RECORD
A1</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006>...</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>RECORD
A2</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006>...</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>This
gives you two logical layouts for the same physical file. Let's say that the
layouts are the same for this example.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>Now
consider these QDESIGN statements:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>SCREEN
T1</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>FILE
A1 PRIMARY</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>FILE
A2 SECONDARY</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006>and</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>SCREEN
T2</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>FILE
A1 PRIMARY</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>FILE
A1 SECONDARY ALIAS A2</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=705234802-05012006>These
two screens would give the same results and each has the same
buffers.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=705234802-05012006>Bob</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
powerh-l-bounces+bob.deskin=cognos.com@lists.sowder.com
[mailto:powerh-l-bounces+bob.deskin=cognos.com@lists.sowder.com]<B>On Behalf
Of </B>Ken Langendock<BR><B>Sent:</B> January 4, 2006 5:51 PM<BR><B>To:</B>
powerh-l@lists.sowder.com<BR><B>Subject:</B> RE: Alias and
Buffering<BR><BR></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=053204722-04012006>John, I highly doubt that.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=053204722-04012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=053204722-04012006>If
I'm not mistaken, by saying "OPEN 1" on a file statement you cause quick
to open a separate buffer for that instance of the file. If your boss was
right, there would be no need for that OPEN statement. I believe you are
correct in saying the ALIAS is merely a tool for addressing a file under a
different name.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=053204722-04012006>Of
course the definitive answer has to come from the Man
himself...</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=053204722-04012006>Bob??? Your comments please.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=053204722-04012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=053204722-04012006>Oh
and BTW, I was a consultant from Cognos....many many years ago
too.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=053204722-04012006>Ken</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=053204722-04012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=053204722-04012006></SPAN></FONT> </DIV>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
powerh-l-bounces+ken.langendock=rogers.com@lists.sowder.com
[mailto:powerh-l-bounces+ken.langendock=rogers.com@lists.sowder.com] <B>On
Behalf Of </B>John Stires<BR><B>Sent:</B> January 4, 2006 5:18
PM<BR><B>To:</B> powerh-l@lists.sowder.com<BR><B>Subject:</B> Alias and
Buffering<BR><BR></FONT></DIV>
<DIV id=RTEContent>We had a lively discussion this morning concerning aliases
in Quick, QTP and QUIZ. At issue was the idea that if you use an ALIAS,
as in a file statement in QDESIGN, you cause the program to buffer the file
twice instead of once. My boss was pretty adamant that a consultant
from COGNOS was here some years ago and firmly told her about this extra
buffering. </DIV>
<DIV> </DIV>
<DIV>Can that be true? My thinking has always been that the ALIAS merely
caused a minor cross reference or name translation within the
program and nothing at all to do with file buffering or any other over
head.</DIV>
<DIV> </DIV>
<DIV>What is your say?</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV> </DIV>
<DIV>John Stires</DIV>
<DIV>Pencarver</DIV></BLOCKQUOTE></DIV>
<DIV> </DIV>
<DIV> This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. </DIV></BODY></HTML>