New to PB 19.
Migrating an app from PB 8 to PB 19. I have a short list of errors. Two at least appear to be PB related and not coding issues -
pfcmain.pbl(pfc_n_trp).2: Error C0001: Illegal data type: transport
pfemain.pbl(n_trp).2: Error C0001: Illegal data type: pfc_n_trp
Google found this -
"It's ancestor (transport object ) is gone declared as obsolete some versions ago.
Make sure also to delete n_trp in the pfe layer (pfe_main). "
(http://codeverge.com/sybase.powerbuilder.pfc/illegal-data-type-pfc_n_trp/836047)
Before I just start blasting at code can anyone provide guidance on working with obsolete code in PB? What else should I be looking for?
---
These are the other errors which as mentioned I think are programmer issues.
export_datawindow.pbl(nvo_export_shared).nvo_export_shared.ue_export_report.36: Error C0081: Duplicate variable: li_y
export_datawindow.pbl(nvo_export_shared).nvo_export_shared.ue_export_report.191: Error C0116: Reference argument type does not match function definition: uf_calc_y
export_datawindow.pbl(nvo_export_shared).nvo_export_shared.ue_export_report.192: Error C0052: Bad argument list for function: ue_print_file_row
I think resolving the first error will resolve the others. In one instance li_y is delared as an integer and then as an array.
integer li_rc, li_cnt, li_total, li_d_row, li_y, li_success = -1, li_pos, li_grp
integer li_y[]
this.uf_calc_y( li_y, lds_data, lds_col, 'foreground', FALSE, FALSE, FALSE)
this.event ue_print_file_row ( lds_data, lds_col, 1, 'foreground', li_y)
Thanks.