home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 1299 
 Bj”rn Felten to All 
 Errorlevels 
 25 Nov 14 05:27:15 
 
I've always found it hard to understand the underlying thought behind the
original error levels from the old MakeNl. And it seems like we are trying to
maintain those even in our new version.

   Alas, let's try not to break any batch files from 20 years ago, but really?

     0  = Process mode - no errors encountered
     1  = Process mode - no fatal errors encountered
     2  = Process mode - one or more fatal errors encountered
     3  = Test mode - no errors encountered
     4  = Test mode - no fatal errors encountered
     5  = Test mode - one or more fatal errors encountered
   254  = MakeNL aborted - I/O error
   255  = MakeNL aborted - Control file error

   Why the separate, otherwise identical, levels for process mode and for test
mode?

   Anyway, we can leave that be -- even if I doubt that there are that many
systems out there that actually uses those error levels -- but one level I
would like is for "Unchanged output file will NOT be submitted".

   When eventually the output file is changed, I want to know, so I can delete
the old one (that at least for us in zone 2 has a different file extension on
a regional level) and hatch out the new one.

--- Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.1.16) Gecko/20101125
 * Origin: news://felten.yi.org (2:203/2)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca