SetScript errors received when executing Spectrum AlarmNotifier

book

Article ID: 51578

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

SetScript errors received when executing Spectrum AlarmNotifier

Errors similar to the following are seen in the $SPECROOT/Notifier/NOTIFIER.OUT file:

====================================================

/d/win32app/SPECTRUM/Notifier/SetScript: line 18: $'\r': command not found

/d/win32app/SPECTRUM/Notifier/SetScript: line 53: $'\r': command not found

/d/win32app/SPECTRUM/Notifier/SetScript: line 54: $'\r': command not found

/d/win32app/SPECTRUM/Notifier/SetScript: line 55: syntax error near unexpected token '$'in\r''

/d/win32app/SPECTRUM/Notifier/SetScript: line 55: 'case '/bin/uname` in '

=====================================================

Environment

Release: Any version installed on Windows
Component: SPCAEM

Resolution

  1. Set the environmental variable shellopts = igncr to resolve the case.

  2. Restart the operating system for the changes to take effect.