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

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3848.0. "Force new notification logfile via FCL command?" by CSOADM::ROTH (I'm getting closer to my home...) Thu Oct 01 1992 16:00

DECmcc V1.2
VMS V5.5
local namespace

In the IMPM, Notification Logging --> Customization --> Logging Status
and Controls it is possible to command DECmcc to create a new
notification logfile.

Q. Does this capability exist via the FCL interface?

What I want to do is force a new logfile to be created at every midnight
via a batch job. Then, I can rename the old logfile to include some sort
of YYMMDD convention in the filename.  Creating a new logfile every 24
hours is unpredictable because I cannot force it to happen each day at
midnight.

Thanks-

Lee
T.RTitleUserPersonal
Name
DateLines
3848.1Check NOTIFICATION CUSTOMIZATION in the Notification WindowCUJO::HILLDan Hill-Net.Mgt.-Customer ResidentThu Oct 01 1992 16:1013
    Lee,
    
    Though I have not done what you suggest, I do recall a customization
    window accessed via the Notification Window of the IMPM.  This window
    had several buttons which allow you to determine log file creations.  I
    do not recall if you can specify a particular time, but one of the
    selections was "New log every 24 hours".
    
    From IMPM, select "Notification ???" from APPLICATIONS menu. 
    Notification window appears.  Select CUSTOMIZE and look around.  Sorry
    I can't be more specific.  I'm not near my system.
    
    -Dan
3848.2reread basenoteCSOADM::ROTHI'm getting closer to my home...Thu Oct 01 1992 19:357
Re: .1

Yes, I know I can do it via IMPM, I want to be able to do it via the FCL.

Thanks,

Lee
3848.3no direct capabilityMCC1::DITMARSPeteTue Oct 06 1992 11:5427
Hi,

FCL doesn't have built-in capability to do what you want.

You could do something like the following.

Have a DCL batch job that starts FCL which runs a 
command procedure that does the following:

notify domain x , to file y
show mcc 0, at start tomorrow+23:50:00
spawn @restart_job
show mcc 0, at start 23:59:00
exit

The "shows" take care of having FCL (and the notify command)
run until a specific time.

The batch job, when it completes, handles renaming the
file, etc., or better yet, generating the command 
procedure that FCL runs in the first place to do 
"to file" to the correctly named file.

The "restart_job" DCL command procedure would basically
submit another copy of the batch job.  In the above
example, there would be about 10 minutes of overlap to
be safe.
3848.4CSOADM::ROTHI'm getting closer to my home...Wed Oct 07 1992 14:455
I'll give that a try...

Thanks-

Lee