Menu script
Dennis Malen
dmalen at malen.com
Mon Jan 3 15:33:01 PST 2005
Richard,
I can't find @init in laura's quick reference or the manual.
Where is it and what does it do?
Dennis
----- Original Message -----
From: Richard D. Williams
To: Dennis Malen
Cc: filepro-list at lists.celestial.com
Sent: Monday, January 03, 2005 5:17 PM
Subject: Re: Menu script
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/2b641072/attachment.html
More information about the Filepro-list
mailing list