Command Not running in script

Hi Everyone , have a nice day

root@sdp01a>SS7Manager -status

the problem with above given expression is that i cant add it in script , it only executes if manually given at remote node , can anyone tell me some way to run it in scripts , also i have few more commands aswell , which are for status checking ,

Regards and thanks in advance

It is probably checking ctermid or something like isatty to detemine if it is being run from a script or from the keyboard. SS7Manager sounds like proprietary software from a vendor. Do they have a solution - or is this thing a security risk when run from a shell script?

What exactly happens?

Does the script not find the command to execute?
Does it start the command, which then aborts?
Are there any error messages?