× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Rob,

At the TSM server console you could enter:

TSM> define script kill_tsm "CANCEL SESSIONS"
TSM> update script kill_tsm "HALT"

The above sets up the script.
You can then look at it with:

TSM> q script kill_tsm

To run the script:

TSM> run kill_tsm

This command can the be put into the scheduler to run when you want.  Check
out the PASE TSM Guide for more details on scripts and macros.

Best Regards,

Fritz Hayes 
> -----Original Message-----
> From: midrange-l-bounces@midrange.com [mailto:midrange-l-
> bounces@midrange.com] On Behalf Of rob@dekko.com
> Sent: Thursday, February 06, 2003 8:42 AM
> To: Midrange Systems Technical Discussion
> Subject: RE: Starting/stopping Tivoli Storage Manager for OS/400 PASE -
> 5.1
> 
> Any samples of that later option?  I like the halt method but I haven't
> figured out how to submit that.
> 
> Rob Berendt
> --
> "They that can give up essential liberty to obtain a little temporary
> safety deserve neither liberty nor safety."
> Benjamin Franklin
> 
> 
> 
> 
> "Fritz Hayes" <fhayes@spiritone.com>
> Sent by: midrange-l-bounces@midrange.com
> 02/05/2003 09:49 PM
> Please respond to Midrange Systems Technical Discussion
> 
>         To:     "'Midrange Systems Technical Discussion'"
> <midrange-l@midrange.com>
>         cc:
>         Fax to:
>         Subject:        RE: Starting/stopping Tivoli Storage Manager for
> OS/400 PASE - 5.1
> 
> 
> With the PASE TSM, you could run a PASE script to identify the TSM server
> process (PS command, output to file, then GREP the file) and then kill the
> puppy (KILL command).  I believe this script can be called by a CL
> command.
> 
> 
> Or, you could use a TSM script to cancel all sessions, cancel all
> processes
> and then HALT the server.  This TSM script could be run using the TSM
> scheduler to end the server whenever you want.
> 
> The later option provides for a cleaner shutdown.
> 
> Fritz Hayes
> <snip>
> >
> > I have figured out how to start Tivoli Storage Manager for OS/400 PASE -
> > 5.1 from a CL program on my iSeries (AS/400).  This will be useful after
> > we do an IPL and other tasks in a restricted state on our machine.
> >
> > Another time I plan on using this is when we stop TSM to do certain
> system
> > backups.  The question now becomes how do I stop TSM from running in an
> > unattended mode?  In other words there will be no one on site to click
> on
> > certain browser sessions, nor enter commands.  I want to stop TSM from a
> > CL, (or maybe RPGLE) program.
> >
> 
> 
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
> list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
> 
> 
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
> list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.