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.

PFC application does not save or update

4 posts in Appeon (partner product) Last posting was on 2012-03-07 05:14:03.0Z
Jay Posted on 2012-03-02 14:19:01.0Z
Sender: 6818.4f50cdaa.1804289383@sybase.com
From: jay
Newsgroups: sybase.public.appeon
Subject: PFC application does not save or update
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4f50d6d5.6a2a.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 2 Mar 2012 06:19:01 -0800
X-Trace: forums-1-dub 1330697941 172.20.134.41 (2 Mar 2012 06:19:01 -0800)
X-Original-Trace: 2 Mar 2012 06:19:01 -0800, 172.20.134.41
Lines: 40
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2918
Article PK: 21947

I have deployed a PowerBuilder application which uses PFC
library. It does not seem to save or update the data in the
web application.

The application uses pfc_save function to save. The problem
occurs in the pfc_save() on this line
li_save_rc = This.Event pfc_Update

Is this error occurring because of ClassDefinition feature ?
(As the ClassDefinition is an unsupported feature in
Appeon).

I have modified following functions in the of the
pfc_n_cst_luw object with the following code.

of_accepttext,
of_postupdate,
of_updateprep,
of_updatespending,
of_validation,
of_update,
of_isselfupdatingobject



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

But this does not help. Can someone please help me where is
the problem. Thanks a lot.
Just for infomation, I am using Sybase SQL ANywhere database
with ODBC driver.


Chris Pollach Posted on 2012-03-03 21:33:39.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.appeon
References: <4f50d6d5.6a2a.1681692777@sybase.com>
In-Reply-To: <4f50d6d5.6a2a.1681692777@sybase.com>
Subject: Re: PFC application does not save or update
Lines: 2
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513
X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4f528e33$1@forums-1-dub>
Date: 3 Mar 2012 13:33:39 -0800
X-Trace: forums-1-dub 1330810419 10.22.241.152 (3 Mar 2012 13:33:39 -0800)
X-Original-Trace: 3 Mar 2012 13:33:39 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2920
Article PK: 13657

Hi Jay;

Did you read the PFC section in the Appeon help?

-> Upgrading PFC applications

PFC applications intended for Appeon Web migration must be upgraded to
be compliant with PFC 9, 10.5 or 11.1. Some legacy PFC applications are
based on the PFC 5.0 PBLs that have been migrated to the newer version, and
you should upgrade those applications to use the new PFC 9, 10.5 or 11.1
PBLs.

The PFC PFCOLD.PBL library contains obsolete objects that are not
supported for Appeon Web migration. If the original PowerBuilder application
is a PFC application that uses objects in the PFCOLD.PBL library, you should
remove the objects when upgrading the application to PFC 9, 10.5 or 11.1.



Regards ... Chris
President: OSUG / STD Inc.
VP Membership: ISUG
Blog: http://chrispollach.blogspot.com
PBDJ: http://chrispollach.sys-con.com
SourceForge: http://sourceforge.net/projects/stdfndclass



"jay" wrote in message news:4f50d6d5.6a2a.1681692777@sybase.com...

I have deployed a PowerBuilder application which uses PFC
library. It does not seem to save or update the data in the
web application.

The application uses pfc_save function to save. The problem
occurs in the pfc_save() on this line
li_save_rc = This.Event pfc_Update

Is this error occurring because of ClassDefinition feature ?
(As the ClassDefinition is an unsupported feature in
Appeon).

I have modified following functions in the of the
pfc_n_cst_luw object with the following code.

of_accepttext,
of_postupdate,
of_updateprep,
of_updatespending,
of_validation,
of_update,
of_isselfupdatingobject



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

But this does not help. Can someone please help me where is
the problem. Thanks a lot.
Just for infomation, I am using Sybase SQL ANywhere database
with ODBC driver.


Steven Posted on 2012-03-07 05:14:03.0Z
Sender: 1b1a.4f56eaa6.1804289383@sybase.com
From: steven
Newsgroups: sybase.public.appeon
Subject: Re: PFC application does not save or update
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4f56ee9b.1bbc.1681692777@sybase.com>
References: <4f528e33$1@forums-1-dub>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 6 Mar 2012 21:14:03 -0800
X-Trace: forums-1-dub 1331097243 172.20.134.41 (6 Mar 2012 21:14:03 -0800)
X-Original-Trace: 6 Mar 2012 21:14:03 -0800, 172.20.134.41
Lines: 19
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2929
Article PK: 13660

Hi Jay;

You can use the following solution to work around this
issue.
if AppeonGetClientType( ) = 'PB' then
lb_defined =inv_metaclass.of_isFunctionDefined
& (lpo_tocheck.ClassDefinition,
"of_PostUpdate", ls_args)
else
lb_defined = True
End if

You can refer to the Appeon Help | Appeon Migration Guide |
Migration Process | Preparing the target application |
Special processing required for PFC applications to get more
detail information.

Regards,
Steven


Marco Meoni Posted on 2012-03-03 16:01:17.0Z
From: Marco Meoni <mail@marcomeoni.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
Newsgroups: sybase.public.appeon
Subject: Re: PFC application does not save or update
References: <4f50d6d5.6a2a.1681692777@sybase.com>
In-Reply-To: <4f50d6d5.6a2a.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4f52404d@forums-1-dub>
Date: 3 Mar 2012 08:01:17 -0800
X-Trace: forums-1-dub 1330790477 10.22.241.152 (3 Mar 2012 08:01:17 -0800)
X-Original-Trace: 3 Mar 2012 08:01:17 -0800, vip152.sybase.com
Lines: 53
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2919
Article PK: 21948

Hi,
which actual version of SQL Anywhere are you using?
ODBC is only supported from version 11.0.
If older, you must use native connectivity.
As for the Classdefinition unsupported feature, please refer to the
Appeon Help -> Appeon Migration Guide -> Migration Process -> Preparing
the target application -> Special processing required for PFC
applications to get detailed info.
Best,
Marco

On 3/2/12 3:19 PM, jay wrote:
> I have deployed a PowerBuilder application which uses PFC
> library. It does not seem to save or update the data in the
> web application.
>
> The application uses pfc_save function to save. The problem
> occurs in the pfc_save() on this line
> li_save_rc = This.Event pfc_Update
>
> Is this error occurring because of ClassDefinition feature ?
> (As the ClassDefinition is an unsupported feature in
> Appeon).
>
> I have modified following functions in the of the
> pfc_n_cst_luw object with the following code.
>
> of_accepttext,
> of_postupdate,
> of_updateprep,
> of_updatespending,
> of_validation,
> of_update,
> of_isselfupdatingobject
>
>
>
> 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
>
> But this does not help. Can someone please help me where is
> the problem. Thanks a lot.
> Just for infomation, I am using Sybase SQL ANywhere database
> with ODBC driver.