<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<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> </DIV>
<DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff size=2>See
the "exists" function in fp. 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> </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> </DIV>
<DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=370481623-01122004><FONT face=Arial color=#0000ff
size=2>Scott</FONT></SPAN></DIV>
<DIV><SPAN class=370481623-01122004></SPAN> </DIV>
<DIV> </DIV>
<DIV> </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>scottw1@alltel.net<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>
filepro-list-bounces@lists.celestial.com
[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>
filepro-list@lists.celestial.com<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> </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> </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 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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2>Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV></BLOCKQUOTE></BODY></HTML>