Forte Bug 22023 .

Ivor Vaz@SUNLIFE
08-11-97 12:57 PM
Hello,
Does anybody know of a work-around for using MS-SQL stored procedures with
complex select statements to build cursors in forte ?
I have to use a select statement that contains a union. When I do an
OpenCursor Forte returns an exception error. This is a know limitation
with Forte, ODBC and MS-SQL. It is listed as bug number 22023.
I would greatly appreciate any suggestions.
Thank You
Ivor Vaz

The problem was solved by defining the method as inline and implementing it in the header file. I am now even more sure that this is a bug in the Forte C++ 6.0U1, but I have to check the patch levels of my development environment before I'll report it as such to Forte development team.
Of course any other comments are still wellcome :-).

Similar Messages

  • Re: Forte and OrbixWeb call-back

    We have created a business process manager (BPM) layer between our client GUI
    and business model objects that supports Java call-in/call-out. This enables
    switching out the Forte windows with Java windows for a web solution with
    minimal code re-write.
    We were able to get most functionality to work as per our design, which
    included registering a call back function from a Java GUI in the BPM, but had
    to make some sacrifices due to a Forte bug, at least under 3.0.D. We turned
    in case #38434, detailing errors when we tried to fire a callback method with
    parameters, example below ("callback" was the Java object passed in.)
    method TestIIOPBackend.FireCallback(input message: Framework.string)
    begin
    if callback != nil then
    task.part.logmgr.putline('Firing callback');
    //WORKS
    callback.CallMe();
    //ERROR!
    callback.CallMeString(message);
    else
    task.part.logmgr.putline('Callback not set');
    end if;
    end method;
    This may have been fixed in 3.0.F, we found a way to work around it in our
    design and haven't investigated since.
    -DFR
    Ngai* Stuart <[email protected]> on 01/20/98 09:14:28 AM
    To: '[email protected]' <[email protected]> @ INTERNET
    cc:
    Subject: Forte and OrbixWeb call-back
    Has anyone actually tried the tech note 11153 "Java call-in/call-out and
    Forte
    Anchored Objects"? I'm trying to verify the callback mechanism from
    Forte to
    an IIOP Java client. Thanks.
    <<< Stuart Ngai (416)359-4306 [email protected] >>>
    ------ Message Header Follows ------
    Received: from pebble.SageIT.com by notes.bsginc.com
    (PostalUnion/SMTP(tm) v2.1.9c for Windows NT(tm))
    id AA-1998Jan20.101336.1771.787915; Tue, 20 Jan 1998 10:13:36 -0600
    Received: (from sync@localhost) by pebble.SageIT.com (8.6.10/8.6.9) id HAA03868
    for forte-users-outgoing; Tue, 20 Jan 1998 07:25:41 -0800
    Received: (from uucp@localhost) by pebble.SageIT.com (8.6.10/8.6.9) id HAA03862
    for <[email protected]>; Tue, 20 Jan 1998 07:25:39 -0800
    Received: from keeper.nesbittburns.ca(192.139.71.50) by pebble.sagesoln.com via
    smap (V2.0)
    id xma003860; Tue, 20 Jan 98 07:25:19 -0800
    Received: from NesbittBurns.ca (tds223.nesbittburns.ca) by
    keeper.NesbittBurns.ca (4.1/SMI-4.1)
    id AA22591; Tue, 20 Jan 98 10:23:47 EST
    Received: from nbtormail02.nesbittburns.ca by NesbittBurns.ca (5.x/SMI-SVR4)
    id AA12961; Tue, 20 Jan 1998 10:26:54 -0500
    Received: by nbtormail02.nesbittburns.ca with SMTP (Microsoft Exchange Server
    Internet Mail Connector Version 4.0.995.52)
    id <[email protected]>; Tue, 20 Jan 1998
    10:27:52
    -0500
    Message-Id:
    <c=CA%a=_%p=Nesbitt_Burns_In%[email protected]>
    From: "Ngai, Stuart" <[email protected]>
    To: "'[email protected]'" <[email protected]>
    Subject: Forte and OrbixWeb call-back
    Date: Tue, 20 Jan 1998 10:27:39 -0500
    X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
    Mime-Version: 1.0
    Content-Type: text/plain; charset="us-ascii"
    Content-Transfer-Encoding: 7bit
    Sender: [email protected]
    Precedence: bulk
    Reply-To: "Ngai, Stuart" <[email protected]>

    Peggy,
    1) Do you have experience with PowerBuilder and Forte' applications running at
    the same time on the same (laptop) computer? Here I'm thinking
    about any potential resource constraints? Memory Requirements?As log as you are using Win95 or NT you should not be concerned about WIN-resources. Memory depends more on what your 2 tier PB application requires than what your Fort&eacute; would require.
    Cheers,
    Troels
    Lindhard Fort&eacute; Solutions
    -----Original Message-----
    From: Peggy Lynn Adrian [SMTP:[email protected]]
    Sent: Thursday, January 15, 1998 10:31 PM
    To: [email protected]
    Subject: Forte and Powerbuilder Experience Needed
    I sent this query to Forte support but maybe someone out there can help me
    with practical experience
    with the following?
    ---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 01/15/98 04:30
    PM ---------------------------
    Peggy Lynn Adrian
    01/14/98 03:55 PM
    To: [email protected]
    cc: Peggy Lynn Adrian/AM/LLY@Lilly
    Subject: Forte and Powerbuilder Experience Needed
    1) Do you have experience with PowerBuilder and Forte' applications running at
    the same time on the same (laptop) computer? Here I'm thinking
    about any potential resource constraints? Memory Requirements?
    2) Can PowerBuilder and Forte' applications call and interact with one
    another?
    The Forte' application will need to interact with the PowerBuilder application
    to pull out information maintained by the PB application.

  • RE: (forte-users) Conductor Distributed AccessException

    Man! you need some Gas. Top it up and give it a go :)
    -----Original Message-----
    From: mmynatt [mailto:mmynattcomponentsartistry.com]
    Sent: Wednesday, 29 March 2000 10:19 am
    To: Forte-Users-Digest
    Subject: (forte-users) Conductor Distributed Access Exception
    Hi,
    Has anyone ever seen this error message in the conductor trace window on
    starting an engine:
    Channel.Open() Distributed Access exception on initiator channel "Ping" from
    initiator component dbserv1(db unit) to component DB router primary caused
    the channel to be disconnected.
    The engine will not start.
    Mark Mynatt
    Components Artistry, Inc.
    303-688-0784
    mmynattcomponentsartistry.com <mailto:mmynattcomponentsartistry.com>

    Hi Jagadish,
    I'm not trying to change it, it's at "Allowed" on all of my superclasses,
    and I want it to be "Allowed" on the subclass too. If I remember correctly
    there's some blurb in the manual somewhere that objects are smaller and/or
    quicker if you turn of the subclass override thing?
    Anyway, apparently, according to other replies I've received, it's just a
    forte bug, and I need to recreate the service object. I'll give it a go
    when I get in to work tomorrow and come back to you all if it still doesn't
    work...
    Thanks everyone,
    Tim Sawyer
    Development Consultant
    PanCredit
    Leeds, UK.
    -----Original Message-----
    From: [email protected]
    To: Tim Sawyer
    Cc: '[email protected]'
    Sent: 17/04/01 18:39
    Subject: Re: (forte-users) Distributed Property
    You have the answer. A class should set "Subclass Override" to TRUE (or
    ON)
    if it wants any of its derived classes to override the behaviour.
    If you want your subclass to be able set its Runtime properties
    (Distributed, Shared, Transactional, Monitored), then turn ON "Subclass
    override" in all the classes above in the hierarchy.
    Jagadish
    This e-mail and its attachments are for the use of the addressee only.
    It may contain information that is legally privileged, confidential and
    exempt from disclosure. It is not a contract, and prices, data
    and other information are not warranted as to completeness or accuracy.
    Any comments or statements made herein do not necessarily
    reflect those of PanCredit Systems Limited. If you are not the intended
    recipient you must not copy, distribute or disseminate this e-mail
    or attachments to anyone other than the addressee.
    If you receive this communication in error please advise us by telephone
    at once.
    PanCredit Systems Limited
    Tel: +44 113 250 0260
    Fax: +44 113 250 0621

  • Re: (forte-users) FW: (forte-users) Overflow Exception thatIcan't catch

    Dave
    If you use #,##0.00 template, forte won't allow you to enter more than 28 numbers.
    Nat
    "Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
    You mean... that without the aftervaluechange event, I could catch this?
    Because by no means is my exception block anchored to that event.
    I am looking for advice of where I could put this exception block...if there
    is another possible place at all.
    Thanks.
    Dave
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    -----Original Message-----
    Hi Dave,
    You have no chance to catch this exception in aftervaluechange block.
    This event is triggered if the value in DataField is OK.
    You get only Arithmetic exception without the aftervaluechange event if the
    length of the decimal is greater as 28.
    Regards
    Zenon Adamek
    Forte Developer
    Purolator Courier Ltd.
    ZAdamekpurolator.com
    -----Original Message-----
    From: Campbell, Dave [SMTP:DCampbellpurolator.com]
    Sent: Friday, January 28, 2000 8:19 AM
    To: 'kamranaminyahoo.com'
    Subject: (forte-users) Overflow Exception that I can't
    catch...
    The problem is:
    I have a DataField, mapped type :DecimalNullable
    the input mask is set to Template ( #,##0;;;;)
    Because it is Template I can't validate on keystroke and
    I can't set the max characters in the properties sheet.
    This works great until, Someone enters over 28 characters into the
    field.
    It then displays the errors:
    USER ERROR: Operation caused arithmetic overflow
    Class: qqsp_ArithmeticException
    Error #: [301, 7]
    Deteced at: DecimalData.SetScale at 1
    ErrorTime: Thu Jan 27 15:50:48
    Exception occurred (locally) on partition
    "PurolatorApplications_CL0_Client" ,(partitionId =
    DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
    [DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
    application
    "FTLaunch_c10",pid 279 on node W5300109 in environment centrale
    This is the first bit of code that executes when I leave the field
    and the
    value has changed:
    when <est_daily_rev_amt>.aftervaluechange do
    Begin
    sys_upd_usr_nam = aUserProfileBO.user_nam;
    aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
    Exception
    when ex:ArithmeticException Do
    Task.ErrMgr.Clear();
    Window.MessageDialog(
    messageText='Revenue amount can not exceed
    100,000,000',
    MessageType=MT_WARNING);
    Self.Window.PurgeEvents();
    End;
    This is what I do:
    I put a debugging stop on the "when line" and the "Exception line"
    I also set the debugger to stop on all exceptions and posts.
    It never reaches the above code!?
    Is this a forte bug?
    I need the template and I need it to be a decimalnullable.
    Is there any suggestions for where else I may catch this
    Exception???
    Thanks in advance
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Dave
    If you use #,##0.00 template, forte won't allow you to enter more than 28 numbers.
    Nat
    "Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
    You mean... that without the aftervaluechange event, I could catch this?
    Because by no means is my exception block anchored to that event.
    I am looking for advice of where I could put this exception block...if there
    is another possible place at all.
    Thanks.
    Dave
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    -----Original Message-----
    Hi Dave,
    You have no chance to catch this exception in aftervaluechange block.
    This event is triggered if the value in DataField is OK.
    You get only Arithmetic exception without the aftervaluechange event if the
    length of the decimal is greater as 28.
    Regards
    Zenon Adamek
    Forte Developer
    Purolator Courier Ltd.
    ZAdamekpurolator.com
    -----Original Message-----
    From: Campbell, Dave [SMTP:DCampbellpurolator.com]
    Sent: Friday, January 28, 2000 8:19 AM
    To: 'kamranaminyahoo.com'
    Subject: (forte-users) Overflow Exception that I can't
    catch...
    The problem is:
    I have a DataField, mapped type :DecimalNullable
    the input mask is set to Template ( #,##0;;;;)
    Because it is Template I can't validate on keystroke and
    I can't set the max characters in the properties sheet.
    This works great until, Someone enters over 28 characters into the
    field.
    It then displays the errors:
    USER ERROR: Operation caused arithmetic overflow
    Class: qqsp_ArithmeticException
    Error #: [301, 7]
    Deteced at: DecimalData.SetScale at 1
    ErrorTime: Thu Jan 27 15:50:48
    Exception occurred (locally) on partition
    "PurolatorApplications_CL0_Client" ,(partitionId =
    DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
    [DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
    application
    "FTLaunch_c10",pid 279 on node W5300109 in environment centrale
    This is the first bit of code that executes when I leave the field
    and the
    value has changed:
    when <est_daily_rev_amt>.aftervaluechange do
    Begin
    sys_upd_usr_nam = aUserProfileBO.user_nam;
    aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
    Exception
    when ex:ArithmeticException Do
    Task.ErrMgr.Clear();
    Window.MessageDialog(
    messageText='Revenue amount can not exceed
    100,000,000',
    MessageType=MT_WARNING);
    Self.Window.PurgeEvents();
    End;
    This is what I do:
    I put a debugging stop on the "when line" and the "Exception line"
    I also set the debugger to stop on all exceptions and posts.
    It never reaches the above code!?
    Is this a forte bug?
    I need the template and I need it to be a decimalnullable.
    Is there any suggestions for where else I may catch this
    Exception???
    Thanks in advance
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • RE: (forte-users) FW: (forte-users) Overflow Exception thatI can't catc

    Nat,
    As I feared, This forces the user to enter decimals even if there are none.
    The Users Don't want this.
    So, i'm afraid i am back at beginning.. Trying to catch this exception..
    Thank you for your input.
    I would be happy to try anyone elses solution to this annoying issue.
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    Dave
    If you use #,##0.00 template, forte won't allow you to enter more than
    28 numbers.
    Nat
    "Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
    You mean... that without the aftervaluechange event, I could catch this?
    Because by no means is my exception block anchored to that event.
    I am looking for advice of where I could put this exception block...if there
    is another possible place at all.
    Thanks.
    Dave
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    -----Original Message-----
    Hi Dave,
    You have no chance to catch this exception in aftervaluechange block.
    This event is triggered if the value in DataField is OK.
    You get only Arithmetic exception without the aftervaluechange event if the
    length of the decimal is greater as 28.
    Regards
    Zenon Adamek
    Forte Developer
    Purolator Courier Ltd.
    ZAdamekpurolator.com
    -----Original Message-----
    From: Campbell, Dave [SMTP:DCampbellpurolator.com]
    Sent: Friday, January 28, 2000 8:19 AM
    To: 'kamranaminyahoo.com'
    Subject: (forte-users) Overflow Exception that I can't
    catch...
    The problem is:
    I have a DataField, mapped type :DecimalNullable
    the input mask is set to Template ( #,##0;;;;)
    Because it is Template I can't validate on keystroke and
    I can't set the max characters in the properties sheet.
    This works great until, Someone enters over 28 characters into the
    field.
    It then displays the errors:
    USER ERROR: Operation caused arithmetic overflow
    Class: qqsp_ArithmeticException
    Error #: [301, 7]
    Deteced at: DecimalData.SetScale at 1
    ErrorTime: Thu Jan 27 15:50:48
    Exception occurred (locally) on partition
    "PurolatorApplications_CL0_Client" ,(partitionId =
    DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
    [DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
    application
    "FTLaunch_c10",pid 279 on node W5300109 in environment centrale
    This is the first bit of code that executes when I leave the field
    and the
    value has changed:
    when <est_daily_rev_amt>.aftervaluechange do
    Begin
    sys_upd_usr_nam = aUserProfileBO.user_nam;
    aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
    Exception
    when ex:ArithmeticException Do
    Task.ErrMgr.Clear();
    Window.MessageDialog(
    messageText='Revenue amount can not exceed
    100,000,000',
    MessageType=MT_WARNING);
    Self.Window.PurgeEvents();
    End;
    This is what I do:
    I put a debugging stop on the "when line" and the "Exception line"
    I also set the debugger to stop on all exceptions and posts.
    It never reaches the above code!?
    Is this a forte bug?
    I need the template and I need it to be a decimalnullable.
    Is there any suggestions for where else I may catch this
    Exception???
    Thanks in advance
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com

    Nat,
    As I feared, This forces the user to enter decimals even if there are none.
    The Users Don't want this.
    So, i'm afraid i am back at beginning.. Trying to catch this exception..
    Thank you for your input.
    I would be happy to try anyone elses solution to this annoying issue.
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    Dave
    If you use #,##0.00 template, forte won't allow you to enter more than
    28 numbers.
    Nat
    "Campbell, Dave" <DCampbellpurolator.com> 01/28 10:49 AM >>>Thanks Zenon,
    You mean... that without the aftervaluechange event, I could catch this?
    Because by no means is my exception block anchored to that event.
    I am looking for advice of where I could put this exception block...if there
    is another possible place at all.
    Thanks.
    Dave
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    -----Original Message-----
    Hi Dave,
    You have no chance to catch this exception in aftervaluechange block.
    This event is triggered if the value in DataField is OK.
    You get only Arithmetic exception without the aftervaluechange event if the
    length of the decimal is greater as 28.
    Regards
    Zenon Adamek
    Forte Developer
    Purolator Courier Ltd.
    ZAdamekpurolator.com
    -----Original Message-----
    From: Campbell, Dave [SMTP:DCampbellpurolator.com]
    Sent: Friday, January 28, 2000 8:19 AM
    To: 'kamranaminyahoo.com'
    Subject: (forte-users) Overflow Exception that I can't
    catch...
    The problem is:
    I have a DataField, mapped type :DecimalNullable
    the input mask is set to Template ( #,##0;;;;)
    Because it is Template I can't validate on keystroke and
    I can't set the max characters in the properties sheet.
    This works great until, Someone enters over 28 characters into the
    field.
    It then displays the errors:
    USER ERROR: Operation caused arithmetic overflow
    Class: qqsp_ArithmeticException
    Error #: [301, 7]
    Deteced at: DecimalData.SetScale at 1
    ErrorTime: Thu Jan 27 15:50:48
    Exception occurred (locally) on partition
    "PurolatorApplications_CL0_Client" ,(partitionId =
    DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
    [DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in
    application
    "FTLaunch_c10",pid 279 on node W5300109 in environment centrale
    This is the first bit of code that executes when I leave the field
    and the
    value has changed:
    when <est_daily_rev_amt>.aftervaluechange do
    Begin
    sys_upd_usr_nam = aUserProfileBO.user_nam;
    aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
    Exception
    when ex:ArithmeticException Do
    Task.ErrMgr.Clear();
    Window.MessageDialog(
    messageText='Revenue amount can not exceed
    100,000,000',
    MessageType=MT_WARNING);
    Self.Window.PurgeEvents();
    End;
    This is what I do:
    I put a debugging stop on the "when line" and the "Exception line"
    I also set the debugger to stop on all exceptions and posts.
    It never reaches the above code!?
    Is this a forte bug?
    I need the template and I need it to be a decimalnullable.
    Is there any suggestions for where else I may catch this
    Exception???
    Thanks in advance
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com

  • Re: (forte-users) Distributed Property

    You have the answer. A class should set "Subclass Override" to TRUE (or ON)
    if it wants any of its derived classes to override the behaviour.
    If you want your subclass to be able set its Runtime properties
    (Distributed, Shared, Transactional, Monitored), then turn ON "Subclass
    override" in all the classes above in the hierarchy.
    Jagadish
    Tim Sawyer
    <Tim.Sawyer@panc To: "'[email protected]'"
    redit.com> <[email protected]>
    cc:
    04/17/2001 12:37 Fax to:
    Subject: (forte-users) Distributed Property
    Hello.
    I've just created a service object, based on a new subclass. The new
    subclass has distributed property set to allowed, and the other three set
    to
    disallowed. These are set about four layers further up the inheritance
    hierarchy, and have subclass override turned off.
    When I try and run my app, I get the following error:
    USER ERROR: The class apiAbstractClasses.PanAPIReplicate used as the type
    of
    service object apiAbstractClasses.PanAPIReplicateSO has the 'Distributed'
    property set to 'DISALLOWED', so it cannot be used as the type of a
    service
    object.
    Class: qqsp_UsageException
    Error #: [1602, 358]
    Detected at: qqcf_GlobalDefinition::ProxyClass at 1
    Last TOOL statement: method partws.HandleRunCmd
    Error Time: Tue Apr 17 17:33:34
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 2DC37DB0-BD7A-11D4-A08F-220DA12BAA77:0x1ad3:0xb, taskId =
    [2DC37DB0-BD7A-11D4-A08F-220DA12BAA77:0x1ad3:0xb.392]) in application
    "FTLaunch_cl0", pid 318 on node TORGOS in environment 43DENV.
    So I have distributed set to Allowed and the error says "Oh know you don't"
    in true panto style.
    Anyone like to suggest a direction I start looking in to fix this?
    Cheers,
    Tim Sawyer
    Development Consultant
    PanCredit
    Leeds, UK.
    This e-mail and its attachments are for the use of the addressee only.
    It may contain information that is legally privileged, confidential and
    exempt from disclosure. It is not a contract, and prices, data
    and other information are not warranted as to completeness or accuracy.
    Any comments or statements made herein do not necessarily
    reflect those of PanCredit Systems Limited. If you are not the intended
    recipient you must not copy, distribute or disseminate this e-mail
    or attachments to anyone other than the addressee.
    If you receive this communication in error please advise us by telephone
    at once.
    PanCredit Systems Limited
    Tel: +44 113 250 0260
    Fax: +44 113 250 0621
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]

    Hi Jagadish,
    I'm not trying to change it, it's at "Allowed" on all of my superclasses,
    and I want it to be "Allowed" on the subclass too. If I remember correctly
    there's some blurb in the manual somewhere that objects are smaller and/or
    quicker if you turn of the subclass override thing?
    Anyway, apparently, according to other replies I've received, it's just a
    forte bug, and I need to recreate the service object. I'll give it a go
    when I get in to work tomorrow and come back to you all if it still doesn't
    work...
    Thanks everyone,
    Tim Sawyer
    Development Consultant
    PanCredit
    Leeds, UK.
    -----Original Message-----
    From: [email protected]
    To: Tim Sawyer
    Cc: '[email protected]'
    Sent: 17/04/01 18:39
    Subject: Re: (forte-users) Distributed Property
    You have the answer. A class should set "Subclass Override" to TRUE (or
    ON)
    if it wants any of its derived classes to override the behaviour.
    If you want your subclass to be able set its Runtime properties
    (Distributed, Shared, Transactional, Monitored), then turn ON "Subclass
    override" in all the classes above in the hierarchy.
    Jagadish
    This e-mail and its attachments are for the use of the addressee only.
    It may contain information that is legally privileged, confidential and
    exempt from disclosure. It is not a contract, and prices, data
    and other information are not warranted as to completeness or accuracy.
    Any comments or statements made herein do not necessarily
    reflect those of PanCredit Systems Limited. If you are not the intended
    recipient you must not copy, distribute or disseminate this e-mail
    or attachments to anyone other than the addressee.
    If you receive this communication in error please advise us by telephone
    at once.
    PanCredit Systems Limited
    Tel: +44 113 250 0260
    Fax: +44 113 250 0621

  • Install bug?

    Just to preface ... it's kind of difficult to describe this as a Forte
    bug, but after the install, it was noticed that the system's global path
    was modified. Specifically
    "c:\forte\install\bin;c:\forte\objectivity\bin" was appended. One would
    think that would be fine, but what was observed, is that when launching
    a command shell (cmd.exe), system variables used to set the path were
    not being expanded. Again, specifically, the
    "%SystemRoot%\system32;%SystemRoot%;" was not being expanded to
    "c:\winnt\system32;c:\winnt;". As you can guess, there were a few
    programs that weren't being found. Now one peculiar oberservation
    however ... using "Run ..." under the Start menu did seem to be able to
    interpret the path correctly. It was only a probem when you launched a
    instance of "cmd.exe". (Makes me wonder if there isn't a problem with
    the command shell.) Anyway, the fix seems to be pretty simple. It
    appears that the path variable needs to be terminated with a trailing
    ";". After adding that things seemed to be expanding properly.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Greg,
    what you just found is Forte Bug 31605. (I wonder when they are goinig
    to actually fix it.) The Workaround is quite easy. Just go into Control
    Panel - System - Environment. You don't have to change anything. Just
    click into PATH definition and save it again. The next time you open a
    cmd.exe it will again resolve PATH correctly.
    Uli
    -----Original Message-----
    From: Greg Gorham [SMTP:[email protected]]
    Sent: Wednesday, October 07, 1998 5:07 PM
    To: forte-users
    Subject: install bug?
    Just to preface ... it's kind of difficult to describe this as a Forte
    bug, but after the install, it was noticed that the system's global
    path
    was modified. Specifically
    "c:\forte\install\bin;c:\forte\objectivity\bin" was appended. One
    would
    think that would be fine, but what was observed, is that when
    launching
    a command shell (cmd.exe), system variables used to set the path were
    not being expanded. Again, specifically, the
    "%SystemRoot%\system32;%SystemRoot%;" was not being expanded to
    "c:\winnt\system32;c:\winnt;". As you can guess, there were a few
    programs that weren't being found. Now one peculiar oberservation
    however ... using "Run ..." under the Start menu did seem to be able
    to
    interpret the path correctly. It was only a probem when you launched
    a
    instance of "cmd.exe". (Makes me wonder if there isn't a problem with
    the command shell.) Anyway, the fix seems to be pretty simple. It
    appears that the path variable needs to be terminated with a trailing
    ";". After adding that things seemed to be expanding properly.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Distributed Property

    Hello.
    I've just created a service object, based on a new subclass. The new
    subclass has distributed property set to allowed, and the other three set to
    disallowed. These are set about four layers further up the inheritance
    hierarchy, and have subclass override turned off.
    When I try and run my app, I get the following error:
    USER ERROR: The class apiAbstractClasses.PanAPIReplicate used as the type of
    service object apiAbstractClasses.PanAPIReplicateSO has the 'Distributed'
    property set to 'DISALLOWED', so it cannot be used as the type of a
    service
    object.
    Class: qqsp_UsageException
    Error #: [1602, 358]
    Detected at: qqcf_GlobalDefinition::ProxyClass at 1
    Last TOOL statement: method partws.HandleRunCmd
    Error Time: Tue Apr 17 17:33:34
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 2DC37DB0-BD7A-11D4-A08F-220DA12BAA77:0x1ad3:0xb, taskId =
    [2DC37DB0-BD7A-11D4-A08F-220DA12BAA77:0x1ad3:0xb.392]) in application
    "FTLaunch_cl0", pid 318 on node TORGOS in environment 43DENV.
    So I have distributed set to Allowed and the error says "Oh know you don't"
    in true panto style.
    Anyone like to suggest a direction I start looking in to fix this?
    Cheers,
    Tim Sawyer
    Development Consultant
    PanCredit
    Leeds, UK.
    This e-mail and its attachments are for the use of the addressee only.
    It may contain information that is legally privileged, confidential and
    exempt from disclosure. It is not a contract, and prices, data
    and other information are not warranted as to completeness or accuracy.
    Any comments or statements made herein do not necessarily
    reflect those of PanCredit Systems Limited. If you are not the intended
    recipient you must not copy, distribute or disseminate this e-mail
    or attachments to anyone other than the addressee.
    If you receive this communication in error please advise us by telephone
    at once.
    PanCredit Systems Limited
    Tel: +44 113 250 0260
    Fax: +44 113 250 0621

    Hi Jagadish,
    I'm not trying to change it, it's at "Allowed" on all of my superclasses,
    and I want it to be "Allowed" on the subclass too. If I remember correctly
    there's some blurb in the manual somewhere that objects are smaller and/or
    quicker if you turn of the subclass override thing?
    Anyway, apparently, according to other replies I've received, it's just a
    forte bug, and I need to recreate the service object. I'll give it a go
    when I get in to work tomorrow and come back to you all if it still doesn't
    work...
    Thanks everyone,
    Tim Sawyer
    Development Consultant
    PanCredit
    Leeds, UK.
    -----Original Message-----
    From: [email protected]
    To: Tim Sawyer
    Cc: '[email protected]'
    Sent: 17/04/01 18:39
    Subject: Re: (forte-users) Distributed Property
    You have the answer. A class should set "Subclass Override" to TRUE (or
    ON)
    if it wants any of its derived classes to override the behaviour.
    If you want your subclass to be able set its Runtime properties
    (Distributed, Shared, Transactional, Monitored), then turn ON "Subclass
    override" in all the classes above in the hierarchy.
    Jagadish
    This e-mail and its attachments are for the use of the addressee only.
    It may contain information that is legally privileged, confidential and
    exempt from disclosure. It is not a contract, and prices, data
    and other information are not warranted as to completeness or accuracy.
    Any comments or statements made herein do not necessarily
    reflect those of PanCredit Systems Limited. If you are not the intended
    recipient you must not copy, distribute or disseminate this e-mail
    or attachments to anyone other than the addressee.
    If you receive this communication in error please advise us by telephone
    at once.
    PanCredit Systems Limited
    Tel: +44 113 250 0260
    Fax: +44 113 250 0621

  • ODBC/oracle problem

    To further clarify the problem I mention below, the specific error I get
    with integer datatypes is "Driver Not Capable". Thanks.
    Date: Wed, 07 May 1997 11:53:54 -0500
    To: forte users
    From: Tim Clotworthy <[email protected]>
    Subject: ODBC/oracle problem
    I have a problem related to accessing a personal oracle database with Forteservice objects via ODBC. The problem is that I cannot do inserts into
    number fields with integers or integer nullables. The only thing I can get
    to work are textdata types. Has anyone else had this problem? AM I using too
    old a version of ODBC driver (Oracle71 version 1.11.0002)?
    >
    Thanks. Tim.

    This is a Forte bug I reported a few months ago. It is being tracked
    under Forte call number 26402. Scheduled to be fixed in R3. There are
    no work arounds that I am aware of.
    Kalvin Inman
    Andersen Windows
    From: Tim Clotworthy[SMTP:[email protected]]
    Sent: Wednesday, May 07, 1997 12:09 PM
    To: [email protected]
    Subject: ODBC/oracle problem
    To further clarify the problem I mention below, the specific error I get
    with integer datatypes is "Driver Not Capable". Thanks.
    Date: Wed, 07 May 1997 11:53:54 -0500
    To: forte users
    From: Tim Clotworthy <[email protected]>
    Subject: ODBC/oracle problem
    I have a problem related to accessing a personal oracle database with Forteservice objects via ODBC. The problem is that I cannot do inserts into
    number fields with integers or integer nullables. The only thing I can get
    to work are textdata types. Has anyone else had this problem? AM I using too
    old a version of ODBC driver (Oracle71 version 1.11.0002)?
    Thanks. Tim.

  • Overflow Exception that I can't catch...

    The problem is:
    I have a DataField, mapped type :DecimalNullable
    the input mask is set to Template ( #,##0;;;;)
    Because it is Template I can't validate on keystroke and
    I can't set the max characters in the properties sheet.
    This works great until, Someone enters over 28 characters into the field.
    It then displays the errors:
    USER ERROR: Operation caused arithmetic overflow
    Class: qqsp_ArithmeticException
    Error #: [301, 7]
    Deteced at: DecimalData.SetScale at 1
    ErrorTime: Thu Jan 27 15:50:48
    Exception occurred (locally) on partition
    "PurolatorApplications_CL0_Client" ,(partitionId =
    DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7, TASKiD =
    [DEB96B60-AA27-11D1-82A8-23E82A0FAA77:0X6f98:0x7.492] in application
    "FTLaunch_c10",pid 279 on node W5300109 in environment centrale
    This is the first bit of code that executes when I leave the field and the
    value has changed:
    when <est_daily_rev_amt>.aftervaluechange do
    Begin
    sys_upd_usr_nam = aUserProfileBO.user_nam;
    aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
    Exception
    when ex:ArithmeticException Do
    Task.ErrMgr.Clear();
    Window.MessageDialog(
    messageText='Revenue amount can not exceed 100,000,000',
    MessageType=MT_WARNING);
    Self.Window.PurgeEvents();
    End;
    This is what I do:
    I put a debugging stop on the "when line" and the "Exception line"
    I also set the debugger to stop on all exceptions and posts.
    It never reaches the above code!?
    Is this a forte bug?
    I need the template and I need it to be a decimalnullable.
    Is there any suggestions for where else I may catch this Exception???
    Thanks in advance
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com

    Hi Dave,
    did you try this:
    event loop
    Begin
    when ..... do
    when <est_daily_rev_amt>.aftervaluechange do
    when ..... do
    exception
    when ex:ArithmeticException Do
    End;
    end loop;
    As far as I remember it matters where you put Begin
    inside an event loop. This way you will catch the
    exception without dropping off the loop. If the value
    is O.K. the aftervaluechanged event will be executed.
    Hope that helps!
    Rumen
    Thanks Zenon,
    You mean... that without the aftervaluechange event,
    I could catch
    this?
    Because by no means is my exception block anchored to
    that event.
    I am looking for advice of where I could put this
    exception block...if
    there
    is another possible place at all.
    Thanks.
    Dave-----Original Message-----
    Hi Dave,
    You have no chance to catch this exception in
    aftervaluechange block.
    This event is triggered if the value in DataField is
    OK.
    You get only Arithmetic exception without the
    aftervaluechange event if
    the
    length of the decimal is greater as 28.
    Regards
    Zenon Adamek
    Forte Developer-----Original Message-----
    The problem is:
    I have a DataField, mapped >type :DecimalNullable
    the input mask is set to Template ( #,##0;;;;)
    Because it is Template I can't validate on
    keystroke and
    I can't set the max characters in the >propertiessheet.
    This works great until, Someone enters over >28characters into the
    field.
    It then displays the errors:
    USER ERROR: Operation caused arithmetic >overflow
    Class: qqsp_ArithmeticException
    Error #: [301, 7]
    Deteced at: DecimalData.SetScale at 1
    ErrorTime: Thu Jan 27 15:50:48
    Exception occurred (locally) on partition
    "PurolatorApplications_CL0_Client" ,(partitionId =
    DEB96B60-AA27-11D1-82A8->23E82A0FAA77:0X6f98:0x7,TASKiD = >
    [DEB96B60-AA27-11D1-82A8->23E82A0FAA77:0X6f98:0x7.492]
    in
    application
    "FTLaunch_c10",pid 279 on node W5300109 in
    environment centrale
    This is the first bit of code that executes >when Ileave the field
    and the
    value has changed:
    when <est_daily_rev_amt>.aftervaluechange do
    Begin
    sys_upd_usr_nam = >aUserProfileBO.user_nam;
    aCPVDetailItem.SetState(base_detailItem.CHANGED_STATE);
    Exceptionwhen ex:ArithmeticException Do
    Task.ErrMgr.Clear();
    Window.MessageDialog(
    messageText='Revenue amount >can not exceed
    100,000,000',
    MessageType=MT_WARNING);
    Self.Window.PurgeEvents();
    End;
    This is what I do:
    I put a debugging stop on the "when line" and >the"Exception line"
    I also set the debugger to stop on all >exceptionsand posts.
    It never reaches the above code!?
    Is this a forte bug?
    I need the template and I need it to be a
    decimalnullable.
    Is there any suggestions for where else I may >catchthis
    Exception???
    Thanks in advance__________________________________________________
    Do You Yahoo!?
    Talk to your friends online with Yahoo! Messenger.
    http://im.yahoo.com

  • Bug Forte F

    Hi to everybody,
    I hope you can help me.
    I was wondering if someone knows about bugs of Forte release F.
    We had a client server application developed with Forte Express (client
    Windows NT, server Sun Solaris) that starts at 08.00 a.m. every day.
    At beginning clients connect to the server (cluster Sun) until circa
    8.50 a.m. gradually, then at 9.10 a.m. they are more numerous until we
    have almost 400 clients connected.
    Usually between 9.00 and 9.30 a.m. the node manager crashes. I specify
    that the memory setted with -fm flag is more than double of used memory
    and there are no other different processes started on the server during
    this period.
    We don't think that it could be a problem due to the application
    because, in this case, the partitions (compiled) should crash but, on
    the contrary, they stay up.
    Thanks anyway and happy new year,
    Dr. Tesi Giovacchino
    Fort&egrave; Developper
    Telesoft S.p.A.

    Hi to everybody,
    I hope you can help me.
    I was wondering if someone knows about bugs of Forte release F.
    We had a client server application developed with Forte Express (client
    Windows NT, server Sun Solaris) that starts at 08.00 a.m. every day.
    At beginning clients connect to the server (cluster Sun) until circa
    8.50 a.m. gradually, then at 9.10 a.m. they are more numerous until we
    have almost 400 clients connected.
    Usually between 9.00 and 9.30 a.m. the node manager crashes. I specify
    that the memory setted with -fm flag is more than double of used memory
    and there are no other different processes started on the server during
    this period.
    We don't think that it could be a problem due to the application
    because, in this case, the partitions (compiled) should crash but, on
    the contrary, they stay up.
    Thanks anyway and happy new year,
    Dr. Tesi Giovacchino
    Fort&egrave; Developper
    Telesoft S.p.A.

  • Forte 6U2 C++ compiler bug

    In the Forte 6U2 compiler, a function return can implicitly invoke a conversion constructor that is marked "explicit".
    Consider:
    class ABaseClass {};
    template<class Type, class Uncert>
    class Value
    public:
         Value(Type const& t, Uncert const& u) : _t(t), _u(u) {}
    protected:
         Type       _t;
         Uncert    _u;
    class Foo : public Value<float, double>, public ABaseClass
    public:
         explicit
         Foo(ABaseClass b=ABaseClass(), float val=-1, double tol=0)
             : ABaseClass(b), Value(val, tol)
             std::cerr << "Explicit constructed Foo\n";
    class Bar : public Value<int, double>, public ABaseClass
    public:
         explicit
         Bar(ABaseClass b=ABaseClass(), int val=-1, double tol=0)
             : ABaseClass(b), Value(val, tol)
             std::cerr << "Explicit constructed Bar\n";
    class Context
    public:
         Context() : _foo(ABaseClass(), 1.23, 0.45) {}
         Bar getFoo() const
             return _foo;
    private:
         Foo _foo;
    int main()
         Context c;
         c.getFoo();
    }Note that Context::getFoo has a type mismatch between the declared return type and the return value. This is a bug that was not caught by the compiler. Intstead, Bar(static_cast<ABaseClass>(_foo)) is invoked and
    returned. The output of this run is:
    Explicit constructed Foo (Context constructor)
    Explicit constructed Bar (Context::getFoo return)
    This behavior is non-standards conforming.

    -xO2 is enough to cause the failure.
    Making the vulnerable pointer "static" fixes the problem, although this should make no difference.
    My guess is over-eager register reuse, but I'm open to alternative theories.

  • Mangling bug in Forte 6.1 Update 1 ?

    Hi,
    I built the following code
    Foo.h >>>>>>>>>>>>>>>>>>>>
    class Foo
    public:
    typedef Foo Bar;
    void mangle( const Foo&, const Bar& );
    <<<<<<<<<<<<<<<<<<<<<<<
    Foo.c >>>>>>>>>>>>>>>>>>
    #include "Foo.h"
    // Version 1
    void Foo::mangle( const Foo&, const Foo::Bar& ) { }
    // Version 2
    // void Foo::mangle( const Foo&, const Foo& ) { }
    <<<<<<<<<<<<<<<<<<<<<<<<
    The strange thing is the both version 1 and 2 of the implementation of the
    method compile with "CC -C Foo.c", as I think is correct.
    However they mangle to different symbols in the resulting .o file
    Version 1 : __1cDFooGmangle6Mrk0r1_v_
    Version 2 : __1cDFooGmangle6Mrk02_v_
    Both these symbols demangle to : "void Foo::mangle(const Foo&,const Foo&)"
    I a real world example this caused us some stange link time failures.
    Am I right in thinking the both implementations are allowed and that
    this a compiler bug?
    David Hunter
    Lehman Brothers

    Hi,
    I am not C++ guru, So I don't whether this is a bug or not.
    But, in past somebody had given following workarounds
    to me:
    1. Use typedefs everywhere or nowhere.
    2. Use Pragma weak, specifying the mangled names as quoted strings.
    3. Use "-Qoption ccfe -abiopt=mangle6" . Note, however, that this option may prevent linking with some libraries.
    Hope this helps.
    Thanks
    Kalpesh

  • Crazy preverifier bug using forte

    I boot my Windows 98SE machine and execute my test Midlet from forte with total success, however the second time I try to execute it I receive a "Cannot start preverifier" error. If I reboot my machine it works again, but only the one time. It is almost like the preverfier app is not closing itself down when it has verified the class first time. Can anyone help remedy this problem?
    Any help very much appreciated
    Mat

    In order to get it work, I have to press F6 a few times. I believe that it's something to do with forte not waiting for the compiler to finish before running the verifier.

  • Forte 6u1 C compiler bug?  Worse in 6u2?

    I have a rather large program containing a function which misbehaves intermittently with -xO3 optimization. The failure occurs on perhaps one run in ten.
    A pointer variable local to the function appears to be corrupted by a call to another function. (It's ok before, and bad after the call.) The corrupted pointer value then usually causes a BUS error, rarely a SEGV (depending on its divisibility by 8, I assume).
    Adding printf() calls showed the corrupt value (lately, 0x800000002 has been popular) using 6u1. After updating to 6u2, the intermittent corruption remains, but now the printf() itself fails, as it apparently tries to dereference the pointer (for some mysterious reason) instead of just displaying it. Dbx (6u2) says:
    Read from unallocated (rua):
    Attempting to read 1 byte at address 0x800000002
    stopped in _doprnt at 0x7fef5189d54
    0x000007fef5189d54: doprnt+0x0160:     ba,a    doprnt-0xda41c
    (/opt/forte6u2/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
    =>[1] _doprnt(0x100327630, 0xffffffff7fffefc0, 0x100327630, 0xff291400, 0x0, 0x0), at 0x7fef5189d54
    [2] _fprintf(0x0, 0x800000002, 0x7fef52be228, 0x0, 0xffffffffffffffff, 0x100327db0), at 0x7fef518d088
    [3] <my_stuff ...>
    The (newly) offending statement looks like this:
    fprintf( pfCFile, " a = %016lx.\n", assign);
    where "assign" is the pointer to a structure of some sort.
    Does anyone have any helpful hints or will I need to spend the $1599 to create an incident?

    -xO2 is enough to cause the failure.
    Making the vulnerable pointer "static" fixes the problem, although this should make no difference.
    My guess is over-eager register reuse, but I'm open to alternative theories.

Maybe you are looking for