REXX Tips & Tricks, Version 2.80


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


QSV - DosQuerySysInfo interface


Name     QSV - DosQuerySysInfo interface 
Version  2/27/95
Author   Paul Ashmore,
         IBM EMEA DAP 
         (see EMail Addresses)
Distrib. Freeware (?)
Type     REXX DLL 
Price    -
Source   BBS 
         WWW page "REXX sample code from IBM"
         (see Internet - Web Pages)
         Name: REXXDLL.* 
Note     /w source 

Description from the author: 
"QSV allows a REXX procedure to use the DosQuerySysInfo call to determine 
certain characteristics of your OS/2 system. This sample shows how to 
create a simple REXX function DLL, and how it can be used." 
QSV detects the following system settings: 
 MAX_PATH_LENGTH 
    Maximum length, in bytes, of a path name. 
 MAX_TEXT_SESSIONS 
    Maximum number of text sessions. 
 MAX_PM_SESSIONS 
    Maximum number of PM sessions. 
 MAX_VDM_SESSIONS 
    Maximum number of DOS sessions. 
 BOOT_DRIVE 
    Boot Drive 
 DYN_PRI_VARIATION 
    Dynamic priority variation flag 
 MAX_WAIT 
    Maximum wait in seconds. 
 MIN_SLICE 
    Minimum time slice in milliseconds. 
 MAX_SLICE 
    Maximum time slice in milliseconds. 
 PAGE_SIZE 
    Memory page size in bytes. 
 VERSION_MAJOR 
    Major version number. 
 VERSION_MINOR 
    Minor version number. 
 VERSION_REVISION 
    Revision letter. 
 MS_COUNT 
    Value of a 32-bit, free-running millisecond counter. 
 TIME_LOW 
    Low-order 32 bits of the time in seconds since January 1, 1970 
 TIME_HIGH 
    High-order 32 bits of the time in seconds since January 1, 1970 
 TOTPHYSMEM 
    Total number of bytes of physical memory in the system. (Page size 
    4KB) 
 TOTRESMEM 
    Total number of bytes of resident memory in the system. 
 TOTAVAILMEM 
    Maximum number of bytes of memory that can be allocated by all 
    processes in the system. 
 MAXPRMEM 
    Maximum number of bytes of memory that this process can allocate in 
    its private arena. 
 MAXSHMEM 
    Maximum number of bytes of memory that a process can allocate in the 
    shared arena. 
 TIMER_INTERVAL 
    Timer interval in tenths of a millisecond. 
 MAX_COMP_LENGTH 
    Maximum length, in bytes, of one component in a path name. 
   

Inf-HTML End Run - Successful