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,
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
3 replies Latest Post - 2011-10-26T18:12:08Z by JasonWallace
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