rahuldbhandare
16th June 2008, 08:35
We are in process of migrating baan application from one server to a new server with high end configuration. we have configured baan application on the new server and doing the application verification.

While trying to start VI editor from baan application (by using Run program option and running ksh -o vi) VI editor is not getting opened.

We have application scripts which use "shell" command to execute some Unix commands and perform the necessary steps at the OS level.

This is causing application job failures on the new application server.

Please help in this regards

dave_23
16th June 2008, 10:56
if you do Run: !ksh

and then do "vi" does it return anything?

The new server might not have vi in it's default PATH

Dave

sarang.pathak
16th June 2008, 12:58
Dave, we are also getting problem with the shell() function execution. In the script wherever we use the shell() function, it hangs. We have migratied the application from one server to another and it was file system level migration. We are not able to find out what is the change in the new server which is stopping us use of shell() function.

- Sarang

george7a
16th June 2008, 14:42
Hi,

About the Shell() function:
This function is supported for backward compatibility only. In new applications, use run.prog() and run.baan.prog() instead.

The function is available only for programs running under UNIX, and not for programs running under Windows NT.

For more info about it check this link:
http://www.baanboard.com/programmers_manual_baanerp_help_functions_starting_and_stopping_programs_shell

- George

Leon Stone
17th June 2008, 08:35
We are using BAAN 5.0B version and it is running under HP-UX 11.11. We made a copy of our current system and restored it on to a new Unix server.
The shell() command stopped working on the new Unix server. I believe run.prog() works fine on the new server.

Here are our questions:

(1) What system parameters or settings we need to set in order to run the Shell() command correctly?
(2) What is the difference between run.prog() and Shell()?
(3) When did BAAN make the switch from Shell() to run.prog()? In our 5.0B version, we can still see a mixture of Shell() and run.prog().

Thanks in advance for any help.
Leon