|
|
リモート側のSAS起動時にエラーとなる
[OS]ALL
[リリース] 6.07, 6.08, 6.09, 6.10
[キーワード] connect, script, sas, invoke, command, prompt, error, remote, session, signon, startup, messages
[質問]SAS/CONNECTを用いて、リモートセッションを実行する際、SAS起動コマンドを変更していると、スクリプトが異常終了し、以下のようなメッセージが出力されます。 ERROR: Did not get SAS software startup messages. どのように対処したらよいのでしょうか。
[回答]
SIGNONコマンドまたはSIGNONステートメントを実行すると、SASシステムオプションCOMAMID=の指定がDECNET以外ではスクリプトファイルと呼ばれる手続きファイルが処理されます。 type 'sas609 -dmr -comamid tcp -device grlink -noterminal' LF;
他にも、オペレーティングシステムのコマンドプロンプトが変更されている場合も考えられます。このときは以下のように変更します。 ● 変更前
waitfor '$'
, '>'
, '%'
, '\}'
, 'Login incorrect'
: nouser
, 'Enter terminal type'
: unx_term
, 'TERM'
: unx_term
, 30 seconds
: timeout
;
● 変更後
waitfor '$'
, '>'
, '%'
, '\}'
, ':-)' /* ←この行を追加 */
, 'Login incorrect'
: nouser
, 'Enter terminal type'
: unx_term
, 'TERM'
: unx_term
, 30 seconds
: timeout
;
|
|||||