Previous Topic: $SRV_LOG_STAT

Next Topic: $SRV_IMOD_LIST

$SRV_IMOD_INFO

The $SRV_IMOD_INFO routine returns information about a specific IMOD.

Syntax

Use this syntax:

CALL $SRV_IMOD_INFO imod

Parameters

The $SRV_IMOD_INFO service routine takes this parameter:

imod

The name of the IMOD to be reported on.

Returned Data

Data is returned in the returned string. The first character in the string is the delimiter character. This character is used to separate the returned fields as listed below:

  1. IMOD name.
  2. Reserved.
  3. Reserved.
  4. Use count. This is the number of IMOD tasks currently executing this copy of the IMOD.
  5. User ID of the TSO user or the console ID from which this IMOD was last loaded into the system.
  6. Date of last modification. The format is yy/dd/mm.

    Note: Simply recompiling an IMOD does not constitute a modification.

  7. Compiler version last used.
  8. Reserved.
  9. ISET name from which the IMOD was last loaded.
  10. Data set name from which the IMOD was last loaded.
  11. Internal if the IMOD is an integrated part of ISERVE; null otherwise.
  12. Callable if the IMOD can be called as a subroutine; null otherwise.
  13. Active if the IMOD is currently executable; null otherwise.
  14. Total CPU time expended by this IMOD since it was last loaded.

Example

call $srv_imod_info 'test_user'
parse var result 1 d +1 name (d) . (d) . (d) count (d) id (d)  ,
       cdate (d) version (d) . (d) iset (d) dsname (d) int (d)  ,
       callable (d) act (d) cputime (d) .