|Click here for TSG sponsor message|
Hidden Value details commands and
procedures in MPE that can improve
your productivity with HP 3000 systems. Get
a free NewsWire HP
3000 Always Online cap submit your
MPE tip directly to us here
at the NewsWire. Send your tips to
email@example.com, or fax
them to 512-657-3264.
You will want to be sure that the accounts and groups exist as you want them first, or you will get HFS directories on your system volume set, which are a bit trickier to move.
Of course, you may or may not have
[Vesofts] MPEX, which probably
does this beautifully.
My goal in creating the NEWACCT and NEWGROUP UDCs (on CSYs Jazz Web site) was primarily to address your concern. Using these UDCs, the SM only needs to specify the NEWACCT command once and automatically: 1) The account is created on the system volume set with FILES=0, 2) The account is created on the target volume set 3) The PUB group on the system volume set has FILES=0 applied and is homed to the target volume set, and 4) the PUB group is created on the target user volume set. But you only needed to enter a single NEWACCT command.
SMs and AMs also need only enter the NEWGROUP command once. 1) The group is created on the system volume set, 2) The group is created on the appropriate user volume set, 3)The group on the system volume set is homed to the user volume set 4) If the parent account has not been created on the user volume set, and the user has SM cap, the account will also be created on the target volume set.
The appropriate user volume set is
determined by a config file
that maps group or account names to a
volume set. This config
file can be automatically created via a
supporting script, or
you can use an editor. If the config file
is missing or if there
is no match for the desired group (or
account), the user is prompted
for the correct volume set name. At this
point the user can also
append this new volume set mapping to the
config file so it is
easy to keep it current.
Place this in a UDC that your users
always run. Any runtime aborts(the
most common cause of this type of problem)
will be printed on
the system printer.
where myprog is the program whose output I want to capture.
Once the error message has been
produced, it is redirected to
file P and not the VPlus form,
and you can look at the message
using any editor.
ODBC is run on the 3000 by way of a listener job, a batch job which listens in on a particular Sockets port. Take it to the DS queue, then change the ;PRI=CS to ;PRI=DS in the !JOB record of the jobstream.
In my experience, however, it is advised
that listeners run in
the CS subqueue with terminals, or tune ES
to overlap the lower
part of CD and the upper part of DS, so
that online users do not
impact possible online ODBC users and
applications. It should probably also be
set to oscillate instead
of decay as well. This is especially true
if using the application
over a WAN, or if the user load on the
network and/or the 3000
is especially heavy, so that responses are
issued before timeouts
The TZ variable is used to supply this timezone information. It can be set in the MPE/iX Command Interpreter with the SETVAR command or in the Posix Shell with TZ=xxx (and typically an export TZ). Notice that there is a default setting for TZ in /etc/profile which is used by the Posix shell (when launched via XEQ SH.HPBIN.SYS -L) that may still be TZ=GMT0, and thus not match your needs!
For Samba/iX it is sufficient to add an appropriate SETVAR TZ command to the JSMB and/or JNMB jobs (or JINETD, if you use that as listener). But in general it might be better to add an appropriate SETVAR TZ to your system-wide logon UDC and check /etc/profile to not override this with an undesired value. (The Posix Shell inherits CI variables into its environment but can modify the local copies thereafter).
An example for Germany is SETVAR TZ MEZ-1MESZ which specifies middle European time with daylight savings during certain periods of the year. See TZTAB.LIB.SYS for other possible values and their definitions.
You can also find more information
regarding TZ usage and values
in the HP Cobol II/iX Reference Manual, the
HP C/iX Library Reference
Manual, the HP Fortran 77/iX Reference
Manuals as well as the
MPE/iX Developers Kit Reference