While setting up the Datacom Health Check Analyzer (HCA), and trying to run the shell script (starthc.sh) in batch for USS, the job produces the following error in the STDERR file
/your/uss/directory/subdirectory/forDCMHCA/starthc.sh 1: FSUM7729 missing closing "`"
Turning HEX ON within the starthc.sh file should display 40's after column 10. If the screen displays 20's across the file, it was edited in the wrong format. The following picture below shows an example of the wrong format
The starthc.sh script needs be edited in EBCDIC format and not UTF-8. This is mentioned in the documentation as "normal mode" under "Install and configure the Health Check Analyzer item 4 section c"
Follow the instructions below to fix the formatting issue
1. Exit out the starthc.sh file
2. Edit the starthc.sh in EBCDIC format (ISPF 3.17 "Udlist Print or display (to process) z/OS UNIX directory list ")
3. Input a forward slash "/" on the starthc.sh file and select option 1
4. If any entries are present in the file, please delete all lines.
5. Add the 3 lines below to the starthc.sh script file (modify line 2 with your environments proper node and app.js paths)
#!/bin/sh
nohup USS_nodejs_path/bin/node USS_healthcheck_path/package/app.js &
sleep 1
6. Save and rerun the JCL