<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Richard,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I can't find @init in laura's quick reference or
the manual.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Where is it and what does it do?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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=richard@appgrp.net href="mailto:richard@appgrp.net">Richard D.
Williams</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@lists.celestial.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 03, 2005 5:17
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Menu script</DIV>
<DIV><BR></DIV>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 cite=mid001f01c4f1df$19d691f0$96b21309@Dennis type="cite">
<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></BLOCKQUOTE></BODY></HTML>