<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Dennis,<br>
<br>
Use the @MENU of msx.served addfile table to do EXISTS command on the
questionable file, thenexit if it does not pass the test.<br>
Do the same test on the import table using the @INIT. Also exit if it
does not pass the test.<br>
<br>
Richard D. Williams<br>
<br>
<br>
Dennis Malen wrote:<br>
<blockquote type="cite" cite="mid001f01c4f1df$19d691f0$96b21309@Dennis">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2800.1276" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Happy & Healthy New Year to
everyone!!!!!</font></div>
<div> </div>
<div><font face="Arial" size="2">The following menu script is
currently being used:</font></div>
<div> </div>
<div><font face="Arial" size="2">/appl/fp/ddir msx.served
-k <br>
/appl/fp/rclerk msx.served -s1 -z "addfile" <br>
/appl/fp/rreport msx.served -f import -a -h "Import AOS"<br>
</font></div>
<div><font face="Arial" size="2">The first line deletes the data from
the file and then goes on to import new information into the file.</font></div>
<div> </div>
<div><font face="Arial" size="2">I want to avoid having someone
request that the data should be removed accidentally. I want to place a
new first line that checks the file and determines whether it should be
deleted and then import the new info. The processing to check the file
is easy.</font></div>
<div> </div>
<div><font face="Arial" size="2">The problem is, if I do not want the
continue how do I avoid going to the next line. I can use "exit" from
the processing but that will take me to the next line. How do I go back
to the menu without continuing with the processing script if certain
criteria to continue have not been met.</font></div>
<div> </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>
<pre wrap="">
<hr width="90%" size="4">
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
</blockquote>
</body>
</html>