Operating System Interface Facilities

To improve efficiency and reduce duplication and inconsistency, GT.M is closely integrated with the host operating system environment. With GT.M you can gain access to the operating system facilities to examine:

All of these extensions are subject to normal VMS security management.

The following table summarizes the GT.M operating system interface facilities.

Operating System Interface Facilities

EXTENSION

EXPLANATION

ZHelp

Provides access to a GT.M or VMS help library.

ZSYstem

Accesses the VMS Command Language Interpreter (CLI), generally DCL.

$ZCMdline

Contains a string value specifying the "excess" portion of the command line that invoked the GT.M process.

$ZFILE attributes()

Retrieves a file attribute.

$ZGETDVI()

Retrieves a device attribute.

$ZGETJPI()

Retrieves a process attribute.

$ZGETLKI()

Retrieves a VMS lock attribute.

$ZGETSYI

Retrieves a system attribute.

$ZJob

Holds the pid of the process created by the last JOB command performed by the current process.

$ZLKID()

Scans VMS locks.

$ZMessage()

Translates an error condition code into text form.

$ZPARSE()

Parses an RMS filename.

$ZPID()

Scans process identifiers.

$ZPRIVilege()

Determines current VMS privileges.

$ZSEARCH()

Searches for one or more RMS files.

$ZSETPRV()

Sets or clears VMS privileges and determines current privileges.

$ZSYstem

Contains the status code of the last ZSYSTEM.

$ZTRNLNM()

Translates a VMS logical name.

$ZDIRectory

Contains current default directory.

$ZMODE

Contains process mode (Batch, Interactive, Direct Mode).

$ZPROCess

Contains name of current process.