Command line - Linux

Posted by ecsousa on 02-Apr-2015 08:29

Hi,

How do I start  _progress.exe on linux? 

If I do  only _progres.exe  it works..... but if I use parameters ( _progress -b -basekey "ini" -ininame myFile.ini -pf myPF.pf   ) it does not work...  return an error: 

The -s parameter requires a numeric argument. (11996)    .....  ( it is because  -basekey?  -ba S ekey? )
How can I resolve it?

Thank you, 

All Replies

Posted by Libor Laubacher on 02-Apr-2015 08:33

Ø  How do I start  _progress.exe on linux?

 
You don’t. _progres.exe is a Window binary.
 
You need to use _progres, or ‘pro’ or ‘mpro’.
 
-basekey is Windows parameter only, I am afraid, so is –ininame. Take them out of your command line/pf file.
 
[collapse]
From: ecsousa [mailto:bounce-ecsousa@community.progress.com]
Sent: Thursday, April 2, 2015 3:30 PM
To: TU.OE.General@community.progress.com
Subject: [Technical Users - OE General] Command line - Linux
 
Thread created by ecsousa

Hi,

How do I start  _progress.exe on linux? 

If I do  only _progres.exe  it works..... but if I use parameters ( _progress -b -basekey "ini" -ininame myFile.ini -pf myPF.pf   ) it does not work...  return an error: 

The -s parameter requires a numeric argument. (11996)    .....  ( it is because  -basekey?  -ba S ekey? )
How can I resolve it?

Thank you, 
Stop receiving emails on this subject.

Flag this post as spam/abuse.

[/collapse]

Posted by DivyaTheja on 02-Apr-2015 08:34

Hello Ellen,

Name of the executable is "_progres". Can you please try running the same command using :

_progres -b -basekey "ini" -ininame myFile.ini -pf myPF.pf

- DivyaTheja

Posted by Peter Judge on 02-Apr-2015 08:34

You can't use INI files on Linux.
 
_progress -b -pf myPF.pf
 
The above line should work.
 
You can set PROPATH via environment variables.
 
-- peter
 
[collapse]
From: ecsousa [mailto:bounce-ecsousa@community.progress.com]
Sent: Thursday, 02 April, 2015 09:30
To: TU.OE.General@community.progress.com
Subject: [Technical Users - OE General] Command line - Linux
 
Thread created by ecsousa

Hi,

How do I start  _progress.exe on linux? 

If I do  only _progres.exe  it works..... but if I use parameters ( _progress -b -basekey "ini" -ininame myFile.ini -pf myPF.pf   ) it does not work...  return an error: 

The -s parameter requires a numeric argument. (11996)    .....  ( it is because  -basekey?  -ba S ekey? )
How can I resolve it?

Thank you, 
Stop receiving emails on this subject.

Flag this post as spam/abuse.

[/collapse]

Posted by ChUIMonster on 02-Apr-2015 09:00

[collapse]On 4/2/15 9:35 AM, Peter Judge wrote:
You can't use INI files on Linux.

That's true.

But... why not?  It seems like someone is poking a stick in my eye whenever I am reminded of that.


-- 
Tom Bascom
603 396 4886
tom@greenfieldtech.com
[/collapse]

Posted by Matt Gilarde on 02-Apr-2015 14:20

INI files are only supported on Windows because they're read and written using Windows OS functions. There are libraries that handle INI files on Linux/Unix if that stick in the eye is bothering you.

Posted by ChUIMonster on 02-Apr-2015 14:58

Reply by Matt Gilarde

INI files are only supported on Windows because they're read and written using Windows OS functions. There are libraries that handle INI files on Linux/Unix if that stick in the eye is bothering you.


That sounds sort of like "there are lots of ways to implement a datetime datatype -- feel free to roll your own".  I've heard that somewhere.

4GL features that are "Only on Windows" are the stick in my eye.  Rolling my own just sharpens the stick.


-- 
Tom Bascom
603 396 4886
tom@greenfieldtech.com

This thread is closed