Tctl Routine - IBM 5280 Programmer's Manual

Distributed data system, cobol
Hide thumbs Also See for 5280:
Table of Contents

Advertisement

TCTL Routine
write-final- An F indicates the write final option. This is the last WRITE in
a series. A write final causes the CAM to request positive response from the
host that the entire series of WRITEs has been successful.
This routine permits the use of BSC line control, giving you more control over
the data communications exchange.
The format of the statement to call the TCTL routine is:
CALL "AVCLCTL" USING
parameter-l
parameter-l is a data-item you code as follows:
01 parameter-1
02 return-code
02 control
PIC 9999.
PIC XXXX.
return-code - contains a code posted by the TCTL routine upon completion.
The return-codes and their meanings are explained in the IBM 5280
Communications Reference Manual, SC34-0247.
control- the device control command. For SNA, the value 0007 is valid,
indicating that a signal should be sent to the host. For BSC, the values in the
following table are valid.
Value
Meaning
0100
Write Status
0300
End of Transmission
0400
Transmit RVI
0500
Transmit header (SOH-heading-STX)
0600
Transmit header (SOH-heading-ETB)
0700
Transmit header (SOH-heading-ITB)
0800
Transmit header (SOH-heading-STX-ETX)
0001
Set compression
0002
Reset compression
0003
Set transparent mode
0004
Reset transparent mode
0005
Set trace
0006
Reset trace
Appendix A. Direct Data Communications Support
A- 5

Advertisement

Table of Contents
loading

Table of Contents