HP3000-L Archives

August 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Eric H. Sand" <[log in to unmask]>
Reply To:
Eric H. Sand
Date:
Wed, 19 Aug 1998 12:22:54 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
<Don Inghram wrote:>

>Ok, here's probably a simple question, but the tired brain can't come up
>with an answer, so:
>Within a command file, I need to merge two datafiles together into a third
>file.  Normally I would use FCOPY to merge the files but can't figure how
to
>do that in a command file.  Thanks for any clever approaches.


Don,
    I would use the HP supplied program "merge.pub.sys". Any number
of files can be merged very quickly with just a few commands and have
the resulting file collated simultaneously.

e.g.
(please note that merge uses the chevron prompt)
run merge.pub.sys
>input data1, data2, data3....data9
>output newdata
>key 10,20    (with the additon of ",desc" the results can be in descending
order)
>end

(lots of merge statistics.....)

There are numerous merge examples on the HP LaserRom.

Good luck...

                      Eric Sand
                      [log in to unmask]

ATOM RSS1 RSS2