Executing a 4GL procedure

edlea

New Member
I've now got a 4GL procedure to do what I need it to do. Next thing is being able to run it from the command line. Bascially I'd like to be able to run it from with cron.

I'm using Progress 8.3b on HP-UX 10.20 - is there a command to what I need; basically take a file containing the 4GL code as an argument?
 
Yes, just start up Progress in batch mode, with the program as one of the parameters:

mpro database -b -p program.p >> output.file
 
Okay... I'm doing:

mpro /usr2/1062c/sys1/live/db/live -b -p /usr1/1062c/sys1/live/itemdump

I've used absolute paths just to be sure of stuff, but get this error:

There is no server for database /usr2/1062c/sys1/live/db/live. (1423)

There is a server running for this database. I know this because Tyler know's this.
 
<I>There is a server running for this database. I know this because Tyler know's this.</I>

Really? Try 'pro' instead of 'mpro', just to be sure.
 
Using "pro" gives this error:

** The database /usr2/1062c/sys1/live/db/live is in use in multi-user mode. (276)
 
Back
Top