Usage Note 43662: ERROR: Script file interpretation terminated due to error
A problem might result when the tcpunix.scr script file is used during a SAS/CONNECT® SIGNON to a UNIX spawner program (sastcpd) and then a SIGNOFF from this session is performed. The following error message might appear:
148 signoff ;
NOTE: Remote signoff from MYHOST commencing.
NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513
NOTE: The SAS System used: real time 1:07.00 cpu time 0.09 seconds
NOTE: Script file 'tcpunix.scr' entered.
ERROR: Script file interpretation terminated due to error.
NOTE: Remote signoff from MYHOST complete.
The error is expected in this scenario because the UNIX spawner program is not providing
the prompts that the Signoff section of the tcpunix.scr script file is expecting. To work around this
issue, comment out the WAITFOR and TYPE statements in the Signoff section. See the portion of the script file below:
signoff:
/* If you have established your connection to Unix via
/* Unix spawner, you should delete or comment the following */
/* WAITFOR and TYPE statements. They are not necesary for */
/* signing off of a Unix spawner and will result in slower */
/* performance of SIGNOFF. */
waitfor '$'
/*-- another common prompt character --*/
'%'
/*-- another common prompt character --*/
'}'
/*-- another common prompt character --*/
30 seconds
type 'logout' LF
log 'NOTE: SAS/CONNECT conversation
terminated.';
stop;
Operating System and Release Information
| SAS System | SAS/CONNECT | 64-bit Enabled AIX | 9.1 TS1M3 SP1 | |
| 64-bit Enabled HP-UX | 9.1 TS1M3 SP1 | |
| 64-bit Enabled Solaris | 9.1 TS1M3 SP1 | |
| HP-UX IPF | 9.1 TS1M3 SP1 | |
| Linux | 9.1 TS1M3 SP1 | |
| OpenVMS Alpha | 9.1 TS1M3 SP1 | |
| Tru64 UNIX | 9.1 TS1M3 SP1 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Date Modified: | 2012-01-22 08:48:49 |
| Date Created: | 2011-07-06 09:58:37 |