Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Insert excerpt
Basic Configuration and Installation of an HP9000 HP3000 Guest System
Basic Configuration and Installation of an HP9000 HP3000 Guest System
nopaneltrue

Configuring the Time Zone

The preconfigured emulated 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-HPA preconfigured emulated HP3000 system includes the following predefined UDCs.

Stromasys provided UDCs in UDC.CHARON.SYS:

CommandDescription
LOGONLogon UDC
SHPosix Shell access
ABORTCONABORTCON script front-end
FSCHECKShortcut to FSCHECK
SHOWCONNSHOWCONN script
SHOWCLKSShortcut to SHOWCLKS
NSLOOKUPShortcut to NSLOOKUP
ABORTJABORTJ script
PRINTO"Tail" on running/terminated job
HELLOHELLO command with default ID
LShortcut to LISTF,2
SHUTDOWNAccess 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.


Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc