Testing the OpenVMS extension


openvms_cvt_filename (OPENVMS_CVT_VMS_TO_UNIX, "PHP_ROOT:[SCRIPTS]PHP_OPENVMS.PHP") = /php_root/scripts/php_openvms.php
openvms_getdvi ("DISPLAY_DEVNAM") = MBA11848:
openvms_getjpi ("LAST_LOGIN_I") = 17-NOV-1858 00:00:00.00
openvms_getsyi ("BOOTTIME") = 22-SEP-2024 20:38:53.00
openvms_time () = 2-NOV-2024 01:08:39.50
openvms_uptime () = 40 03:30:02

$items["INDEX"] = 1;
openvms_trnlnm ('CASE_BLIND', "", 'sda$read_dir', 0, $items) = SYS$SYSROOT:[SYSLIB]
$items =
ACCESS_MODE1
ATTRIBUTES66560
CASE_BLINDFALSE
CLUSTERWIDEFALSE
CONCEALEDFALSE
CONFINEFALSE
CRELOGFALSE
DCL_REQUESTFALSE
EXISTSTRUE
INDEX1
INTERLOCKEDFALSE
LENGTH20
MAX_INDEX2
NO_ALIASFALSE
PARENT
SHAREABLETRUE
STRINGSYS$SYSROOT:[SYSLIB]
TABLEFALSE
TABLE_NAMELNM$SYSTEM_TABLE
TERMINALFALSE


openvms_crelnm ('NO_ALIAS', 'LNM$JOB', 'TMPTEMP', 0, $items) = 1

openvms_dellnm ('LNM$JOB', 'TMPTEMP') = 1

openvms_symbol_set('BLAH_1',date('Y-m-d'));
openvms_symbol_set('BLAH_2','TWO');
openvms_symbol_set('BLAH_3',date('h:m:s'),true);
openvms_symbol_set('BLAH_4','global-4',true);>br> BLAH_4 = openvms_symbol_get('BLAH_4') = global-4
BLAH_4 (local) = openvms_symbol_get('BLAH_4',false) =
BLAH_4 (global) = openvms_symbol_get('BLAH_4',true) = global-4

View of Cluster from system ID 1034  node: HAVEN            2-NOV-2024 01:08:39
+-----------------------------+
|      SYSTEMS      | MEMBERS |
|-------------------+---------|
|  NODE  | SOFTWARE |  STATUS |
|--------+----------+---------|
| HAVEN  | VMS V8.4 |         |
+-----------------------------+
OpenVMS V8.4-2L3  on node HAVEN   2-NOV-2024 01:08:39.51  Uptime  40 03:30:02
  Pid    Process Name    State  Pri      I/O       CPU       Page flts  Pages
%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation