User`s guide
36 DC 900-1406E
BSCTRAN Programmer’s Guide
The abort is performed at the BSCFTI level so that users writ-
ing their own applications can control this option by calling the
BSCDFAULT procedure. The default is
/NOABORT.
/[NO]SAFE If this option is enabled, BSCTRAN will send a Safe Store
Acknowledgment to the ICP upon successful closing of any
received file. If the file close is unsuccessful, BSCTRAN will
send a Safe Store Negative Acknowledgment. If any other error
occurs during receive, such as timeout, no safe store action will
be performed. The default is
/NOSAFE.
Caution
The user is responsible for setting Safe Store on for the link. If the
link is not configured correctly, the Safe Store Acknowledgment
will be rejected.
/RECORD=[2780,3780] BSCTRAN uses this option to determine whether to insert a
Record Separator character (if
3780 is set) or a Unit Separator
character (if
2780 is set) after each non-transparent record sent
to the ICP. This option has no effect on BSCTRAN’s handling
of records received from the ICP. The default is
/RECORD=3780.
The following steps send and receive a file in 2780 mode, first as
transparent 2780, then as non-transparent 2780:
$ RUN BSCTRAN
BSC> SET 2 spot_1 /START ! Start link 2 on server “spot”
BSC> SET 3 /START ! Start link 3 on server “spot”
BSC> DEFAULT /RECORD=2780 ! Set BSCTRAN for 2780 records
BSC>SEND X2780.TEST 2 /TRANS ! Send Transparent 2780
BSC> RECEIVE X2780.RECV 3 /BIN ! Use /BIN to receive transparent
BSC>SEND 2780.TEST 2 ! Send non-transparent 2780
BSC> RECEIVE 2780.RECV 3 ! Don’t use /BIN for non-transparent