I am using PASE on a system i with i5/OS, and trying add an expect script to run SFTP.
I thought I had installed Expect and TCL correctly:
Download expect.5.43.tar.Z and tcl.8.4.9.tar.Z
uncompress them both,
run "tar xf" on them both,
When I try to run the expect script I get:
/usr/local/bin/expect -f xxxExpectScript
/usr/local/bin/expect: 001-0050 Syntax error on line 1: token ")" not expected.
This same error occurs whatever I enter for the file parameter, even junk characters or leave it blank.
What should I look for to see if I have installed expect and tcl correctly? Is there anything else I'm missing?
Thanks for any help out there,
Pinned topic Error on Expect - 001-0050 Syntax error on line 1: token ")" not expected.
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-10-26T18:12:08Z at 2011-10-26T18:12:08Z by JasonWallace
JasonWallace 120000NK5H2 Posts
Re: Error on Expect - 001-0050 Syntax error on line 1: token ")" not expected.2011-10-26T18:12:08ZThis is the accepted answer. This is the accepted answer.
- JasonWallace 120000NK5H
signed on as qsecofr, and uncompress and tar xf them.