The TYPE
statement sends characters to the server as if they had been typed
on a personal computer that is attached to that operating environment.
For example, in a script that automatically signs on to the server,
you use a TYPE statement to issue the server sign-on command.
text can be any combination of the following:
-
literal string(s) that are enclosed
in quotation marks, such as 'any string'.
-
hexadecimal character string(s)
that are enclosed in quotation marks, such as '01020304X'.
-
3270 key mnemonics if you have
a 3270 connection.
If you
use TYPE statements in the script and some characters that are specified
by the statement are not typed, try using the WAITFOR statement to
establish a pause in script execution between TYPE statements.
To use
a TYPE statement that has more than 80 characters in a sign-on script,
divide the TYPE statement into two or more TYPE statements. To divide
the TYPE statement, insert a hyphen (-) at the division point. For
example, consider the following TYPE statement:
type "sas options ('dmr comamid=tcp')"
enter;
To divide
this statement, change it as follows:
type "sas options ('dmr comamid=-" enter;
type "tcp')" enter;
Note: Do not insert
spaces before or after the hyphen.