Create individual compile actions #2901
-
|
Hi, I created a new compile action called build that triggers context sensitive compile processes. My question is: what triggers the message unsuccessful creation of a programm? Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Hi @KPL-PGMR , Check your build process and if it's a script (for example), make sure it returns an exit code that reflects the build outcome. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @sebjulliand , |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hi @sebjulliand , |
Beta Was this translation helpful? Give feedback.

When you call a command in a shell, any command, it always return a exit code (or exit status) telling the shell if it was successful or not.
0means OK, anything else means something bad happened.You can check it for yourself by opening a PASE terminal from Code for i and running these commands:
This will make echo print
0:This will make echo print
255:The special variable
$?is the exit code of the last command run in the shell. So when the secondsystem "DSPLIB..."call failed, its exit status was255.So, depending on how your specific build command or script ends, if it always return an exit code 0, the action will always…