IBM 3770 User Manual
Page 18

3770Link
16
Command Syntax Description
IFERROR< nnnn label
If error code less than nnnn, branch to label.
IFERROR>= nnnn label
If error code greater than or equal to nnnn,
branch to label.
IFERROR<= nnnn label
If error code less than or equal to nnnn,
branch to label.
IFERROR!= nnnn label
If error code not equal to nnnn, branch to
label.
IFFILE filename label
If filename exists, branch to label.
IFNFILE filename label
If filename does not exist, branch to label.
LOG /on | /off
Turn logging on or off.
LOGON [message]
Send logon message to the host.
LOGOFF [message]
Send logoff message to the host.
LOOP label
Loop to label until LOOPCOUNT exceeded.
LOOPCOUNT x
Set loop count for LOOP and IF loops.
PAUSE hh:mm
Suspend session until hh:mm (military time).
PAUSE +x
Suspend session for x seconds.
PIPE [pipename] [/t=x | /m=x]
Create a pipe.
/t=x - Time-out after x seconds.
/m=x - Time-out after x minutes.
PRINT file ptr
Print file to ptr.
PTR name [/n | /s] [/a] [/b] [/t]
Define the printer device.
/n - Use auto file naming.
/s - Use auto file naming, skip existing files.
/a - Append to existing file.
/b - Receive in binary mode.
/t - Don't translate transparent records to
ASCII.
PUN name [/n | /s] [/a] [/b] [/t]
Define the punch device.
/n, /s, /a, /b, /t - See PTR command.
QUIT [/f] [/x=nn]
Exit script processing.
/f - Terminate I/O and force disconnect.
/x=nn - Return exit code nn.