Kbase P52626: How to suppress the database already exists messages when us
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/6/2003 |
|
Status: Unverified
GOAL:
How to suppress the database already exists messages when using procopy?
GOAL:
How to suppress the message "A database named <database> already exists, do you want to replace it? (y
)" when using procopy to copy a database over top of a database with the same name.
FIX:
It is not possible to suppress the database already exists message, but you can
get past having user input required to complete the procopy. You need to create a text file containing only the character y and a carriage return then redirect the file as an input to the executable. For example:
1) Create file input.txt containing only the character y and carriage return.
2) Run - procopy sourceDatabase targetDatabase < input.txt
The message will still be displayed, but the procopy will continue and complete.