I'm new to powerbuilder application.
I need to migrate PB 9 version to PB 11.1 version. Pls, help me what
is the step to migrate to PB 11 version.
I have download PFC file latest version and replace with the existing
one. And i have migrated the application and open in PB 11. i'm facing
many errors. Pls help i have given below details:
1) Create of "Application" failed. possible causes: 4 Points.
2) Open of window W_open failed. It has been migrated to current
version format, but must also be successfully regenerated.
Rgds,
Chidambaram
- Migrate your existing PB9 application to PB11 first. This is as simple as
opening the workspace in the new IDE.
- Now replace the downloaded PFC/PFE libraries, and do a full regen.
The difficulty will come if you have made custom modifications to the
PFC/PFE layer (or added an intermediate PFD layer). These will have to be
merged into the new PFC/PFE libraries on an object-by-object basis.
Paul Horan[Sybase]
<chithu.pa...@gmail.com> wrote in message
news:fd428cb7-b52d-47d3...@z6g2000pre.googlegroups.com...
The PFC migration itself is not a big deal unless you have lots of
customizations.
Regards,
John
<chithu.pa...@gmail.com> wrote in message
news:fd428cb7-b52d-47d3...@z6g2000pre.googlegroups.com...
Good luck,
Terry [TeamSybase] and Sequel the techno-kitten
On 18 Sep 2008 11:14:40 -0700, "Paul Horan[TeamSybase]"
<phoran...@sybase.com> wrote:
*********************************
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
=*=
I have regenerated all the PBL to Powerbuilder 11 Version.
But i didn't have any problem in the PFC/PFE library files in PB 11
Version after migrating. I can able to open all PFC/PFE files after
migrating in the PB 11 Version. It works.
But other PBL(In my Project) files if i try to open a frame window or
User Object. I get a error such as
"Open of Window W_ops_frame failed. It has been migrated to current
version format, but most also be successfully regenerated."
"Create of Opsrptapp failed. Possible causes:
1 - Object does not exist
2 - Its ancestor has been deleted
3 - An object it references has been deleted
4 - Object was created in a newer version of Powerbuilder."
All the Frame window and User object the inherited to the other pbl
files is not working in the project after migration to Powerbuilder 11
version it shows the above error.
Inherited frame or object window: one frame to another frame it loss
the property of inherited after migrating to PB 11.
But I’m not getting any error Other PBL(My Project) in menu windows
and Data windows.
Thk & Rgd,
Chidambaram
On Sep 18, 11:14 pm, "Paul Horan[TeamSybase]"
<phoran_nos...@sybase.com> wrote:
> I think you may have done that backwards....
>
> - Migrate your existing PB9 application to PB11 first. This is as simple as
> opening the workspace in the new IDE.
> - Now replace the downloaded PFC/PFE libraries, and do a full regen.
>
> The difficulty will come if you have made custom modifications to the
> PFC/PFE layer (or added an intermediate PFD layer). These will have to be
> merged into the new PFC/PFE libraries on an object-by-object basis.
>
> Paul Horan[Sybase]
>
> <chithu.palaniap...@gmail.com> wrote in message
>
> news:fd428cb7-b52d-47d3...@z6g2000pre.googlegroups.com...
>
>
>
> > Hi All,
>
> > I'm new to powerbuilder application.
>
> > I need to migrate PB 9 version to PB 11.1 version. Pls, help me what
> > is the step to migrate to PB 11 version.
>
> > I have download PFC file latest version and replace with the existing
> > one. And i have migrated the application and open in PB 11. i'm facing
> > many errors. Pls help i have given below details:
>
> > 1) Create of "Application" failed. possible causes: 4 Points.
>
> > 2) Open of window W_open failed. It has been migrated to current
> > version format, but must also be successfully regenerated.
>
> > Rgds,
> > Chidambaram- Hide quoted text -
>
> - Show quoted text -
I'd start with a new workspace, then add a **copy** (I trust you've
read my Migration Guide, see below for my site <g>) of your PB9
target. At that point you should be presented with a migration dialog,
which should take as long as a full regen of the app, or maybe a
little longer. After that is done and all the issues dealt with, swap
in your new PFC layer. A full regen after that is probably
appropriate.
Good luck,
Terry and Sequel the techno-kitten
On Thu, 18 Sep 2008 22:25:03 -0700 (PDT), chithu.pa...@gmail.com
wrote:
*********************************
Powerbuilder 11.1:
---------------------------
I have Migrate(File->New->Tools->Migration Assistant option) all the
PBL to Powerbuilder 11 Version.
But i didn't have any problem in the PFC/PFE library files in PB 11
Version after migrating. I can able to open all PFC/PFE files after
migrating in the PB 11 Version. It works.
But other PBL(In my Project) files if i try to open a frame window or
User Object. I get a error such as
"Open of Window W_ops_frame failed. It has been migrated to current
version format, but most also be successfully regenerated."
"Create of Opsrptapp failed. Possible causes:
1 - Object does not exist
2 - Its ancestor has been deleted
3 - An object it references has been deleted
4 - Object was created in a newer version of Powerbuilder."
All the Frame window and User object the inherited to the other pbl
files is not working in the project after migration to Powerbuilder
11
version it shows the above error.
Inherited frame or object window: one frame to another frame it loss
the property of inherited after migrating to PB 11.
But I’m not getting any error Other PBL(My Project) in menu windows
and Data windows.
I have to create newly all the frame window and object window in
powerbuilder 11 after migration because i can able to open in
powerbuilder 11.1.
Powerbuilder 9:
----------------------
I have source code PBL(PB 9) written in a two year back.
I have change some coding and design in the PB 9 and build
successfully no error and it run successfully. But, i try to create a
EXE file(File->New->Project->Application). After create a
execution(EXE) file. i have some problem.
I can't able to open EXE file and get a just-in-time compiler Error.
After that i try to open the Powerbuilder 9 (Project->Application)EXE
file. I can't able to open a Applcation Windows.
You can guess what is the problem while creating the Application files
in PB 9.
Rgds & Thanks,
Chidambaram
On Sep 19, 4:37 pm, "Terry Voth [TeamSybase]" <seq...@techno-
kitten.com> wrote:
> Maybe it's a slip of the tongue, but "regenerated" is the wrong word
> in this case. If you've had to regenerate PBLs, and haven't been
> presented with a migration dialog, something's wrong (which would also
> explain your symptoms).
>
> I'd start with a new workspace, then add a **copy** (I trust you've
> read my Migration Guide, see below for my site <g>) of your PB9
> target. At that point you should be presented with a migration dialog,
> which should take as long as a full regen of the app, or maybe a
> little longer. After that is done and all the issues dealt with, swap
> in your new PFC layer. A full regen after that is probably
> appropriate.
>
> Good luck,
>
> Terry and Sequel the techno-kitten
>
> On Thu, 18 Sep 2008 22:25:03 -0700 (PDT), chithu.palaniap...@gmail.com
> Build your vocabulary while feeding the hungryhttp://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
> =*=- Hide quoted text -
After migration from Powerbuilder 9 to Powerbuilder 11.1 version. I'm
facing below errors.
Errors:
======
DSEAPSRV.PBL(dse_n_cst_filesrvmac).2: Error C0001: Illegal data
type: n_cst_filesrvmac
DSEAPSRV.PBL(dse_n_cst_filesrvwin16).2: Error C0001: Illegal
data type: n_cst_filesrvwin16
DSEAPSRV.PBL(dse_n_cst_platformmac).2: Error C0001: Illegal data
type: n_cst_platformmac
DSEAPSRV.PBL(dse_n_cst_platformwin16).2: Error C0001: Illegal
data type: n_cst_platformwin16
DSEAPSRV.PBL(dse_w_changepassword).dse_w_changepassword.dse_changepassword.
75: Error C0039: Cursor/Procedure (stp_password) has not been
declared.
DSEAPSRV.PBL(dse_w_changepassword).dse_w_changepassword.dse_changepassword.
79: Error C0031: Syntax error
DSEAPSRV.PBL(dse_w_changepassword).dse_w_changepassword.dse_changepassword.
104: Error C0031: Syntax error
DSEAPSRV.PBL(dse_w_print).2: Error C0001: Illegal data type:
w_print
opsmaint.pbl(w_auto_entilement).w_auto_entilement.wf_reorder_item.35:
Error C0039: Cursor/Procedure (proc_reorder) has not been
declared.
opsmaint.pbl(w_auto_entilement).w_auto_entilement.wf_reorder_item.37:
Error C0015: Undefined variable: proc_reorder
opsmaint.pbl(w_maint_subcat).w_maint_subcat.wf_delete.21: Error
C0039: Cursor/Procedure (proc_del_subcat) has not been declared.
opsmaint.pbl(w_maint_subcat).w_maint_subcat.wf_delete.23: Error
C0015: Undefined variable: proc_del_subcat
opsmaint.pbl(w_maint_subcat).w_maint_subcat.wf_delete.42: Error
C0039: Cursor/Procedure (proc_ditem) has not been declared.
opsmaint.pbl(w_maint_subcat).w_maint_subcat.wf_delete.44: Error
C0015: Undefined variable: proc_ditem
OPSRPTS.PBL(u_report_maint_test).u_report_maint_test.constructor.8:
Error C0039: Cursor/Procedure (proc_user_lvl) has not been
declared.
OPSRPTS.PBL(u_report_maint_test).u_report_maint_test.constructor.12:
Error C0015: Undefined variable: proc_user_lvl
OPSRPTS.PBL(w_ops_rpts_sheet).w_ops_rpts_sheet.pfc_postopen.120:
Error C0039: Cursor/Procedure (proc_finan_pg) has not been
declared.
OPSRPTS.PBL(w_ops_rpts_sheet).w_ops_rpts_sheet.pfc_postopen.122:
Error C0015: Undefined variable: proc_finan_pg
OPSRPTS.PBL(w_ops_rpts_sheet).w_ops_rpts_sheet.pfc_postopen.135:
Error C0039: Cursor/Procedure (proc_exec_sum) has not been
declared.
OPSRPTS.PBL(w_ops_rpts_sheet).w_ops_rpts_sheet.pfc_postopen.137:
Error C0015: Undefined variable: proc_exec_sum
OPSRPTS.PBL(w_ops_rpts_sheet).w_ops_rpts_sheet.pfc_postopen.155:
Error C0031: Syntax error
OPSRPTS.PBL(w_ops_rpts_sheet).w_ops_rpts_sheet.pfc_postopen.156:
Error C0031: Syntax error
OPSRPTS.PBL(w_ops_rpts_view).w_ops_rpts_view.ue_setsql.22: Error
C0039: Cursor/Procedure (cur_report_sql_select) has not been declared.
OPSRPTS.PBL(w_ops_rpts_view).w_ops_rpts_view.ue_setsql.64: Error
C0039: Cursor/Procedure (cur_report_sql_select) has not been declared.
OPSRPTS.PBL(w_ops_rpts_view).w_ops_rpts_view.ue_setsql.70: Error
C0015: Undefined variable: cur_report_sql_select
OPSRPTS.PBL(w_ops_rpts_view).w_ops_rpts_view.ue_setsql.79: Error
C0031: Syntax error
OPSRPTS.PBL(w_ops_rpts_view).w_ops_rpts_view.ue_setsql.80: Error
C0031: Syntax error
opsuser.pbl(u_usritem_tbpg).u_usritem_tbpg.ue_after_constructor.6:
Error C0039: Cursor/Procedure (proc_user_lvl) has not been
declared.
opsuser.pbl(u_usritem_tbpg).u_usritem_tbpg.ue_after_constructor.10:
Error C0015: Undefined variable: proc_user_lvl
opsuser.pbl(w_mirror).cb_1.clicked.22: Error C0039: Cursor/
Procedure (mirror_user) has not been declared.
opsuser.pbl(w_mirror).cb_1.clicked.24: Error C0015: Undefined
variable: mirror_user
OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.9: Error
C0039: Cursor/Procedure (proc_usr_rptcd_c) has not been declared.
OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.11: Error
C0015: Undefined variable: proc_usr_rptcd_c
OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.17: Error
C0031: Syntax error
OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.20: Error
C0031: Syntax error
OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.23: Error
C0031: Syntax error
Please, can any one give solution for above errors in powerbuilder
11.1 version.
Regards,
Chidambaram
> > - Show quoted text -- Hide quoted text -
The one that confuses me most is the "Cursor/Procedure has not been
declared". While migrating, are you connected to a database that will
resolve all your embedded SQL?
Good luck,
Terry and Sequel the techno-kitten
On Mon, 22 Sep 2008 03:28:55 -0700 (PDT), chithu.pa...@gmail.com
wrote:
I have some problem in Powerbuilder 11.1 migration(Vista Machine).
All the below library is removed in the powerbuilder 11.1 (PFC/PFE)
Files. What should i do now?
(i.e. n_cst_filesrvmac, n_cst_filesrvwin16, n_cst_platformmac and
n_cst_platformwin16)
DSEAPSRV.PBL(dse_n_cst_filesrvmac).2: Error C0001: Illegal data
type: n_cst_filesrvmac
DSEAPSRV.PBL(dse_n_cst_filesrvwin16).2: Error C0001: Illegal
data type: n_cst_filesrvwin16
DSEAPSRV.PBL(dse_n_cst_platformmac).2: Error C0001: Illegal
data
type: n_cst_platformmac
DSEAPSRV.PBL(dse_n_cst_platformwin16).2: Error C0001: Illegal
data type: n_cst_platformwin16
Below is syntax error and undefined varible in procedure name.
OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.11: Error
C0015: Undefined variable: proc_usr_rptcd_c
OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.17: Error
C0031: Syntax error
OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.20: Error
C0031: Syntax error
OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.23: Error
C0031: Syntax error
DSEAPSRV.PBL(dse_w_changepassword).dse_w_changepassword.dse_changepassword.
79: Error C0031: Syntax error
Thks & Rgds,
Chidambaram
On Sep 22, 4:56 pm, "Terry Voth [TeamSybase]" <seq...@techno-
kitten.com> wrote:
> Without looking at the code, troubleshooting these will be pretty
> difficult. You might have to manage this yourself, or bring in a
> consultant.
>
> The one that confuses me most is the "Cursor/Procedure has not been
> declared". While migrating, are you connected to a database that will
> resolve all your embedded SQL?
>
> Good luck,
>
> Terry and Sequel the techno-kitten
>
> On Mon, 22 Sep 2008 03:28:55 -0700 (PDT), chithu.palaniap...@gmail.com
> wrote:
>
>
>
>
>
> >Hi All,
>
> >After migration from Powerbuilder 9 to Powerbuilder 11.1 version. I'm
> >facing below errors.
>
> >Errors:
> >======
>
> >DSEAPSRV.PBL(dse_n_cst_filesrvmac).2: Error C0001: Illegal data
> >type: n_cst_filesrvmac
> >DSEAPSRV.PBL(dse_n_cst_filesrvwin16).2: Error C0001: Illegal
> >data type: n_cst_filesrvwin16
> >DSEAPSRV.PBL(dse_n_cst_platformmac).2: Error C0001: Illegal data
> >type: n_cst_platformmac
> >DSEAPSRV.PBL(dse_n_cst_platformwin16).2: Error C0001: Illegal
> >data type: n_cst_platformwin16
> >DSEAPSRV.PBL(dse_w_changepassword).dse_w_changepassword.dse_changepassword.
> >75: Error C0039: Cursor/Procedure (stp_password) has not been
> >declared.
> >DSEAPSRV.PBL(dse_w_changepassword).dse_w_changepassword.dse_changepassword.
> >79: Error C0031: Syntax error
> >DSEAPSRV.PBL(dse_w_changepassword).dse_w_changepassword.dse_changepassword.
> >> > >> > Hi All,- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -...
>
> read more »
Looks like you've got an intermediate layer (DSE) that has some
issues.
You might simply remove those objects from your DSE layer. They
probably aren't reference and aren't the cause of the later errors.
What specifically is in the events/functions where you are getting the
syntax errors?
On Tue, 23 Sep 2008 05:32:45 -0700 (PDT), chithu.pa...@gmail.com
Thanks a lot for u'r answer.
I'm migrating for PB9 to PB11 in Vista machine. I get files for PB9
version in "pfcapsrv.pbl".
These files are available in pb 9 inside the "pfcapsrv.pbl" and
"pfeapsrv.pbl" (i.e. n_cst_filesrvmac, n_cst_filesrvwin16,
n_cst_platformmac, Pfc_n_cst_platformwin16 and n_cst_platformwin16).
But PB11 inside the "pfcapsrv.pbl" and "pfeapsrv.pbl" these files are
missing. (i.e. n_cst_filesrvmac, n_cst_filesrvwin16,
n_cst_platformmac, Pfc_n_cst_platformwin16 and n_cst_platformwin16).
what should i do no? Please advise.
u'r right intermediate layer is (DSE). These DSE layer is refering the
"PFCAPSRV.PBL" files. (i.e. Pfc_n_cst_platformwin16,
n_cst_filesrvmac, n_cst_filesrvwin16, n_cst_platformmac and
n_cst_platformwin16).
Syntax error because i have "OPSMAIN.PBL" file.
i.e.
OPSMAIN.PBL(w_ops_frame).w_ops_frame_menus. 23: Error C0031:
Syntax error
public function integer of_set_array_param (str_array_param
astr_array_param);if isvalid ( astr_array_param ) and not Isnull
( astr_array_param ) then
istr_user_info.e_str_array_param = astr_array_param
end if
opsuser.pbl(w_mirror).cb_1.clicked.24: Error c0015: undefined
variable: Mirror_user
Declare mirror_user procedure For @ret_val = spo_mirror_user
@i_from = :ls_mirror_from, @i_to = :ls_mirror_to
Using SQLCA;
Execute mirror_user;
FETCH mirror_user INTO :ll_rtn_cd;
CLOSE mirror_user;
Commit using SQLCA;
If ll_rtn_cd <> 0 Then
messagebox("Error", "Mirror User Failed with Return Code '" +
string(ll_rtn_cd) + "'")
return ll_rtn_cd
ElseIf ll_rtn_cd = 0 Then
ib_mirror_done = True
MessageBox("Ops Report", "Mirror Function has completed with
success")
End If
what should i do no? Please advise.
Regards & Thanks,
Chidambaram
On Sep 25, 5:54 pm, "Bruce Armstrong [TeamSybase]"
<NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> Where did you get the files from? We didn't remove them in the OS PFC
> project.
>
> Looks like you've got an intermediate layer (DSE) that has some
> issues.
>
> You might simply remove those objects from your DSE layer. They
> probably aren't reference and aren't the cause of the later errors.
> What specifically is in the events/functions where you are getting the
> syntax errors?
>
> On Tue, 23 Sep 2008 05:32:45 -0700 (PDT), chithu.palaniap...@gmail.com
> wrote:
>
>
>
> >Hi All,
>
> >I have some problem in Powerbuilder 11.1 migration(Vista Machine).
>
> >All the below library is removed in the powerbuilder 11.1 (PFC/PFE)
> >Files. What should i do now?
> >(i.e. n_cst_filesrvmac, n_cst_filesrvwin16, n_cst_platformmac and
> >n_cst_platformwin16)
>
> >DSEAPSRV.PBL(dse_n_cst_filesrvmac).2: Error C0001: Illegal data
> >type: n_cst_filesrvmac
> >DSEAPSRV.PBL(dse_n_cst_filesrvwin16).2: Error C0001: Illegal
> >data type: n_cst_filesrvwin16
> >DSEAPSRV.PBL(dse_n_cst_platformmac).2: Error C0001: Illegal
> >data
> >type: n_cst_platformmac
> >DSEAPSRV.PBL(dse_n_cst_platformwin16).2: Error C0001: Illegal
> >data type: n_cst_platformwin16
>
> >Below is syntax error and undefined varible in procedure name.
>
> >OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.11: Error
> >C0015: Undefined variable: proc_usr_rptcd_c
> >OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.17: Error
> >C0031: Syntax error
> >OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.20: Error
> >C0031: Syntax error
> >OPSMAIN.PBL(w_ops_frame).w_ops_frame.of_enable_menus.23: Error
> >C0031: Syntax error
> >> >> > little- Hide quoted text -
I don't think structures can be null anymore, so that may be your
second problem. (It's **really** hard to tell remotely like this, e.g.
in this case, data types are important.)
On the third one, are you connected to a database that has a
definition of mirror_user when you're migrating? (I avoid embedded
SQL, so this is just a hunch.)
Good luck,
Terry [TeamSybase] and Sequel the techno-kitten
On Mon, 29 Sep 2008 00:33:32 -0700 (PDT), chithu.pa...@gmail.com
wrote:
*********************************
And confirmed that the pfeapsrv.pbl file there *does* contain those
objects. I don't know where you're getting them from.
On Mon, 29 Sep 2008 00:33:32 -0700 (PDT), chithu.pa...@gmail.com
wrote:
>Bruce,
"Bruce Armstrong [TeamSybase]" <NOCANSPAM_br...@teamsybase.com>
wrote in message news:56j1e4p05715llbjm...@4ax.com...