I am trying to migrate PB & PFC application from PB 6 to PB 11.
I am getting below error message, I tried so many combination to put pbls
but still I am getting same error, even the object and all the pbls are
present see below list
pbl list :
\pfeapsrv.pbl;
\pfedwsrv.pbl;
\pfemain.pbl;
\pfeutil.pbl;
\pfewnsrv.pbl;
\pfcapsrv.pbl;
\PFCDWSRV.PBL;
\pfcmain.pbl;
\pfcutil.pbl;
\PFCWNSRV.PBL;
\pfcapp.pbl;
\pfcold.pbl;
\pfebarcode.pbl;
\pfertf.pbl;
\pfetempl.pbl;
etc.....
---------------------------------------Error message what I am
getting-----------------------
pfeapsrv.pbl(n_cst_appmanager).n_cst_appmanager.of_getdatabase.3: Error
C0015: Undefined variable: gnv_app
pfcmain.pbl(pfc_w_master).pfc_w_master.pfc_help.37: Error C0015: Undefined
variable: gnv_app
pfcmain.pbl(pfc_w_master).pfc_w_master.pfc_help.50: Error C0015: Undefined
variable: gnv_app
pfcmain.pbl(pfc_w_master).pfc_w_master.pfc_help.50: Error C0003: Condition
for if statement must be a boolean.
pfemain.pbl(w_master).w_master.pfc_preopen.16: Error C0015: Undefined
variable: gnv_app
pfemain.pbl(w_master).w_master.pfc_preopen.17: Error C0015: Undefined
variable: gnv_app
pfemain.pbl(w_master).w_master.pfc_preopen.18: Error C0015: Undefined
variable: gnv_app
pfemain.pbl(w_master).w_master.pfc_preopen.18: Error C0003: Condition for if
statement must be a boolean.
pfcmain.pbl(pfc_u_cb).pfc_u_cb.getfocus.30: Error C0015: Undefined variable:
gnv_app
pfcmain.pbl(pfc_u_cb).pfc_u_cb.getfocus.30: Error C0003: Condition for if
statement must be a boolean.
pfcmain.pbl(pfc_u_cb).pfc_u_cb.getfocus.33: Error C0003: Condition for if
statement must be a boolean.
pfcmain.pbl(pfc_u_cb).pfc_u_cb.getfocus.36: Error C0031: Syntax error
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.63: Error C0015: Undefined
variable: gnv_app
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.64: Error C0015: Undefined
variable: gnv_app
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.65: Error C0015: Undefined
variable: gnv_app
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.65: Error C0003: Condition
for if statement must be a boolean.
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.72: Error C0020: Function
with no return value used in expression
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.73: Error C0020: Function
with no return value used in expression
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.74: Error C0015: Undefined
variable: gnv_app
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.74: Error C0003: Condition
for if statement must be a boolean.
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.75: Error C0003: Condition
for if statement must be a boolean.
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.80: Error C0031: Syntax error
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.81: Error C0020: Function
with no return value used in expression
pfeapsrv.pbl(ala_w_dberror).ala_w_dberror.open.82: Error C0031: Syntax error
pfeapsrv.pbl(ala_n_cst_kbtimer).ala_n_cst_kbtimer.ala_kbtimer.8: Error
C0015: Undefined variable: gnv_app
pfeapsrv.pbl(ala_n_cst_kbtimer).ala_n_cst_kbtimer.ala_kbtimer.9: Error
C0015: Undefined variable: gnv_app
pfeapsrv.pbl(ala_n_cst_dberror).ala_n_cst_dberror.ala_of_dberror.16: Error
C0015: Undefined variable: gnv_app
pfeapsrv.pbl(n_cst_platformwin32).n_cst_platformwin32.of_getprintername.24:
Error C0015: Undefined variable: gnv_app
pfeapsrv.pbl(n_cst_platformwin32).n_cst_platformwin32.of_getprintername.24:
Error C0003: Condition for if statement must be a boolean.
pfeapsrv.pbl(n_cst_security).n_cst_security.of_alaco_getdbuserid.28: Error
C0015: Undefined variable: gnv_app
pfcapsrv.pbl(pfc_n_cst_tvsrv_levelsource).pfc_n_cst_tvsrv_levelsource.of_update.44:
Error C0015: Undefined variable: gnv_app
pfcapsrv.pbl(pfc_n_cst_tvsrv_levelsource).pfc_n_cst_tvsrv_levelsource.of_update.44:
Error C0003: Condition for if statement must be a boolean.
pfcapsrv.pbl(pfc_n_cst_tvsrv_levelsource).pfc_n_cst_tvsrv_levelsource.of_update.45:
Error C0003: Condition for if statement must be a boolean.
pfcapsrv.pbl(pfc_n_cst_tvsrv_levelsource).pfc_n_cst_tvsrv_levelsource.of_update.56:
Error C0003: Condition for if statement must be a boolean.
pfcapsrv.pbl(pfc_n_cst_tvsrv_levelsource).pfc_n_cst_tvsrv_levelsource.of_update.67:
Error C0015: Undefined variable: gnv_app
pfcapsrv.pbl(pfc_n_cst_tvsrv_levelsource).pfc_n_cst_tvsrv_levelsource.of_update.69:
Error C0031: Syntax error
Keep in mind that in the File / New dialog, you want to select Target
/ Existing Application.
Good luck,
Terry and Sequel the techno-kitten
*********************************
Build your vocabulary while feeding the hungry
http://www.freerice.com
*********************************
Newsgroup User Manual
=====================
TeamSybase <> Sybase employee
Forums = Peer-to-peer
Forums <> Communication with Sybase
IsNull (AnswerTo (Posting)) can return TRUE
Forums.Moderated = TRUE, so behave or be deleted
*********************************
Sequel's Sandbox: http://www.techno-kitten.com
Home of PBL Peeper, a free PowerBuilder Developer's Toolkit.
Version 4.0.4 now available at the Sandbox
PB Futures updated June 25/2008
See the PB Troubleshooting & Migration Guides at the Sandbox
^ ^
o o
=*=
any idea or suggetions to resolve this problem ?
"Terry Voth [TeamSybase]" <seq...@techno-kitten.com> wrote in message
news:i934t4drql0j8ik87...@4ax.com...
- The global variable declaration for gnv_app is missing (possibly
because the wrong application object was selected).
- The user object type that is used for gnv_app didn't compile, so the
global variable declaration failed (possibly because the wrong list of
PBLs was selected).
I'm a little disturbed to see a reference to gnv_app in
n_cst_appmanager (since gnv_app is either n_cst_appmanager or a
descendant of n_cst_appmanager, and there should only be one instance
of this per application, a reference to gnv_app in calling the
function shouldn't be necessary), but I'm not picturing this causing
the problem. That would be why I'd be leaning towards believing
there's an absence of a global variable declaration.
I'd either use Edit Source or PBL Peeper (see below) to look at the
source of the application object and make sure that gnv_app is
declared.
You can also use PBL Peeper to compare your library lists. On the PBLs
page, use "PowerBuilder x.x Apps" to select your application or
target, and go to the Lists \ Containers page and export the list
(File \ Save As) for each app. Then, you can use an external tool to
compare the lists.
Good luck,
Terry and Sequel the techno-kitten
If that's the case you should still create an extra pbl with an
application object set up according to pfc documentation.
Terry Voth [TeamSybase] schreef:
It am also facing the same problem when i tried to migrate
an application from PB 8.5 to PB 11.0. Could someone guide
the steps that needs to be followed to migrate the
application.
As we mentioned in this thread, if you're getting one of these massive
lists that includes "invalid gnv_app" over and over again, you've
probably got one or two base problems to solve, and the rest will fall
out when these are fixed. There's no silver bullet; you just have to
root through the issues until you find the base causes.
Good luck,
Terry and Sequel the techno-kitten