1. Bernhard Stoeter
  2. PowerBuilder
  3. Tuesday, 17 August 2021 07:30 AM UTC

I’d like to migrate a fully rebuilded PB19R2 application to PB21 using orcascr210.exe. The same happens if I "re-migrate" an PB21 app.

 

"C:\Program Files (x86)\Appeon\PowerBuilder 21.0\orcascr210.exe" /D runtime_version="21.0.0.1288" .\Migrate.dat

 

Migrate.dat:

; demoapp

start session

set liblist "d:\PB21\Tests\DemoApp\demoapp.pbl;"

set application "d:\PB21\Tests\demoapp.pbl" "demoapp"

build application migrate

end session

 

What I get is:

Appeon (R) OrcaScript interpreter version 21.0

     Using ANSI source file .\Migrate.dat.

Start Session

Set Liblist

      "d:\PB21\Tests\DemoApp\demoapp.pbl"

Set Application "d:\PB21\Tests\demoapp.pbl" "demoapp"

   Orca error in 'Set Application'. Result Code -6.

   Library 'd:\PB21\Tests\demoapp.pbl' is not in library list

   The library is not in the current Orca session library list.

Last Command Failed.

End Session

 

The demoapp.pbl exists and is not locked (can be renamed, deleted, ...).

 

Demoapp.pbw:

Save Format v3.0(19990112)

@begin Targets

 0 "demoapp.pbt";

@end;

DefaultTarget "demoapp.pbt";

DefaultRemoteTarget "demoapp.pbt";

 

Demoapp.pbt:

Save Format v3.0(19990112)

@begin Targets

 0 "demoapp.pbt";

@end;

DefaultTarget "demoapp.pbt";

DefaultRemoteTarget "demoapp.pbt";

 

What am I missing?

 

Thanks in advance

Bernhard

Attachments (1)
Bernhard Stoeter Accepted Answer Pending Moderation
  1. Wednesday, 18 August 2021 05:43 AM UTC
  2. PowerBuilder
  3. # 1

Hi Arnd,

thank you, my fault.

Regards
Bernhard

Comment
There are no comments made yet.
Arnd Schmidt Accepted Answer Pending Moderation
  1. Tuesday, 17 August 2021 10:16 AM UTC
  2. PowerBuilder
  3. # 2

 

I think that ORCA is right.

set liblist "d:\PB21\Tests\DemoApp\demoapp.pbl;"

set application "d:\PB21\Tests\demoapp.pbl" "demoapp"

The library d:\PB21\Tests\demoapp.pbl is not in the libary list.

 

hth

Arnd

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.