in reply to Execution error
perl /my/program.pl [download]
( I don't know anything about AS/400 shell unfortunately).