I'm trying to run a 4gl procedure in batch mode using mpro. However whenever I run the command I get the error message:
There is no server for database /usr2/1062c/sys1/live/db/live. (1423)
This is the correct path to the database (called live.db) and there is definately a server running for it. How do I specify the server to use, also where do I specify the username and password to use?
The procedure I'm running contains just this:
def stream data.
output stream data to /usr3/data/item.txt.
for each item no-lock:
export stream data delimiter ";"
item.Sort-name
item.Prod-group
item.Pot-desc
item.Shape-desc
item.long-bot-name[1]
item.long-bot-name[2]
item.long-bot-name[3]
There is no server for database /usr2/1062c/sys1/live/db/live. (1423)
This is the correct path to the database (called live.db) and there is definately a server running for it. How do I specify the server to use, also where do I specify the username and password to use?
The procedure I'm running contains just this:
def stream data.
output stream data to /usr3/data/item.txt.
for each item no-lock:
export stream data delimiter ";"
item.Sort-name
item.Prod-group
item.Pot-desc
item.Shape-desc
item.long-bot-name[1]
item.long-bot-name[2]
item.long-bot-name[3]