Menu script

Richard D. Williams richard at appgrp.net
Mon Jan 3 14:17:36 PST 2005


Dennis,

Use the @MENU of msx.served addfile table to do EXISTS command on the 
questionable file, thenexit if it does not pass the test.
Do the same test on the import table using the @INIT. Also exit if it 
does not pass the test.

Richard D. Williams


Dennis Malen wrote:

> Happy & Healthy New Year to everyone!!!!!
>  
> The following menu script is currently being used:
>  
> /appl/fp/ddir msx.served -k                            
> /appl/fp/rclerk msx.served -s1 -z "addfile"            
> /appl/fp/rreport msx.served -f import -a -h "Import AOS"
> The first line deletes the data from the file and then goes on to 
> import new information into the file.
>  
> 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.
>  
> 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.
>  
> Dennis Malen
> 516.479.5912
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Filepro-list mailing list
>Filepro-list at lists.celestial.com
>http://mailman.celestial.com/mailman/listinfo/filepro-list
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20050103/a720ad0a/attachment.html


More information about the Filepro-list mailing list