<!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>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Sequentially Retreiving an Indexed file in the order they were inserted</TITLE>

<META content="MSHTML 6.00.2900.2873" 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 
downloadurl="http://www.5iamas-microsoft-com:office:smarttags" name="City" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
downloadurl="http://www.5iantlavalamp.com/" name="place" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: Trebuchet MS;
}
@page Section1 {size: 8.5in 11.0in; margin: .7in .7in .7in .7in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
        FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: "Courier New"; TEXT-DECORATION: none; mso-style-type: personal
}
SPAN.EmailStyle19 {
        FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: "Courier New"; TEXT-DECORATION: none; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
OL {
        MARGIN-BOTTOM: 0in
}
UL {
        MARGIN-BOTTOM: 0in
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=874213718-02052006><FONT face="Lucida Sans Unicode" 
color=#0000ff size=2>RMS stores data records in an indexed file according to the 
primary key value.</FONT></SPAN></DIV>
<DIV><SPAN class=874213718-02052006><FONT face="Lucida Sans Unicode" 
color=#0000ff size=2>If you need to access them in a different sequence you'll 
have to add a key or sort them on some data field(s) that represent the sequence 
you want.</FONT></SPAN></DIV>
<DIV><SPAN class=874213718-02052006><FONT face="Lucida Sans Unicode" 
color=#0000ff size=2>If you have timestamp information stored in the data 
records, eg, then you have the possibility of creating a new index using these 
fields.</FONT></SPAN></DIV>
<DIV><SPAN class=874213718-02052006><FONT face="Lucida Sans Unicode" 
color=#0000ff size=2>If there is no such information then this is just not 
possible.</FONT></SPAN></DIV>
<P><FONT face="Times New Roman">Ingemar Olson</FONT> <BR><FONT 
face="Times New Roman">Dairyland IT Department, Sperling&nbsp;&nbsp;</FONT> 
<BR><B><FONT face=Garamond size=5>S</FONT><FONT face=Garamond 
size=4>APUTO</FONT> <FONT face=Arial size=1>FOODS LIMITED</FONT></B> </P>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
size=2>-----Original Message-----<BR><B>From:</B> 
powerh-l-bounces+iolson=saputo.com@lists.sowder.com 
[mailto:powerh-l-bounces+iolson=saputo.com@lists.sowder.com]<B>On Behalf Of 
</B>Tremblay.Pierre-McLeod@hydro.qc.ca<BR><B>Sent:</B> May 2, 2006 
11:35<BR><B>To:</B> powerh-l@lists.sowder.com<BR><B>Subject:</B> RE: 
Sequentially Retreiving an Indexed file in 
theordertheywereinserted<BR><BR></FONT></DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN 
class=498042618-02052006>Roger,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN 
class=498042618-02052006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN 
class=498042618-02052006>I will try it but I have little 
hope.</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN 
class=498042618-02052006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN 
class=498042618-02052006>I just converted the file to a sequential one using 
convert file/fdl....</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN 
class=498042618-02052006>And still, records are presented the way of the former 
primary index.</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN 
class=498042618-02052006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN 
class=498042618-02052006>Pierre</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN 
class=498042618-02052006></SPAN></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Message d'origine-----<BR><B>De&nbsp;:</B> Roger Kesterson 
  [mailto:Roger.Kesterson@mtdproducts.com]<BR><B>Envoyé&nbsp;:</B> 2 mai 2006 
  14:23<BR><B>À&nbsp;:</B> Tremblay, Pierre McLeod<BR><B>Objet&nbsp;:</B> RE: 
  Sequentially Retreiving an Indexed file in the 
  ordertheywereinserted<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">Actually, I 
  guess you wouldn't even need to use a logical, you could just use the same VMS 
  file spec for the sequential file as for the indexed 
  one...<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <DIV>
  <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
  face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
  <HR tabIndex=-1 align=center width="100%" SIZE=2>
  </SPAN></FONT></DIV>
  <P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
  style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
  face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Roger 
  Kesterson <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, May 
  02, 2006 11:18 AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> 
  'Tremblay.Pierre-McLeod@hydro.qc.ca'<BR><B><SPAN 
  style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: Sequentially Retreiving an 
  Indexed file in the ordertheywereinserted</SPAN></FONT><o:p></o:p></P></DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><FONT 
  face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">Pierre</SPAN></FONT></st1:City></st1:place><FONT 
  face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">,<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">I think what 
  Joe was getting at is to define a sequential file in PowerHouse and point it 
  to the indexed file using a logical.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">I 
  think...<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">Regards,<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">Roger 
  Kesterson<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <DIV><FONT face="Trebuchet MS" 
size=2></FONT>&nbsp;</DIV></DIV></BLOCKQUOTE></BODY></HTML>