Print Page as PDF
%ZOSV ICR (10097)

%ZOSV    ICR (10097)

Name Value
NUMBER 10097
IA # 10097
DATE CREATED 1999/06/29
CUSTODIAL PACKAGE KERNEL
CUSTODIAL ISC San Francisco
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE %ZOSV
NAME %ZOSV
ORIGINAL NUMBER 10097
GENERAL DESCRIPTION
This routine is OS specific, and provides a interface
to OS functions.
STATUS Active
ID %ZOSV
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
GETENV
Display Environment Information (in Tools chapter)
T0
Start RT Measure (in Tools chapter)
T1
Stop RT Measure (in Tools chapter)
LOGRSRC
$$LGR
Get last global reference
$$EC
Get error code.
SETNM(name)
This entry point is just a parameter passing version
of SETENV^%ZOSV.  It only has meaning on DSM for VMS system, otherwise it just
quits.
VARIABLES TYPE VARIABLES DESCRIPTION
name Input
This is a 1--15 char name to be given to the process
at the VMS level.
SETENV
It only has meaning on DSM for VMS system, otherwise
it just quits.  It sets the VMS process name.
VARIABLES TYPE VARIABLES DESCRIPTION
X Input
This is a 1-15 char name to be given to the process
at the VMS level.
$$ACTJ
Returns the number of active jobs in the scope of
this process.  The same as ^%ZOSF("ACTJ").
$$AVJ
Returns a best effort on the number of available
jobs. The number of new jobs that could be started.  The same as
^%ZOSF("AVJ").
$$VERSION([flag])
Use $$VERSION^%ZOSV([flag]) to return the Mumps
system version number or name.

In days of old, the Mumps implementation was both the Mumps language and the
operating system.  That is why in old documentation it is referred to as the
OS.
VARIABLES TYPE VARIABLES DESCRIPTION
flag Input
[optional] If you pass a value of 1, the Mumps system
name is returned instead of the version number.  Note that the name is as
defined by the Mumps vendor and doesn't necessarily correspond with the OS
name stored in ^%ZOSF("OS").
return Output
The Mumps system version number or name depending on
optional first parameter.
$$OS
This function returns the underlying operating system
such as VMS, UNIX or NT.  It is only fully developed for Cache/OpenM system.
See ICR 3522 for more details.
DATE ACTIVATED: JUL 06, 2009