Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Migrating from PB8 to 9

63 views
Skip to first unread message

Shalinder Verma

unread,
Jul 24, 2003, 11:53:24 AM7/24/03
to
Windows 2000.
I juss migrated my PFC app from PB8 to PB9.

At the end of the migration I 'm getting following errors..

pfc_main.pbl:
pfc_w_matser.of_setresize()
Error: Private or Protected function cannot be accessed:
getindirectarray3upperbound

pfc_apsrv.pbl:
pfc_n_cst_metaclass.of_iseventdefined()
Error: Private or Protected function cannot be accessed:
getindirectarrayupperbound

pfemain.pbl
n_trp
Error: Illegal data type: pfc_n_trp

I replaced my PB 8 PFC pbls with PB 9 PFC pbls but same errors.
Did anyone else get same problems and any solution for this.

I'd really appreciate.

Thanks
Shalinder


Evita Chapa

unread,
Jul 24, 2003, 11:52:50 AM7/24/03
to
Do you any kind of layer between the PFC and PFE layers?..I just recently
did our migration from 8 to 9. I basically copied our source to a new SCC
repository, checked out the target and replaced the PB8 PFC with PB9,
checked back in, did a GLV and full build..Never saw those errors you
mentioned

--

Evita Chapa
Senior Systems Analyst II
Command Technologies Inc.
"Shalinder Verma" <shalind...@hotmail.com> wrote in message
news:OxijQwfUDHA.145@forums-2-dub...

Shalinder Verma

unread,
Jul 24, 2003, 12:08:55 PM7/24/03
to
No I don't have any layer between PFC and PFE except for u_dw object that I
have extended.

I don't have any SCC and whats GLV.. I'm completely lost... Could you tell
me step-by-step way to do it..

really appreciated

"Evita Chapa" <ech...@commtechinc.com> wrote in message
news:uWRQczfUDHA.346@forums-2-dub...

Austin Phillips

unread,
Jul 24, 2003, 12:48:55 PM7/24/03
to
Shalinder;
The first two errors looks like you are accessing a private function...

n_trp has become obscolete. Just remove that object from your list.

HTH,
Austin

"Shalinder Verma" <shalind...@hotmail.com> wrote in message
news:OxijQwfUDHA.145@forums-2-dub...

Austin Phillips

unread,
Jul 24, 2003, 2:14:12 PM7/24/03
to
So if you do a search on "getindirectarray3upperbound", you get nothing
back?

"Shalinder Verma" <shalind...@hotmail.com> wrote in message

news:OnwJZ$gUDHA.261@forums-2-dub...
> I wish I could locate that to begin with.
> Really unusal stuff!!
> Have explored whole PFC objects - not there.
>
> However I juss got a dirty solution
> - created a new PB9 workspace/target/app
> - included all the libraries in it
> - exported the "annoying" objects
> - commented the "annoying" functions
> - imported them back
> - uncomment them
> - regenerate them
> - works fine!!
>
> Thanks all for the help.. Juss wondering is it juss my computer .. or
> PB9..??
>
> Shalinder
>
> "Austin Phillips" <aphillips@NO_SPAM_aticousa.com> wrote in message
> news:uBX841gUDHA.280@forums-2-dub...
> > Shalinder;
> > Where is getindirectarray3upperbound declared?
> >
> > Thanks,


> > Austin
> >
> > "Shalinder Verma" <shalind...@hotmail.com> wrote in message

> > news:u5XxlYgUDHA.280@forums-2-dub...
> > > Well I have removed the trp object.
> > >
> > > The other two errors - they popped up from no where as my app was
> woking
> > > juss fine before migration.
> > >
> > > Thanks
> > >
> > > "Austin Phillips" <aphillips@NO_SPAM_aticousa.com> wrote in message
> > > news:#F#LsVgUDHA.145@forums-2-dub...

Evita Chapa

unread,
Jul 24, 2003, 1:46:48 PM7/24/03
to
GLV, I was referring to Get Latest Version if you had your code under source
code control. Since you're not using source control, I would first backup
your 8 source before attempting to migrate it.

You may need to use migration assistant and see if there's anything between
PB 8 and 9 has changed..
HTH


From the PB9 Help

he Migration Assistant is available on the Tool page of the New dialog box.

¨ To use the Migration Assistant:

1 Select File>New to open the New dialog box, then select Migration
Assistant on the Tool page.

2 On the Search for Syntax of Type page, specify the type of syntax to be
verified and click Next.

3 If you selected PFC, FUNCky, or PowerScript syntax, the Migration
Assistant can check for syntax that became obsolete in PowerBuilder Versions
6, 7, and/or 8. On the Select Versions page, specify which versions you want
to check and click Next.
Or
If you selected Syntax in Custom File, specify the file on the Specify
Custom Search File pageand click Next.
4 On the Specify Libraries to be Searched page, locate the libraries you
want to search in the left pane, double-click them or drag them to the right
pane, and click Next.

5 On the Ready to Search page, check that the search criteria are what you
want and click Finish.

The Migration Assistant Search Results page displays the PBLs, objects, and
lines of code where obsolete syntax was found and shows the suggested
replacement syntax, if any.

6 Modify your code to use current syntax.

--

Evita Chapa
Senior Systems Analyst II
Command Technologies Inc.
"Shalinder Verma" <shalind...@hotmail.com> wrote in message

news:eZdP74fUDHA.145@forums-2-dub...

Austin Phillips

unread,
Jul 24, 2003, 1:46:33 PM7/24/03
to
Shalinder;
Where is getindirectarray3upperbound declared?

Thanks,
Austin

"Shalinder Verma" <shalind...@hotmail.com> wrote in message

news:u5XxlYgUDHA.280@forums-2-dub...
> Well I have removed the trp object.
>
> The other two errors - they popped up from no where as my app was woking
> juss fine before migration.
>
> Thanks
>
> "Austin Phillips" <aphillips@NO_SPAM_aticousa.com> wrote in message
> news:#F#LsVgUDHA.145@forums-2-dub...

Shalinder Verma

unread,
Jul 24, 2003, 2:15:01 PM7/24/03
to
I wish I could locate that to begin with.
Really unusal stuff!!
Have explored whole PFC objects - not there.

However I juss got a dirty solution
- created a new PB9 workspace/target/app
- included all the libraries in it
- exported the "annoying" objects
- commented the "annoying" functions
- imported them back
- uncomment them
- regenerate them
- works fine!!

Thanks all for the help.. Juss wondering is it juss my computer .. or
PB9..??

Shalinder

"Austin Phillips" <aphillips@NO_SPAM_aticousa.com> wrote in message
news:uBX841gUDHA.280@forums-2-dub...

Shalinder Verma

unread,
Jul 24, 2003, 2:32:46 PM7/24/03
to
exactly!

"Austin Phillips" <aphillips@NO_SPAM_aticousa.com> wrote in message

news:#7oKWFhUDHA.130@forums-2-dub...

Shalinder Verma

unread,
Jul 24, 2003, 1:05:34 PM7/24/03
to
Well I have removed the trp object.

The other two errors - they popped up from no where as my app was woking
juss fine before migration.

Thanks

"Austin Phillips" <aphillips@NO_SPAM_aticousa.com> wrote in message
news:#F#LsVgUDHA.145@forums-2-dub...

Austin Phillips

unread,
Jul 24, 2003, 2:28:31 PM7/24/03
to
Ten how is the migrating process cathing it? You must be missing
something....

> > > > > > > pfc_main.pbl:
> > > > > > > pfc_w_matser.of_setresize()
> > > > > > > Error: Private or Protected function cannot be accessed:
> > > > > > > getindirectarray3upperbound
> > > > > > >
> > > > > > > pfc_apsrv.pbl:
> > > > > > > pfc_n_cst_metaclass.of_iseventdefined()
> > > > > > > Error: Private or Protected function cannot be accessed:
> > > > > > > getindirectarrayupperbound

pfc_w_matser..???? How come it doesn't say "pfc_w_master"..???

Also you have getindirectarraryupperbound and
getindirectarry3upperbound...That is really weird.
Austin

"Shalinder Verma" <shalind...@hotmail.com> wrote in message

news:eXnHUJhUDHA.280@forums-2-dub...

0 new messages