PowerServer Executing external program
- New
- How-to
- Jhonns Salas
- PowerServer
- Friday, 31 January 2025 09:53 PM UTC
Hello,
Recently the company migrated an PowerBuilder application to PowerServer 2022,
There is program built in PowerBuilder, and it is executed to generate reports.
When application is executed in PowerServer, it is Not running.
There is any limitation in PowerServer to execute an external program.
This external program file is located in the same folder where the PowerBuilder application is running.
This is the way i call the program:
ls_exe_command = "ebill_print.exe " &
+ "-s" + gs_server_name &
+ "-d" + gs_database_name
li_return = run(ls_exe_command)
IF li_return = -1 THEN
MessageBox("Attention!" , "Error executing BOL printing")
END IF
Please, let me know your observations.
Thanks,
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.