Trying to set USELASTCOMMITTED='COMMITTED READ' do
Posted in 2015
Topics: Server Administration, Platform-Specific Issues
I'd like to set onconfig parameter USELASTCOMMITTED from "NONE" to
"COMMITTED READ" dnymically using onmode -wf, but whatever I tried I
always get an error
"onmode: Unknown option READ".
So the value given as two words is not recognized as one always.
I tried this on Solaris using IBM Informix Dynamic Server Version
12.10.FC5IE:
onmode -wf USELASTCOMMITTED='COMMITTED READ'
onmode -wf USELASTCOMMITTED="COMMITTED READ"
onmode -wf USELASTCOMMITTED="'COMMITTED READ'"
onmode -wf USELASTCOMMITTED="\\\\"COMMITTED READ"\\\\"and many more.
Is this even possible?
If yes, what's the version for Windows OS then?
Hi,
The first two options are the right ones:
onmode -wf USELASTCOMMITTED='COMMITTED READ'
onmode -wf USELASTCOMMITTED="COMMITTED READ"
If I understand correctly you are getting the help output and a final
message indicating "onmode: Unknown option READ".
This should only appear if no quotes where used. What is the shell you are
using?
Can you execute the bellow commands without error?
[infx1210@tardis ~]$ test="one two"
[infx1210@tardis ~]$ echo $test
one two
Or the first one fails with:
[SHELL]: two: command not found...
Keen regards.
On Sun, 5 Jul 2015 at 10:59 Frank Langelage <frank@lafr.de> wrote:
> I'd like to set onconfig parameter USELASTCOMMITTED from "NONE" to
> "COMMITTED READ" dnymically using onmode -wf, but whatever I tried I
> always get an error
> "onmode: Unknown option READ".
> So the value given as two words is not recognized as one always.
>
> I tried this on Solaris using IBM Informix Dynamic Server Version
> 12.10.FC5IE:
> onmode -wf USELASTCOMMITTED='COMMITTED READ'
> onmode -wf USELASTCOMMITTED="COMMITTED READ"
> onmode -wf USELASTCOMMITTED="'COMMITTED READ'"
> onmode -wf USELASTCOMMITTED="\\\\"COMMITTED READ"\\\\"> and many more.
>
> Is this even possible?
> If yes, what's the version for Windows OS then?
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--bcaec53f3985ef8bca051a3232d5
Okay, I found my problem.
We have a shell-script called onmode acting as a wrapper which was used
in this case, calling $INFORMIXDIR/bin/onmode.
Calling $INFORMIXDIR/bin/onmode -wf .. directly everything is fine. The
value was accepted.
Thanks.
On 06.07.15 12:16, Ricardo Henriques wrote:
> Hi,
>
> The first two options are the right ones:
> onmode -wf USELASTCOMMITTED='COMMITTED READ'
> onmode -wf USELASTCOMMITTED="COMMITTED READ">
> If I understand correctly you are getting the help output and a final
> message indicating "onmode: Unknown option READ".
>
> This should only appear if no quotes where used. What is the shell you are
> using?
>
> Can you execute the bellow commands without error?
> [infx1210@tardis ~]$ test="one two"
> [infx1210@tardis ~]$ echo $test
> one two
>
> Or the first one fails with:
> [SHELL]: two: command not found...
>
> Keen regards.
>
> On Sun, 5 Jul 2015 at 10:59 Frank Langelage <frank@lafr.de> wrote:
>
>> I'd like to set onconfig parameter USELASTCOMMITTED from "NONE" to
>> "COMMITTED READ" dnymically using onmode -wf, but whatever I tried I
>> always get an error
>> "onmode: Unknown option READ".
>> So the value given as two words is not recognized as one always.
>>
>> I tried this on Solaris using IBM Informix Dynamic Server Version
>> 12.10.FC5IE:
>> onmode -wf USELASTCOMMITTED='COMMITTED READ'
>> onmode -wf USELASTCOMMITTED="COMMITTED READ"
>> onmode -wf USELASTCOMMITTED="'COMMITTED READ'"
>> onmode -wf USELASTCOMMITTED="\\\\"COMMITTED READ"\\\\">> and many more.
>>
>> Is this even possible?
>> If yes, what's the version for Windows OS then?
>>
>>
>>
>>
>
*******************************************************************************
>> Forum Note: Use "Reply" to post a response in the discussion forum.
>>
>>
> --bcaec53f3985ef8bca051a3232d5
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>