Chapter Contents |
Previous |
Next |
INPUT |
All connections |
Syntax | |
Syntax Description |
Syntax |
INPUT <NODISPLAY> 'prompt'; |
The INPUT statement specifies a character string that is displayed to the user when the script executes. The specified string should be a prompt that requests a response from the user, and the user must respond by at least pressing ENTER or RETURN before script execution can continue. For example, in automatic logon scripts, the INPUT statement is used to issue prompts to the user for the userid and the password that are needed to log on to the remote host.
The INPUT statement does not automatically transmit a carriage return or ENTER key. Therefore, when writing a script, you must follow an INPUT statement with a TYPE statement if you want to transmit a carriage return or ENTER key to the remote session.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.