I had an application packaged as
.tar and FTP'ed it in binary to my zOS/linux directory.
I untar the package with
tar -xvf successfully.
However when I try to run a
setup.sh script for the application I get the error in the title:
FSUM7332 syntax error: got (, expecting Newline
I have tried:
chown myuser setup.sh
chmod 775 setup.sh
- Run a checksum against the
.tarfile before FTPing from my Windows 10 desktop to the z/OS linux directory in binary.
- Checked that the shebang was set to bash, which was correct.
- from the IBM website added these lines lust under the MOTD in the script text.
unix_command=translate(unix_command,"-","(") unix_command=translate(unix_command,"-",")")to no avail.
iconvto alter codepage from iso to IBM.
I still get the same error which prevents me from installing the app.