OV_QUERY_SYS_INFO

LANSA

OV_QUERY_SYS_INFO

The Things that Make Up this ExampleTo Execute this ExampleBIF Descriptions


  
   DLL Required    : U_BIF993.DLL
   ------------

   Description     : Query system configuration information
   -----------

   Availability    : Windows       -> YES
                     Unix          -> NO
                     OS/400        -> NO

   ARGUMENTS
   ---------

          Type  Required/                                   Length  Decimals
   Number  A/N  Optional Description                        Min Max Min Max
   ------  ---  -------- -----------                        ------- -------

     1     A     Req     Information to be queried            1 256
                       
                         Pass as one of :

                         SYS_DRIV
                         SYS_DIR
                         SYS_DIR_EXECUTE
                         SYS_DIR_SOURCE
                         SYS_DIR_OBJECT
                         PART_DRIV
                         PART_DIR
                         PART_DIR_EXECUTE
                         PART_DIR_SOURCE
                         PART_DIR_OBJECT
                         TEMP_DRIV
                         TEMP_DIR
                         DRIV_LIST


   RETURN VALUES
   -------------

          Type  Required/                                   Length  Decimals
   Number  A/N  Optional Description                        Min Max Min Max
   ------  ---  -------- -----------                        ------- -------

     1     A     Req     Information returned                1  256
 

     where an argument of :
 
       SYS_DRIV         -> Returns the drive in which the LANSA system is
                           located as a driver letter followed by a colon.
                           eg: C: or D: or E:

       SYS_DIR          -> Returns the root directory in which the LANSA
                           system is located.
                           eg: D:\X_WIN95\X_LANSA\

       SYS_DIR_EXECUTE  -> Returns the directory in which the LANSA
                           system EXECUTE objects are located.
                           eg: D:\X_WIN95\X_LANSA\EXECUTE\

       SYS_DIR_SOURCE   -> Returns the directory in which the LANSA
                           system SOURCE objects are located.
                           eg: D:\X_WIN95\X_LANSA\SOURCE\

       SYS_DIR_OBJECT   -> Returns the directory in which the LANSA
                           system OBJECT objects are located.
                           eg: D:\X_WIN95\X_LANSA\OBJECT\

       PART_DRIV        -> Returns the drive in which the current partitions
                           LANSA system is located as a driver letter followed
                           by a colon.
                           eg: C: or D: or E:

       PART_DIR         -> Returns the root directory in which the current
                           paritions system is located.
                           eg: D:\X_WIN95\X_LANSA\X_DEM\

       PART_DIR_EXECUTE -> Returns the directory in which the current partitions
                           EXECUTE objects are located.
                           eg: D:\X_WIN95\X_LANSA\X_DEM\EXECUTE\

       PART_DIR_SOURCE  -> Returns the directory in which the current partitions
                           SOURCE objects are located.
                           eg: D:\X_WIN95\X_LANSA\X_DEM\SOURCE\

       PART_DIR_OBJECT  -> Returns the directory in which the current partitions
                           OBJECT objects are located.
                           eg: D:\X_WIN95\X_LANSA\X_DEM\OBJECT\

       TEMP_DRIV        -> Returns the drive in which temporary files / objects
                           should be created as a driver letter followed by a colon.
                           eg: C: or D: or E:

       TEMP_DIR         -> Returns the directory in which temporary files / objects
                           should be created.
                           eg: D:\TEMP\
 
       DRIV_LIST        -> Returns a working list in return value 2. This value
                           (return value 1) must be passed as a dummy argument when
                           making a DRIV_LIST request.


    2     List    Opt     Working list to contained returned            N/A
                          information. Currently only required
                          for a DRIV_LIST request. Refer to the
                          following examples for the layout and
                          format of the returned working list
                          for DRIV_LIST requests.