apianalyze fails either with either "ksh: syntax error: `}' unexpected" or "in Bourn shell bash: apianalyze: line 69: syntax error near unexpected token `}'" or "Command not found"

apianalyze fails either with either "ksh: syntax error: `}' unexpected" or "in Bourn shell bash: apianalyze: line 69: syntax error near unexpected token `}'" or "Command not found"

book

Article ID: KB0090215

calendar_today

Updated On:

Products Versions
TIBCO InConcert -
Not Applicable -

Description

Resolution:
The first two syntax errors are caused because perl was not in the default location of "/usr/local/bin/perl" on UNIX.  Change that line in apianalyze to match the actual path.  Adding perl to the PATH does not solve the issue.

The third issue of "Command not found" is caused by copying an apianalyze from Windows to UNIX without translating the file using unix2dos which is a UNIX utility on Solaris.

Issue/Introduction

apianalyze fails either with either "ksh: syntax error: `}' unexpected" or "in Bourn shell bash: apianalyze: line 69: syntax error near unexpected token `}'" or "Command not found"