Previous Topic: Service RoutinesNext Topic: $SRV_ENQ_INFO


$SRV_DSTAB_STAT

The $SRV_DSTAB_STAT routine returns information about all ISETs and their associated data sets.

Syntax

CALL $SRV_DSTAB_STAT

Parameters

No operands are expected and none are passed.

Returned Data

Data is returned on the stack. Each line represents one ISET. The first character in each record is the delimiter character. This character is used to separate the returned fields as listed next.

  1. Delimiter character.
  2. ISET name.
  3. Data set name.
  4. Version of editor or compiler that last updated the ISET. This field is blank unless ISERVE allocated and opened the ISET after initialization.
  5. Expended CPU time by IMOD tasks whose root IMOD was loaded from this ISET. The format of this field is hh:mm:ss.tho, with leading zeros and field separators removed.
  6. ISET description.
  7. Access status for the ISET (read or write).
  8. Subsystem ID that this ISET is associated with, if available.

Note: All fields might not be completed when this service routine returns.

Example

limit = call srv_dstab_stat
   do i = 1 to limit
   parse pull 1 d +1 . (d) iset (d) dsn (d) version (d) cpu (d) .
   end i