The preconfigured emulated historic HP3000 for Charon-PAR provides several command files and UDCs (User Defined Commands). For the most part, all customizations are located in the CHARON.SYS group.
This section provides an overview of the following utilities:
Configuring the IP Address
Configuring the Time Zone
The preconfigured emulated historic HP3000 system is configured with TZ="PST8PDT" .
The supplied LOGON UDC (which executes out of UDC.CHARON.SYS ) runs the command file TZ.CHARON.SYS which in turn sets the TZ system variable local to every Job and Session:
:PRINT TZ.CHARON.SYS setvar tz 'PST8PDT' |
To change the time zone, edit the file TZ.CHARON.SYS, and adjust the system clock using the commands:
:SETCLOCK TIMEZONE=Wxx:yy :SETCLOCK ;CANCEL |
xx:yy stands for the time offset of your timezone.
Synchronizing the System Time
The preconfigured system contains the :SYNC utility to update the system time. It must be run as manager.
:HELLO MANAGER.SYS :SYNC.CHARON |
If :SYNC detects that the system date was updated, it displays the old and new timestamp:
:sync.charon.sys Time changed from SAT, JAN 1, 2000, 12:00 PM to SAT, FEB 2, 2013, 9:40 PM |
Otherwise it will just display the current date.
Notes:
- By default, :SYNC performs a :SETCLOCK;NOW to adjust any large discrepancies between the system clock, and the current time. It should only be used when starting or resuming an emulated system, and should not be used while date-aware programs or command files are running.
- :SYNC should not be used at or close to midnight - this could result in an incorrect date being set.
- :SYNC is supplied 'as-is', with no warranty as to correct performance.
Default UDCs
The Charon-PAR preconfigured emulated historic HP3000 system includes the following predefined UDCs.
Stromasys provided UDCs in UDC.CHARON.SYS:
Command | Description |
---|---|
LOGON | Logon UDC |
SH | Posix Shell access |
ABORTCON | ABORTCON script front-end |
FSCHECK | Shortcut to FSCHECK |
SHOWCONN | SHOWCONN script |
SHOWCLKS | Shortcut to SHOWCLKS |
NSLOOKUP | Shortcut to NSLOOKUP |
ABORTJ | ABORTJ script |
PRINTO | "Tail" on running/terminated job |
HELLO | HELLO command with default ID |
L | Shortcut to LISTF,2 |
SHUTDOWN | Access to :SHUTDOWN command |
HP provided Posix "smoothing" commands in HPPXUDC.PUB.SYS: PLISTF, FINDDIR, FINDFILE, LISTDIR, DISKUSE, SH, HPMPETOHFS, HPLISTFCLEANUP, HPPARSEFEQ.
Command to access SNMPCONTROL in SNMPUDC.NET.SYS.