cancel
Showing results for 
Search instead for 
Did you mean: 

Crash running an orcascript with newvstylecontrols flag

Former Member
0 Kudos

Hi,

I'm having trouble running a script with ORCA.

My script has the following structure:


START SESSION

SET LIBLIST

<List of Libraries>

SET APPLICATION "xh00appl_generic.pbl" "appl_generic"

BUILD APPLICATION FULL

BUILD LIBRARY <Library1> PBD

...

BUILD LIBRARY <LibraryN> PBD

BUILD EXECUTABLE "appl_generic.exe" ".\icons\appl_generic.ico" "" "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY" newvstylecontrols

END SESSION

Running this script with orcascr105.exe, it crashes.

The weird thing is that if I remove the newvstylecontrols flag, the script runs perfectly.

Another thing to note is the high number of libraries I'm using. If I run the script with a lower number of libraries (approximately 290 instead of the 301 it's using now), the executable generates correctly, even with the newvstylecontrols flag.

It's not a problem with the code in the libraries, because the application compiles correctly on the PowerBuilder IDE, so it seems it's an orcascript problem.

Does anyone know what is the problem?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Isidro;

  Yes, this sounds like an ORCAScript issue. I know from experience that ORCAScript can be finicky. Unfortunately, PB 10.5 is no longer supported and SAP have removed all the EBF downloads for older PB versions. So I am not sure how to advise you to proceed given this EOL'ed version of PB.

  The only alternatives I can suggest are to either a) upgrade to a supported PB version or b) look at the PowerGEN product. At least the IDE build is working for now.

Regards ... Chris

Former Member
0 Kudos

Hi Chris, thanks for answering.

I have tried migrating my application to PB12.5, that I think it's still supported, and, unfortunately, orcascr125.exe crashes the same way if I use the newvstylecontrols flag.

Former Member
0 Kudos

Hi Isidro;

1) Make sure that you apply either the 12.5.1 or 12.5.2 MR as 12.5.0 was quite buggy

2) You could try it with the latest  PB 12.6 release (see if SAP fixed it already).

3) If you can reproduce the problem with either PB 12.5.x or 12.6.x though, I would suggest opening a support case with SAP (just my $0.02).

Regards ... Chris

Former Member
0 Kudos

Thank you very much Chris.

I use PB 12.5.2. I'll try opening a support case.

CobyKako
Advisor
Advisor
0 Kudos

Can you try to use this undocumented option "3pass" for large targets:

Note 1990866:PowerBuilder crash when building large/complex targets generated by ORCAScript …

scc refresh target "3pass"

This option was introduced with PowerBuilder 12.1 but should work with PowerBuilder 12.5.2

HTH

Jacob

Former Member
0 Kudos

Hi Jacob. Thanks for answering.

It's not working. My problem is not in the compilation proccess, the PBD's are generated correctly, but with the BUILD EXECUTABLE command, when the executable is being generated with the newvstylecontrols flag.

CobyKako
Advisor
Advisor
0 Kudos

Hello,

For your information, KBA 2191683

( https://service.sap.com/sap/support/notes/2191683 ) has been created to report this defect.

You can track the progression of the bug fix by subscribing to this KBA

HTH,

Jacob