can not execute binary file

When I am trying to execute a script created by Perl2exe in Linux SLES 8.1 running with virtual machine on mainframe s/390 ....I am getting
"cannot execute binary file"....

In the linux server which are not in mainframe the scripts are fine.....

Thanks for help

Are the other linux servers that it runs on the same CPU architecture? If not then you will have to copy the perl script to the 390 machine and run perl2exe on it there in order to get it to run. If it still doesn't work I would start digging into library requirements and make sure you have all the library files you need to run the program as a binary.

Is there any reason this script has to be a binary and can't be executed by perl?