<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks to Scott and Faisal. Tthe "exists" command 
should do it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks so much!!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Dennis</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=scottw1@alltel.net href="mailto:scottw1@alltel.net">Scott Walker</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=dmalen@malen.com 
  href="mailto:dmalen@malen.com">'Dennis Malen'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A 
  title=filepro-list@lists.celestial.com 
  href="mailto:filepro-list@lists.celestial.com">Filepro_List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 01, 2004 6:17 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: identify existence of an 
  ascii file in a directory</DIV>
  <DIV><FONT face=Arial size=2></FONT><BR></DIV>
  <DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff 
  size=2>Dennis,</FONT></SPAN></DIV>
  <DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff size=2>See 
  the "exists" function in fp.&nbsp; It seems like it will give you exactly what 
  you're looking for.</FONT></SPAN></DIV>
  <DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff 
  size=2>Regards,</FONT></SPAN></DIV>
  <DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff 
  size=2>Scott</FONT></SPAN></DIV>
  <DIV><SPAN class=370481623-01122004></SPAN>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV><!-- Converted from text/plain format -->
  <P><FONT size=2>Scott Walker<BR>RAM Systems Corp<BR>Ph: (704) 896-6549<BR>Fx: 
  (704) 896-7458<BR><A 
  href="mailto:scottw1@alltel.net">scottw1@alltel.net</A><BR><BR></FONT></P>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
    face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> <A 
    href="mailto:filepro-list-bounces@lists.celestial.com">filepro-list-bounces@lists.celestial.com</A> 
    [mailto:filepro-list-bounces@lists.celestial.com] <B>On Behalf Of </B>Dennis 
    Malen<BR><B>Sent:</B> Wednesday, December 01, 2004 6:09 PM<BR><B>To:</B> <A 
    href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</A><BR><B>Subject:</B> 
    identify existence of an ascii file in a directory<BR><BR></FONT></DIV>
    <DIV><FONT face=Arial size=2>I would like to do the following:</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>I want to add a header to an ascii file using 
    the export command. I have no problem doing it on the creation of the file 
    but this file will be exported to daily until it gets to a certain size, at 
    which time it will be removed.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>As an export statement can easily append to the 
    file once it is in existence, I want to know if the file is there each time 
    I start to export. If not&nbsp;processing will then create the header (which 
    is a one time event in the life of this file). Once created then I can 
    export to the file without having to initiate sending the 
    header.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Question: How can I determine that the file 
    does or does not exist. Important point: This should not be visual as the 
    processing has to be able to tell if its there and do its job. It must be 
    automated and part of the processing.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Can anyone help me or put me in the right 
    direction. I am on 4.8.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Thanks!</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Dennis Malen</FONT></DIV>
    <DIV><FONT face=Arial size=2>516.479.5912</FONT></DIV>
    <DIV><FONT face=Arial 
size=2></FONT>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>