Previous Topic: Calling a DC Program from a CA ADS DialogNext Topic: Reading Data from the Terminal


Basic Mode

In basic mode, DC performs device-dependent data transfers between your program and the terminal. Your program must format the data and supply device-control characters based on the type of terminal in use; DC inserts the necessary line control information. For example, with 3270-type devices, you must send and receive data with device-control information that includes write control characters, orders, and buffer addresses.

The figure below shows a basic mode data transfer. DC appends framing characters to the input data stream and performs the required I/O.

Data stream as built by the user
┌───────────────────────────────────────┐
│  Data and device-control information  │
└───────────────────────────────────────┘

Data stream as passed by basic mode request
┌────────────────┬───────────────────────────────────────┬────────────────┐
│  LINE CONTROL  │  Data and device-control information  │  LINE CONTROL  │
└────────────────┴───────────────────────────────────────┴────────────────┘

For information on using basic mode to support System Network Architecture (SNA) protocols, see CA IDMS DML Reference Guide for Assembler.

I/O Requests Under Basic Mode

Basic mode supports synchronous and asynchronous read and write requests. The terms synchronous and asynchronous do not refer to line protocol for data transmission but rather to task processing during I/O operations. Synchronous and asynchronous I/O requests function in the following manner:

DC assumes that all I/O requests are synchronous unless a program explicitly requests asynchronous processing.

What You Can Do in Basic Mode

Using basic mode terminal management, you can perform the following functions: