JET 3270 Documentation > Scripting > Advanced
Advanced
Interaction between scripts
Each JET 3270 window can run only one script at a
time. If a script initiates a connection (by sending a
[reconnect] key) and is running when the connection is made,
JET 3270 will ignore any logon script. If the user
presses the key combination for a script while JET 3270
is running another script, JET 3270 does not run the new
script, and sounds an alarm.
Interaction between waitfor, send and delay commands
Sometimes data received from the host before a waitfor
command is executed can match the text argument and cause the
command to complete.
If the waitfor command is preceded by a send command, then
data received after the start of execution of the send command
can satisfy the command.
If the waitfor command is preceded by another waitfor
command, then data received after the data matching the text
argument of the first waitfor command can satisfy the second.
If a delay command precedes the waitfor command, then data
received after the delay can satisfy the waitfor command.
JET 3270 passes the special 3270 Format control
orders to the script as the graphic characters they are
displayed as.
| Order |
EBCDIC |
Character |
| NUL |
X'00' |
(space) |
| FF |
X'0C' |
(space) |
| CR |
X'0D' |
(space) |
| NL |
X'15' |
(space) |
| EM |
X'19' |
(space) |
| DUP |
X'1C' |
* |
| FM |
X'1E' |
; |
| SUB |
X'1F' |
cannot be
matched |
| EO |
X'FF' |
(space) |