MPE/iX Command Files & UDCs

The preconfigured MPE/iX system for Charon-PAR/PA3 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

The emulator needs a valid license to run. The license can be a Sentinel HASP license or a Virtual Environment (VE) license. Please refer to Initial Emulator License Configuration for the basic license configuration steps of both options. The license(s) to be used are defined in the configuration file. If running in a cloud environment, a VE license is strongly recommended (supported from Charon-PAR version 3.0.6).

Configuring the Time Zone

The preconfigured MPE/iX 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 MPE/iX 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


The original vendor 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.




© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.