Table of Contents

DMSQRY Abstract

Statistics

Type ASSEMBLE
Source Lines : 1,907
Fixes Applied : 12
Most Recent Version : Tuesday, December 12, 1978
Last Fix ID : [HRC372DS]

Synopsis

Module

       DMSQRY

Function

       QUERY COMMAND.  TO DISPLAY AT THE USER'S TERMINAL THE STATUS
       OF VARIOUS CMS FUNCTIONS AND TABLES.

Attributes

       TRANSIENT, NOT REENTRANT, CALLED VIA SVC 202

Operation

       1. ADVANCE 8 BYTES IN PLIST TO OPTION
           QUERIED.  IF IT IS A FENCE, EXIT.  IF IT IS NOT A CMS
           QUERY, PASS IT UPT TO CP.  IF IT IS A CMS QUERY, GO
           TO THE ROUTINE WHICH WILL FIND OUT THE STATUS OF THE
           FUNCTION.

        2. THE STATUS OF THE QUERIED FUNCTION IS DETERMINED BY
           THE SETTING OF THE FOLLOWING REFERENCES:

           ABBREV - 'NOABBREV' FLAG OF OPTFLAGS (IN NUCON.
           BLIP - 'TIMCHAR', 'TIMCCW' IN EXISECT
           DOS - 'DOSMODE' FLAG OF DOAFLAGS IN NUCON
           DOSPART - 'DOSKPART' FIELD IN NUCON
           FILEDEF - FCB CHAIN
           DLBL - DOSCB CHAIN
           IMPCP - 'NOIMPCP' FLAG OF OPTFLAGS IN NUCON
           IMPEX - 'NOIMPEX' FLAG OF OPTFLAGS IN NUCON
           LDRTBLS - HIGH ORDER BYTE OF ALDRTBLS IN NUCON
           MACLIB - AMACLIBL IN NUCON
           TXTLIB - ATXTLIBS IN NUCON
           DOSLIB - DOSLIBL IN NUCON
           RDYMSG - 'NORDYMSG', 'NORDYTIM' FLAGS IN MSGFLAGS
                    IN NUCON
           REDTYPE - 'REDERRID' FLAG OF MSGFLAGS IN NUCON
           RELPAGE - 'NOPAGREL' FLAG IN OPTFLAGS IN NUCON
           SYNONYM - 'NOSTDSYN' FLAG IN OPTFLAGS IN NUCON
                    AND USABRV
           SEARCH - ACTIVE DISK TABLES
           SYSNAMES - CURRENT SEGMENT NAMES TABLE
           OPTION - BYTES 58 AND 59 OF DOS COMM. REGION
           UPSI - 'UPSI' BYTE IN DOS COMMUNICATION REGION
           DISK - ACTIVE DISK TABLES
           INPUT - AINTRTBL IN NUCON
           OUTPUT - AOUTRTBL IN NUCON
           PROTECT - 'PRFPOFF' OF PROTFLAG IN NUCON
           LIBRARY - SEE MACLIB AND TXTLIB OPTIONS
           DOSLNCNT - INTERROGATE DOS SYSLST LINES/PAGE VALUE


        3. OUTPUT THE STATUS.

       4.  RETURN TO CALLER

Calls to Other Routines

       DMSLAD - FIND THE NEXT ACTIVE DISK TABLE
       DMSCWR - TYPE A MSG ON THE TERMINAL
       DMSERR - OUTPUT A MSG TO THE TERMINAL
       Diag83 - Issue CP command                             HRC322DS