You can use an OpenVMS pipe to pass data from the RMU Unload
After_Journal command to another application (for example,
RMU Load). Do not use any options (such as the Log or Verify
qualifiers) that could cause LogMiner to send extra output to the
SYS$OUTPUT device, as that information would be part of the input
data source stream to the next pipeline segment.
You may find that the OpenVMS default size of the pipe is too
small if the records being extracted (including LogMiner fields)
are larger than 256 bytes. If the pipe is too small, increase
the SYSGEN parameters MAXBUF and DEFMBXMXMSG, and then reboot the
system.
The following example uses LogMiner for Rdb to direct output
to an OpenVMS pipe device and uses RMU Load to read the pipe
device as the input data record stream. Using the pipeline allows
parallel processing and also avoids the need for an intermediate
disk file. Note that you must have created the record definition
(.rrd) file prior to executing the command.
$ PIPE (RMU /UNLOAD /AFTER_JOURNAL OLTP.RDB AIJ1.AIJ -
/TABLE = (NAME = MYTBL, OUTPUT = SYS$OUTPUT:)) -
| (RMU /LOAD REPORTS.RDB MYLOGTBL SYS$PIPE: -
/RECORD_DEFINITION = FILE = MYLOGTBL.RRD)