My belief is that ENDTCPSVR *DIRECTOR may take quite some time to die. So,
just putting that in the BRMS exit point may not be enough. Here's a
manual way to see how long it takes. (Well, other than DSPLOG to see when
QCPMGTSVR dies.)
QSH
cd /QIBM/ProdData/Director/bin
twgstat
twgend
repeat twgstat until ended.
twgstart
notice the r in the last one above? That starts it back up.
If you want to get twiggy with it then you can do
ls twg*
and see the other commands.
Or
ENDTCPSVR *DIRECTOR
QSH CMD('/QIBM/ProdData/Director/bin/twgstat >/home/rob/twgstat.txt')
Read the output with a program written using Scott's IFS tutorial.
Repeat until ended.
Continue on with process.
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.