Kbase P8395: How to make a bat file to start a Progress or OpenEdge session
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/12/2009 |
|
Status: Verified
GOAL:
How to make a bat file to start a Progress or OpenEdge session
GOAL:
How to create a batch file for Progress or OpenEdge
GOAL:
How to create scripts within Windows
FACT(s) (Environment):
Progress 8.x
Progress 9.x
OpenEdge 10.x
Windows
FIX:
To create an scripted action do the following:
1) Use the ProEnv option from the Progress or OE menu.
2) Test the command Progress or OE you want to use like proserve or mpro
Example:
proserve sports -S 4444 -B 10000 -pf sports.pf
mpro sports -p payrol.p
3) Copy the command line into Windows Notepad and save with extension .bat
4) Use the CALL command prior to use other .bat's (most of Progress or OR commands are .bat files)
Example:
REM start.bat
Call proserve sports -S 4444 -B 10000 -pf sports.pf
Call mpro sports -p payrol.p
5) Click on this .bat file to start the session.