Invoking Basic Serial Command Files [ HP LaserRX/MPE User's Manual: Analysis Software ] MPE/iX 5.0 Documentation
HP LaserRX/MPE User's Manual: Analysis Software
Invoking Basic Serial Command Files
You may use basic serial command files to remotely open and analyze
logfiles for more than one system if your serial port is connected to a
switching device or to a system that is capable of connecting to another
system via a set dialog.
Basic serial command files allow an automated dialog in which specific
prompts are recognized by your PC and programmed responses are provided
to those prompts. This allows automating a dialog with a data switch, a
dial-out modem, a PAD, and so on.
Chapter 4 explains using basic serial command files with the File
Connect Serial and Configure Serial Connect commands.
The following example shows how you can also invoke a basic serial
command file from the MS-DOS command line by using the -serialcmd batch
interface command.
Example: Using -serialcmd
In this example, assume that your PC serial port is connected to a data
switch. Furthermore, assume that you use the basic serial command file
SYS1.CMD to connect through that switch to system SYS1.
You could use the -serialcmd to invoke the SYS1.CMD basic serial command
file in the following batch interface command file, DRAWSYS1.BIC:
-serialcmd sys1.cmd
-openremote rxmo9010
-playback print.rec
-exitwin
SYS1.CMD establishes a serial connection to SYS1 through the data switch.
Next, the remote logfile RXMO9010 is opened, the PRINT.REC macro is
played, and HP LaserRX/MPE is exited.
The important thing to note is that you can embed a basic serial command
file (.CMD) with an HP LaserRX/MPE batch interface command (.BIC). Thus:
C:\LASERRX> win laserrx -cmdfile drawsys1.bic
CAUTION Using either the -lanlogon or -seriallogon command line options
to log into a group other than SCOPE.SYS prevents MPE V systems
from finding the remote data communications library. This will
only work if a copy of SL.SCOPE.SYS is made in the logon group.
This is not recommended since you would have to remember to
repeat this copy with every HP LaserRX/MPE software update.
This is not necessary on MPE XL systems if default security is
used for the SCOPE.SYS group.
You can use the BSC utility to test basic serial command files from the
MS-DOS command line. It is described in detail in the Using Basic Serial
Connection Files manual.
MPE/iX 5.0 Documentation