Hi all
I was looking for in the forum, but I couldn't find information. Sorry if I would be reiterating.
I want to run periodically a Clean Up of the project, scheduled from Control-M (as we do with dsjob), does somebody know the command line?
Besides, do you know how do that with DS.REINDEX ALL in order doesn't ask for NEXT input?
And at last, does Clean Up perform a DS.REINDEX ALL command inside?
Thanks for your help.
Cecilia
Executing CleanUp from Control-M
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
A cleanup project does do a re-index, but there's no command line interface to the "cleanup project" capability.
You can, however, get to the DS.REINDEX ALL via the uv command on a command line interface. Supply the "Press any key" responses from /dev/null (UNIX) or .NUL (Windows) using redirection onto stdin. For example (assuming your PATH is set up correctly)
or
On Windows there is a .NUL file in every folder.
You should have exclusive access to the project to rebuild the repository indices. This is why the Administrator client is to be preferred; it does in fact perform that check before beginning.
You can, however, get to the DS.REINDEX ALL via the uv command on a command line interface. Supply the "Press any key" responses from /dev/null (UNIX) or .NUL (Windows) using redirection onto stdin. For example (assuming your PATH is set up correctly)
Code: Select all
uv "DS.REINDEX ALL" < /dev/null
Code: Select all
uv "DS.REINDEX ALL" < .NUL
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.