MPE/iX Commands Reference Manual (32650-90877)

Chapter 9 327
Command List VII
Commands MOUNT thru OUTFENCE
file progdata=datafile.pub.payroll
newci payroll.pub.payroll
*****
NEWCI Programmatically
The NEWCI command is programmatically executable, but only from the “root” CI process.
Some programs allow users to interactively enter CI commands (by convention CI
commands are generally prefixed with a : character). Most HP product/utilities allow CI
commands to be entered interactively. In the example below, the NEWCI command is
executed programmatically from within TDP. In this example, TDP is the root CI (it
became the root CI when the first NEWCI command was issued).
:hello mgr.paryoll
:newci tdp.pub.sys
TDP/V (A.05.05) HP36578 Editor (c) COPYRIGHT Hewlett-Packard Co. 1993
/:newci payroll.pub.payroll
CORPORATE PAYROLL (Version A.00.00)
CMD>
NOTE
In the above example the “:newci payroll.pub.payroll” command would not be
allowed if the RUN command had been used in place of the NEWCI command
to load TDP.
NEWCI CI.PUB.SYS The NEWCI command can be used to replace the current CI process
with the standard Hewlett- Packard Command Interpreter (CI.PUB.SYS). When
CI.PUB.SYS is executed using the NEWCI command it functions exactly the same as it does
at logon time (see table above).
:hello mgr.paryoll
HP3000 Release: X.60.16 User Version: X.60.16 WED, JUL 14, 1999, 9:21 PM
MPE/iX HP31900 C.16.01 Copyright Hewlett-Packard 1987. All rights reserved.
** System Welcome Message...
:newci payroll.pub.payroll
CORPORATE PAYROLL (Version A.00.00)
CMD> :newci ci.pub.sys
** System Welcome Message...
:
NOTE
This example assumes that the application program payroll.pub.payroll
allows the user to enter CI commands interactively (prefixed with a :). This is
a common feature in MPE application programs - but it does vary from
program to program. In this example the command “newci ci.pub.sys” could
be executed by either the COMMAND or HPCICOMMAND intrinsic.
Related Information
None
NEWDIR
Creates a directory. (Native Mode)