× 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.



I thought I sent this yesterday, but I did not receive it so sorry if it is
a repeat.

In the Redbook R5 Implementation it shows how to run compact for a single
database (see below), but is there a method of running it for multiple
databases with one command?  I would like to run compact for each of my
users mailboxes and having to maintenance the CL program if I have to do a
single command for each mailbox would be a lot more work.  I am hoping that
you could replace the NAMES.NSF with *.NSF

Here is the command that does the compact:

0001.00 PGM
0002.00
0003.00              ADDENVVAR  ENVVAR(PATH) +
0004.00                   VALUE('/QIBM/PRODDATA/LOTUS/NOTES:/QIBM/USERDATA+
0005.00                           /LOTUS/NOTES:/LOTUS/DOMINO/HP400') +
0006.00                           REPLACE(*YES)
0007.00
0008.00              CHGCURDIR  DIR('/LOTUS/DOMINO/HP400')
0009.00
0010.00              SBMJOB     CMD(CALL PGM(QNOTES/COMPACT) +
0011.00                           PARM(NAMES.NSF)) USER(QNOTES) +
0012.00                           CURLIB(*USRPRF) INLLIBL(*JOBD) +
0013.00                           CPYENVVAR(*YES)
0014.00
0015.00 ENDPGM

Steve Jones

+---
| This is the Domino/400 Mailing List!
| To submit a new message, send your mail to DOMINO400@midrange.com.
| To subscribe to this list send email to DOMINO400-SUB@midrange.com.
| To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: meechamw@ptd.net
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.