[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

664.0. "Eliminating "noise" from batch log files" by CASEE::CLARK (Ward Clark) Wed Jul 15 1987 09:50

    When DOCUMENT/BATCH is specified, a batch job similar to the following
    is created and submitted:

	$ verify_context = 'f$verify(1)' ! SYS$SCRATCH:DOC$SAMPLE.TMP - Start
	$ d = "document"
	$ set = "set"
	$ set noon
	$ set default device:[directory]
	$ D /BATCH SAMPLE REPORT LN03
	$ exit ($status + (0 * f$verify(verify_context))) ! SYS$SCRATCH:DOC$SAMPLE.TMP - End

    The resulting batch log file contains every line of this temporary
    file.  It seems to me that most of these lines are "noise" (extraneous
    information).

    Changing the temporary file to the following would eliminate the noise,
    leaving only the indicated lines in the batch log.

	$ document = "document"
	$ set = "set"
	$ set noon
	$ verify_context = f$verify(1)
===>>	$ SET DEFAULT device:[directory]
===>>	$ DOCUMENT /BATCH sample report ln03
	$ exit ($status + (0 * 'f$verify(verify_context)'))

    Note that the apostrophes surrounding the F$VERIFY functions are
    opposite from the current usage.

    -- Ward
T.RTitleUserPersonal
Name
DateLines
664.1learn something new every day!CLOSET::PELTZ�lvynstar Dun�dainWed Jul 15 1987 10:266
         
         Thank you.  Being more from unixland than from VMSland
         I didn't know that.  I will put it in V1.1.
         
         Chris