Kbase 16894: How to convert databases using proutil via UNIX script
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
How to convert databases using proutil via UNIX script
The purpose of this kbase is to explain how to convert 1 or more
Progress databases via a shell script. The benefit of this is to
remove the need for user intervention when going through the actual
convert utility.
When you convert a Progress database from 1 version of Progress to
another using proutil, you will be prompted to respond to a question:
You must have your database backed up before running the conversion. (
1024)
Have you done this (y
) ?
This kbase is being entered to explain how to automate the process
without manually responding to the question.
1. Create a unix ascii file. For purpose of demonstration, I will
give it the name file2.
2. In this file enter:
y <press return>
3. Create another unix ascii file. For purpose of demonstration
I will call the file convert.
4. Format of items in the file should be:
#!/bin/sh
proutil dbname -C conv67 < file2
proutil dbname2 -C conv67 < file2
or
echo y | proutil dbname -C conv67
Note: If using the echo format, there is no need for the file
file2. Both steps are documented for the purposes of
providing you with options for implementation.
5. chmod 777 convert
6. Now when you want to invoke the convert, you would issue the
convert command at your UNIX shell prompt.
Progress Software Technical Support Note # 16894