dbTalk Databases Forums  

Ending Parentheses on TCL Options

comp.databases.pick comp.databases.pick


Discuss Ending Parentheses on TCL Options in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
chandru
 
Posts: n/a

Default Ending Parentheses on TCL Options - 06-04-2010 , 09:42 AM






Before I run off half-cocked, can anyone confirm this:

All Pick-like systems (running Pick ike mode) neither require nor
object to the ending parentheses on the tcl option string, ie:

COPY MD MD (T === COPY MD MD (T)

QM objects to version 2 above and I think that's wrong (holding back
here.). We've had to work around this as the "full" form was in many
EXECUTE statements. Anyone else had the problem? I cannot see why
allowing the closing ) can ever be wrong.

Reply With Quote
  #2  
Old   
frosty
 
Posts: n/a

Default Re: Ending Parentheses on TCL Options - 06-04-2010 , 10:29 AM






Chandru writ:
Quote:
Before I run off half-cocked, can anyone confirm this:

All Pick-like systems (running Pick ike mode) neither require nor
object to the ending parentheses on the tcl option string, ie:

COPY MD MD (T === COPY MD MD (T)

QM objects to version 2 above and I think that's wrong (holding back
here.). We've had to work around this as the "full" form was in many
EXECUTE statements. Anyone else had the problem? I cannot see why
allowing the closing ) can ever be wrong.
Surely all your TCL statements are processed by one
common subroutine, so you can insert a line of code,
surrounded by pseudo-code for the QM case, to remove
the trailing paren there... right?

--
frosty

Reply With Quote
  #3  
Old   
Martin Phillips
 
Posts: n/a

Default Re: Ending Parentheses on TCL Options - 06-04-2010 , 10:33 AM



On 4 June, 15:42, chandru <cmur... (AT) seeinggreen (DOT) net> wrote:
Quote:
Before I run off half-cocked, can anyone confirm this:
COPY MD MD (T * * === * * COPY MD MD (T)

QM objects to version 2 above and I think that's wrong
Strictly, QM doesn't support "parenthetical options" but uses keywords
instead as is widely the case in "Information style" multivalue
systems. UV supports them via a trick in the VOC. As far as I know,
Unidata doesn't support them at all.

QM has a couple of commands contributed by Pick users that do have
support for parenthetical options and we will take a look to see if it
would be easy to ignore the closing bracket.


Martin Phillips, Ladybridge Systems

Reply With Quote
  #4  
Old   
Martin Phillips
 
Posts: n/a

Default Re: Ending Parentheses on TCL Options - 06-04-2010 , 10:40 AM



On 4 June, 16:33, Martin Phillips <MartinPhill... (AT) ladybridge (DOT) com>
wrote:
Quote:
QM has a couple of commands contributed by Pick users that do have
support for parenthetical options and we will take a look to see if it
would be easy to ignore the closing bracket.
Well, that was easy! This change will be in release 2.10-4 and a patch
can be provided for release 2.10-3 for anyone who needs it sooner.


Martin Phillips, Ladybridge Systems

Reply With Quote
  #5  
Old   
frosty
 
Posts: n/a

Default Re: Ending Parentheses on TCL Options - 06-04-2010 , 10:56 AM



Quote:
On 4 June, 15:42, chandru <cmur... (AT) seeinggreen (DOT) net> wrote:
Before I run off half-cocked, can anyone confirm this:
COPY MD MD (T === COPY MD MD (T)

QM objects to version 2 above and I think that's wrong

Martin Phillips replied:

Strictly, QM doesn't support "parenthetical options" but uses keywords
instead as is widely the case in "Information style" multivalue
systems. UV supports them via a trick in the VOC. As far as I know,
Unidata doesn't support them at all.

UniData handles it correctly, with or without the ")".

Quote:
QM has a couple of commands contributed by Pick users that do have
support for parenthetical options and we will take a look to see if it
would be easy to ignore the closing bracket.
I would imagine/hope/pray that it is easy!

--
frosty

Reply With Quote
  #6  
Old   
chandru
 
Posts: n/a

Default Re: Ending Parentheses on TCL Options - 06-04-2010 , 11:12 AM



Martin:

Thanks for the prompt reply! I'm not used to quick responses on issues
like this....unlike other (unnamed) vendors!

Interestingly my fellow worker says that originally the ) was forced
and Micd was one of the last to not force it.

chandru

frosty:
chandru
On Jun 4, 8:56*am, "frosty" <fros... (AT) bogus (DOT) tld> wrote:
Quote:
On 4 June, 15:42, chandru <cmur... (AT) seeinggreen (DOT) net> wrote:
Before I run off half-cocked, can anyone confirm this:
COPY MD MD (T === COPY MD MD (T)

QM objects to version 2 above and I think that's wrong
Martin Phillips replied:

Strictly, QM doesn't support "parenthetical options" but uses keywords
instead as is widely the case in "Information style" multivalue
systems. UV supports them via a trick in the VOC. As far as I know,
Unidata doesn't support them at all.

UniData handles it correctly, with or without the ")".

QM has a couple of commands contributed by Pick users that do have
support for parenthetical options and we will take a look to see if it
would be easy to ignore the closing bracket.

I would imagine/hope/pray that it is easy!

--
frosty

Reply With Quote
  #7  
Old   
Martin Phillips
 
Posts: n/a

Default Re: Ending Parentheses on TCL Options - 06-04-2010 , 11:37 AM



On 4 June, 16:56, "frosty" <fros... (AT) bogus (DOT) tld> wrote:
Quote:
UniData handles it correctly, with or without the ")".
I stand corrected.


Martin Phillips, Ladybridge Systems

Reply With Quote
  #8  
Old   
Ed Sheehan
 
Posts: n/a

Default Re: Ending Parentheses on TCL Options - 06-04-2010 , 04:27 PM



"frosty" <frostyj (AT) bogus (DOT) tld> wrote

Quote:
On 4 June, 15:42, chandru <cmur... (AT) seeinggreen (DOT) net> wrote:
Before I run off half-cocked, can anyone confirm this:
COPY MD MD (T === COPY MD MD (T)

QM objects to version 2 above and I think that's wrong

Martin Phillips replied:

Strictly, QM doesn't support "parenthetical options" but uses keywords
instead as is widely the case in "Information style" multivalue
systems. UV supports them via a trick in the VOC. As far as I know,
Unidata doesn't support them at all.


UniData handles it correctly, with or without the ")".

QM has a couple of commands contributed by Pick users that do have
support for parenthetical options and we will take a look to see if it
would be easy to ignore the closing bracket.

I would imagine/hope/pray that it is easy!
Dont you mean "imagine(hope)pray?"

Ed

Quote:
--
frosty



Reply With Quote
  #9  
Old   
Ross Ferris
 
Posts: n/a

Default Re: Ending Parentheses on TCL Options - 06-04-2010 , 08:08 PM



On Jun 5, 1:29*am, "frosty" <fros... (AT) bogus (DOT) tld> wrote:
Quote:
Chandru writ:

Before I run off half-cocked, can anyone confirm this:

All Pick-like systems (running Pick ike mode) neither require nor
object to the ending parentheses on the tcl option string, ie:

COPY MD MD (T * * === * * COPY MD MD (T)

QM objects to version 2 above and I think that's wrong (holding back
here.). We've had to work around this as the "full" form was in many
EXECUTE statements. Anyone else had the problem? I cannot see why
allowing the closing ) can ever be wrong.

Surely all your TCL statements are processed by one
common subroutine, so you can insert a line of code,
surrounded by pseudo-code for the QM case, to remove
the trailing paren there... right?

--
frosty
C'mon! Don't be so trivial. Recognising that the options may vary from
platform to platform I'm sure that they have been parameterised, along
with the verbs themselves, so I'm sure Chandru is just pulling your
chain!

Reply With Quote
  #10  
Old   
Kevin Powick
 
Posts: n/a

Default Re: Ending Parentheses on TCL Options - 06-05-2010 , 06:24 AM



On 2010-06-04 11:40:17 -0400, Martin Phillips
<MartinPhillips (AT) ladybridge (DOT) com> said:

Quote:
Well, that was easy! This change will be in release 2.10-4 and a patch
can be provided for release 2.10-3 for anyone who needs it sooner.
This is what I really like about working with QM and Ladybridge. A
vendor that listens, responds, considers, and acts.

--
Kevin Powick

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.