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

Stromasys provides a special command file (SETIP.CHARON.SYS) in the preconfigured MPE image. This command file enables the user to configure the network without using a block-mode terminal that would otherwise be required to access the relevant MPE utility (NMMGR).

The command file takes three parameters: host IP address, default gateway address, and netmask. The image below shows a sample:

After changing the configuration, the command file will automatically restart the network to activate the changes.

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.