Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Help: PFC application

4 posts in Appeon (partner product) Last posting was on 2008-11-23 18:47:28.0Z
frankie lo Posted on 2008-11-20 10:42:42.0Z
From: "frankie lo" <frankiecblo@hotmail.com>
Newsgroups: sybase.public.appeon
Subject: Help: PFC application
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49253f22$1@forums-1-dub>
Date: 20 Nov 2008 02:42:42 -0800
X-Trace: forums-1-dub 1227177762 10.22.241.152 (20 Nov 2008 02:42:42 -0800)
X-Original-Trace: 20 Nov 2008 02:42:42 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2253
Article PK: 13350

Hi,

Please help, my application (pb11.2 with pfc upgraded from 10.5) works very
fine in C/S mode.

But after deploy to Appeon 6.0, the application can retrieve data from
mssql2005 (jtds-1.2.2.jar),

but it cann't save data to database (3 datawindow connected by
this.of_SetLinkage(TRUE)) .

I try to debug it and find that it doesn't work at pfc_save of pfc_w_master
object when li_save_rc <> 1,

I guess it relates to LUW concept.

I don't know how to solve it now even sybase said appeon support pfc10.5.

Does anyone can help?


///////pfc_save of pfc_w_master ////////////////////////////////////////
// Update the changed objects.
li_save_rc = This.Event pfc_Update (ipo_pendingupdates)

// PFC_Save Updates are no longer in progress.
ib_savestatus = False

// Perform the endtransaction process
li_endtran_rc = This.Event pfc_EndTran(li_save_rc)


Steven Yang Posted on 2008-11-21 09:06:14.0Z
Sender: 5311.4921377d.1804289383@sybase.com
From: Steven Yang
Newsgroups: sybase.public.appeon
Subject: Re: Help: PFC application
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <49267a06.6e7b.1681692777@sybase.com>
References: <49253f22$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Nov 2008 01:06:14 -0800
X-Trace: forums-1-dub 1227258374 10.22.241.41 (21 Nov 2008 01:06:14 -0800)
X-Original-Trace: 21 Nov 2008 01:06:14 -0800, 10.22.241.41
Lines: 61
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2254
Article PK: 13351

Hi,
ClassDefinition is an unsupported feature in Appeon. Please
do the following changes at of_accepttext, of_postupdate,
of_updateprep, of_updatespending, of_validation, of_update,
of_isselfupdatingobject functions in the of the
pfc_n_cst_luw object.

Original scripts:
lb_defined = inv_metaclass.of_isFunctionDefined &
(lpo_tocheck.ClassDefinition, "of_PostUpdate", ls_args)

Modified scripts:
If lpo_tocheck.TriggerEvent("pfc_descendant") = 1 Then
lb_defined = True
Else
lb_defined = False
End If

For detail information, please go to the Appeon Help |
Appeon Migration Guide | Migration Process | Preparing the
target application | Special processing required for PFC
applications

Steven

> Hi,
>
> Please help, my application (pb11.2 with pfc upgraded from
> 10.5) works very fine in C/S mode.
>
> But after deploy to Appeon 6.0, the application can
> retrieve data from mssql2005 (jtds-1.2.2.jar),
>
> but it cann't save data to database (3 datawindow
> connected by this.of_SetLinkage(TRUE)) .
>
> I try to debug it and find that it doesn't work at
> pfc_save of pfc_w_master object when li_save_rc <> 1,
>
> I guess it relates to LUW concept.
>
> I don't know how to solve it now even sybase said appeon
> support pfc10.5.
>
> Does anyone can help?
>
>
> ///////pfc_save of pfc_w_master
> //////////////////////////////////////// // Update the
> changed objects. li_save_rc = This.Event pfc_Update
> (ipo_pendingupdates)
>
> // PFC_Save Updates are no longer in progress.
> ib_savestatus = False
>
> // Perform the endtransaction process
> li_endtran_rc = This.Event pfc_EndTran(li_save_rc)
>
>
>
>


frankie lo Posted on 2008-11-23 18:47:28.0Z
From: "frankie lo" <frankiecblo@hotmail.com>
Newsgroups: sybase.public.appeon
References: <49253f22$1@forums-1-dub> <49267a06.6e7b.1681692777@sybase.com>
Subject: Re: Help: PFC application
Lines: 78
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4929a540$1@forums-1-dub>
Date: 23 Nov 2008 10:47:28 -0800
X-Trace: forums-1-dub 1227466048 10.22.241.152 (23 Nov 2008 10:47:28 -0800)
X-Original-Trace: 23 Nov 2008 10:47:28 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2256
Article PK: 13352

Steven,
I find that it doesn't work at below line in appeon mode. I can't further
debug but I find that it doesn't go to pfc_u_dw (of_update)

//of_update of pfc_n_cst_luw
li_rc = lpo_tocheck.Function Dynamic of_Update (ab_accepttext,
ab_resetflag, lpo_updaterequestor)

But it works in c/s mode where it would go to pfc_u_dw (of_update)

Many thanks for help

<Steven Yang> wrote in message news:49267a06.6e7b.1681692777@sybase.com...
> Hi,
> ClassDefinition is an unsupported feature in Appeon. Please
> do the following changes at of_accepttext, of_postupdate,
> of_updateprep, of_updatespending, of_validation, of_update,
> of_isselfupdatingobject functions in the of the
> pfc_n_cst_luw object.
>
> Original scripts:
> lb_defined = inv_metaclass.of_isFunctionDefined &
> (lpo_tocheck.ClassDefinition, "of_PostUpdate", ls_args)
>
> Modified scripts:
> If lpo_tocheck.TriggerEvent("pfc_descendant") = 1 Then
> lb_defined = True
> Else
> lb_defined = False
> End If
>
> For detail information, please go to the Appeon Help |
> Appeon Migration Guide | Migration Process | Preparing the
> target application | Special processing required for PFC
> applications
>
> Steven
>
>> Hi,
>>
>> Please help, my application (pb11.2 with pfc upgraded from
>> 10.5) works very fine in C/S mode.
>>
>> But after deploy to Appeon 6.0, the application can
>> retrieve data from mssql2005 (jtds-1.2.2.jar),
>>
>> but it cann't save data to database (3 datawindow
>> connected by this.of_SetLinkage(TRUE)) .
>>
>> I try to debug it and find that it doesn't work at
>> pfc_save of pfc_w_master object when li_save_rc <> 1,
>>
>> I guess it relates to LUW concept.
>>
>> I don't know how to solve it now even sybase said appeon
>> support pfc10.5.
>>
>> Does anyone can help?
>>
>>
>> ///////pfc_save of pfc_w_master
>> //////////////////////////////////////// // Update the
>> changed objects. li_save_rc = This.Event pfc_Update
>> (ipo_pendingupdates)
>>
>> // PFC_Save Updates are no longer in progress.
>> ib_savestatus = False
>>
>> // Perform the endtransaction process
>> li_endtran_rc = This.Event pfc_EndTran(li_save_rc)
>>
>>
>>
>>


frankie lo Posted on 2008-11-21 23:23:18.0Z
From: "frankie lo" <frankiecblo@hotmail.com>
Newsgroups: sybase.public.appeon
References: <49253f22$1@forums-1-dub> <49267a06.6e7b.1681692777@sybase.com>
Subject: Re: Help: PFC application
Lines: 75
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <492742e6@forums-1-dub>
Date: 21 Nov 2008 15:23:18 -0800
X-Trace: forums-1-dub 1227309798 10.22.241.152 (21 Nov 2008 15:23:18 -0800)
X-Original-Trace: 21 Nov 2008 15:23:18 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2255
Article PK: 21598

Hi Steven,
Thanks for your idea,

Hoverer, my apps already migrated to pfc10.5 ("2007.11.07 release" from
http://pfc.codexchange.sybase.com ) , I also checked events you mentioned
below, all of them has been modified, do you have any other direction for
me?

Many thanks

<Steven Yang> wrote in message news:49267a06.6e7b.1681692777@sybase.com...
> Hi,
> ClassDefinition is an unsupported feature in Appeon. Please
> do the following changes at of_accepttext, of_postupdate,
> of_updateprep, of_updatespending, of_validation, of_update,
> of_isselfupdatingobject functions in the of the
> pfc_n_cst_luw object.
>
> Original scripts:
> lb_defined = inv_metaclass.of_isFunctionDefined &
> (lpo_tocheck.ClassDefinition, "of_PostUpdate", ls_args)
>
> Modified scripts:
> If lpo_tocheck.TriggerEvent("pfc_descendant") = 1 Then
> lb_defined = True
> Else
> lb_defined = False
> End If
>
> For detail information, please go to the Appeon Help |
> Appeon Migration Guide | Migration Process | Preparing the
> target application | Special processing required for PFC
> applications
>
> Steven
>
>> Hi,
>>
>> Please help, my application (pb11.2 with pfc upgraded from
>> 10.5) works very fine in C/S mode.
>>
>> But after deploy to Appeon 6.0, the application can
>> retrieve data from mssql2005 (jtds-1.2.2.jar),
>>
>> but it cann't save data to database (3 datawindow
>> connected by this.of_SetLinkage(TRUE)) .
>>
>> I try to debug it and find that it doesn't work at
>> pfc_save of pfc_w_master object when li_save_rc <> 1,
>>
>> I guess it relates to LUW concept.
>>
>> I don't know how to solve it now even sybase said appeon
>> support pfc10.5.
>>
>> Does anyone can help?
>>
>>
>> ///////pfc_save of pfc_w_master
>> //////////////////////////////////////// // Update the
>> changed objects. li_save_rc = This.Event pfc_Update
>> (ipo_pendingupdates)
>>
>> // PFC_Save Updates are no longer in progress.
>> ib_savestatus = False
>>
>> // Perform the endtransaction process
>> li_endtran_rc = This.Event pfc_EndTran(li_save_rc)
>>
>>
>>
>>