Table of Contents

DMKGRT Abstract

Statistics

Type ASSEMBLE
Source Lines : 411
Fixes Applied : 7
Most Recent Version : Wednesday, January 17, 1979
Last Fix ID : [HRC109DK]

Synopsis

Module

       DMKGRT

Function

       COMMON DATA AREAS AND SUBROUTINES FOR 3270 DISPLAY SUPPORT

Attributes

       SERIALLY REUSABLE, RESIDENT, CALLED VIA BALR

Operation

       1. THE CURSOR ADDRESS IS CONVERTED TO AN INPUT AREA OFFSET BY
       USING THE ADDRESS RETURNED FROM THE READ AND THE INPUT AREA
       DISPLACEMENT FROM THE BEGINNING OF THE DISPLAY SCREEN.

       2. IF THIS OFFSET IS BEYOND THE LAST TAB POSITION, THE CURSOR
       WILL BE PUT AT THE BEGINNING OF THE INPUT AREA. OTHERWISE THE
       NEXT TAB POSITION IS USED TO POSITION THE CURSOR.

       3. THE INPUT DATA IS THEN SCANNED FOR NULLS TO DETERMINE IF A
       LOGICAL TAB CHARACTER IS NEEDED. IF A LOGICAL TAB CHARACTER IS
       FOUND DURING THE SCAN, THE COUNT IS UPDATED TO THE CORRECT TAB
       POSITION. IF A NULL IS FOUND BEFORE THE BUFFER COUNT REACHES
       THE NEW TAB OFFSET, A LOGICAL TAB CHARACTER IS PUT IN THE DATA
       STREAM - TO BE WRITTEN AT THE END OF THE NON-NULL DATA OR AT
       THE TAB LOCATION PRECEDING THE ONE WHERE THE CURSOR WILL BE.

       4. THE LENGTH OF THE DATA STREAM BUILT IS PUT INTO REGISTER 2,
       THE REGISTERS USED ARE RESTORED, AND THE SUBROUTINE IS EXITED.

Calls to Other Routines

       NONE