Consultor Eletrônico



Kbase 13681: Running promon in batch mode without interaction
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Running promon in batch mode without interaction

In order to run promon in batch mode without interaction you need to p
erform the following steps:

1) Go through the desired PROMON screens writing down every keystroke
that you enter.
2) Create an ascii file that contains these keystrokes. Don't forget
your "q"s so that the process will exit.
3) Make sure your environment is set up appropriately.
4) Type "promon dbname < input.file > output.file &".
This will run promon and feed the responses in from input.file and red
irect the output to output.file. The "&" is used to run the process i
n the background.
Following is an example to capture the user control screen:

input.file
-----------
m
1
99
q
1
1
q
q

The lines do the following:
m - modify defaults - this allows you to make the page size larger if
you have more than 24 users in the database.
1 - option 1 off of the menu changes page size
q - quits back to the main menu
1 - select option 1 1. User Control
1 - select option 1 1. Display all entries
q - quit back to the main menu
q - quit promon

Different versions will have different keystrokes so if you change ver
sions of progress you need to test the keystrokes to make sure they ar
e adequate.

NOTE:
This notebook entry is a guideline. Different systems may perform diff
rently and slight modifications may need to be done to this process. P
lease refer to System Admin II appendix B in version 6 and System Admi
n Reference chapter 7 in version 7 for further information on PROMON.

Progress Software Technical Support Note # 13681