[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

381.0. "/BATCH=(NOTIFY) is always success in BL8?" by CRAYON::GENT (Party gone out of bounds -- B52's) Fri May 15 1987 10:26

    In the field test update, batch jobs report a success even if the
    job failed with a fatal error. (This is a change from BL7.) 
    For example, if I specify:
    
    	$ DOC/BATCH=(NOPRINT,NOTIFY) ...
    
    And the job generates the tag translator errors:
    
	%TAG-E-TAGNOTEND, at end-of-file on line 177 in file
    	   SYS$32T:[GENT]SDML_SLIDES.GNC;
    	   Tag <TABLE> from line 173 not terminated
	%TAG-F-ABORTFORE, at end-of-file on line 177 in file
    	   SYS$32T:[GENT]SDML_SLIDES.GNC;
    	   Processing terminates at this point.
    	   There have been more than 0 error messages of severity level E

    I receive a message that the job completed successfully. Previously,
    BL7 would signal the error NOMSG, which although uninformative did
    at least indicate there was a problem.
    
    --Andrew
T.RTitleUserPersonal
Name
DateLines
381.1Now that you mention it ...ATLAST::BOUKNIGHTEverything has an outlineFri May 15 1987 11:307
    The message "There have been more than 0 error messages ..." seems
    a bit strange.  Will it ever say "more than 27 error messages" or
    does it always say 0? Sounds like convoluted English to me. Far
    better would be to say "There were Severe or Fatal errors and
    processing will not continue beyond this point."
    
    jack
381.2plannin aheaVAXUUM::KOHLBRENNERFri May 15 1987 14:586
    SOMEBODY is going to request the ability to set the number
    of "acceptable" E-level messages greater than 0, so then the
    message will say "There have been more than nn messages of
    severity E".  Every other language product lets you fiddle
    with the number of messages of W and E severity, so we planned
    ahead to that day...
381.3TOPDOC::HIDERPaul HiderSun May 24 1987 20:2913
 
  This note seems to have drifted off the rather serious problem 
  outlined in 381.0.  Namely, that in BL8 there is no indication in
  the notification message that a job failed, whereas in BL7 the
  notification would indicate failure.

  Since we insist that our numerous DOCUMENT users use batch for
  their documents this is a serious setback for us.

  Please could someone address this issue!!

    ..Paul

381.4a specific caseTOPDOC::HIDERPaul HiderTue May 26 1987 21:3222
 
  hmm..  It looks as though I may have been a little premature here,
  my apologies.  As it would happen my first test showed up the problem.

  The following profiles illustrate the problem as I experienced it.

  The following profile, when DOC/BAT'd, exits with success status.

	<profile>
	<contents_file>
	<element>(nonexistant_file.gnc)
	<endprofile>

  The following profile, when DOC/BAT'd, exits with error status.

	<profile>
	<element>(nonexistant_file.gnc)
	<endprofile>

  In both cases "nonexistant_file.gnc" should NOT exist.

    ..Paul
381.5see 418.1CLOSET::ANKLAMMon Jun 01 1987 14:044
    
    see 418.1. I think this is the same problem.
    
    
381.6DOC-F-MSG, message text ?RDCV01::FSLRob Aldridge, FSL/BACISWed Aug 19 1987 19:1217
    (this "kinda" relates back to the base note)
    
    How does one enable the displaying of the message text from
    failed batch jobs?
    
    
    That is to say, if I use
    			"$ DOCUMENT /BATCH=(NOTIFY) ..."

    how do I get something more informative than
    			"Job DOC$XX terminated with error status,  "
    			"%NONAME-F-NOMSG, Message number nnnnnnnnnn"
    
    to display on my terminal when the job fails?
    
    
    -Rob-
381.7will look into some kind of solution for future...VAXUUM::PELTZ�lvynstar Dun�dainThu Aug 20 1987 15:3819
>    how do I get something more informative than
>    			"Job DOC$XX terminated with error status,  "
>    			"%NONAME-F-NOMSG, Message number nnnnnnnnnn"
>    
>    to display on my terminal when the job fails?
    

         This is a bug within the SUBMIT command (which document
         uses.)  If the error message returned with a DOC-F message
         status, then SUBMIT cannot expand the message since it
         is not in the system message file.  
         
         If you look in your log file you will see exactly what
         the error message was since DOCUMENT knows how to expand
         its own messages.
         
         Chris