Internal Uproc saved with BOM fails during execution

Document ID : KB000084365
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
/data/exp/upr/U000004290.000: line 1: exit: command not found

When editing Internal Uprocs (CL_INT) in UVC, the text editor can add leading characters to the script.

The added character correspond to the so-called BOM (Byte Order Mark) that is used by some editors to set the encoding (UTF-8/ASCII etc.).

The particular editor settings under which this happens are unknown.
Environment:
OS: All Linux/Unix
Cause:
Cause type:
Other
Root Cause: A Byte Order Mark or BOM is added to the script when saving
Resolution:
Open the script with and external text editor like Notepad++ and save it again using the option "Save without BOM".

Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A