User`s guide

44 DC 900-1406E
BSCTRAN Programmer’s Guide
2.8 RECEIVE Command
The RECEIVE command has the following format:
RECEIVE filename link# server[_ICP#] [/DTIME=h:m:s] [/BINARY]
[/RECL=n] [/FIXED]
[/FORTRAN] [/ESCAPE]
The RECEIVE command creates the file (filename), receives records from the link
(
link#) on the ICP (ICP#), and writes them into the file until the last record (the ETX
block) is received. Then the file is closed.
The BSCTRAN program recognizes Punch and Print component select sequences at the
beginning of the first record in all data blocks received from the ICP. If detected, these
sequences are deleted from the incoming data.
Valid Punch select sequences are:
ESC 4
DC2
DC3
Valid Print select sequences are:
DC1
ESC X (where X is anything except 4)
A Print select sequence of ESC X is treated as a forms-control sequence; ESC is deleted
and X is the forms-control character. If neither the
/FORTRAN nor /ESCAPE option has
been specified, a default will be determined based on the value of X. Refer to the
/FORTRAN option on page 46 and the /ESCAPE option on page 47.