Tterm Routine; Topen Routine; Tcloz Routine - IBM 5280 Programmer's Manual

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

Advertisement

TTERM Routine
TOPEN Routine
TCLOZ Routine
VB, for variable length blocked. If VB is specified, Either IRS or
ITB must be specified as delimiters in the communications control
record.
If you don't specify any of the above, fixed unblocked (FU) format is
assumed.
type-l - specifies the data set attribute as follows for BSC (for SNA,
CM is assumed):
CM, for READ/WRITE in any order
SR, for sequential read
SW, for sequential write
CN, for conversational: Write 1 message and read many
If you don't specify any of the above for BSC, CM is assumed.
type-2 - Data set attribute 2. For BSC only.
CB - Expand any blank characters that, when received, are
com pressed.
BT - Truncate trailing blanks in data to be sent.
If neither of the above is specified, this option is ignored.
This routine is called to terminate the logical connection between the COBOL
application program and the host communication program.
The format of the statement to call the TTERM routine is:
CALL "AVCLTERM" USING return-code
return-code is a data-item you code as follows:
01 return-code
PIC 9999.
return-code - contains a code posted by the TTERM routine upon
completion. The return-codes and their meanings are explained in Appendix
H of the IBM 5280 Communications Reference Manual, SC34-0247.
This routine is called to establish the beginning of communications transmit
and receive operations. It must be called before any read, write or device
control.
The format of the statement to call the TOPEN routine is:
CALL "AVCLOPEN" USING return-code
return-code is a data-item you code as follows:
01 return-code
PIC 9999.
return-code - contains a code posted by the TOPEN routine upon
completion. The return-codes and their meanings are explained in the IBM
5280 Communications Reference Manual, SC34-0247.
This routine is called to end communications operations.
Appendix A. Direct Data Communications Support
A- 3

Advertisement

Table of Contents
loading

Table of Contents