IBM manual 3770Link, IFERROR nnnn label, IFFILE filename label, IFNFILE filename label

Models: 3770

1 20
Download 20 pages 62.47 Kb
Page 18
Image 18
IFERROR< nnnn label

3770Link

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.

16

Page 18
Image 18
IBM manual 3770Link, IFERROR nnnn label, IFFILE filename label, IFNFILE filename label, PRINT file ptr