There are some servers in which we drop the server completely and then run
the COMPACT, FIXUP and UPDALL with the server down.

Basic concept involves:
- Dropping all Domino servers.
- Using the "List Domino Servers (QnninListDominoServers)" api
- Using the "Retrieve Domino Server Information (QnninRtvDominoServerI)"
- RUNDOMCMD SERVER(&SERVER) CMD(CALL PGM(COMPACT)) BATCH(*NO)

I was running into some strange semaphore conflict trying to do something
simple like:
RUNDOMCMD SERVER(&SERVER) CMD(CALL PGM(COMPACT)) BATCH(*NO)
RUNDOMCMD SERVER(&SERVER) CMD(CALL PGM(FIXUP)) BATCH(*NO)
RUNDOMCMD SERVER(&SERVER) CMD(CALL PGM(UPDALL) PARM('-r')) BATCH(*NO)
So each of the three (then the STRDOMSVR) are submitted off to a single
string job queue or something like that.

You may be able to skip the retrieve domino server api. Back in the day
you have to set up your environment (run directory and other environment
variables) by hand. RUNDOMCMD takes care of this for you. I still use it
because I submit it off to the subsystem that the Domino server runs in.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.