Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
SORT-MERGE/XL General User's Guide: 900 Series HP 3000 Computer Systems > Chapter 6 SORT-MERGE/XL Commands

INPUT (MERGE/XL)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Within the MERGE/XL subsystem, the >INPUT command specifies the sorted files to be merged. Refer to the SORT/XL >INPUT command for information on how to use the command within that subsystem.

SYNTAX

   >I[NPUT] {fname1,fname2}[,fname3]...[,fnameN]

PARAMETERS

fname

The fname parameter specifies the actual file designator. $NULL is not a valid input file. The order in which the input files are specified is important in that records with equal keys are positioned according to the order of the files in which they appear.

Notice that parentheses are not used with >INPUT command in MERGE/XL.

DISCUSSION

Unlike the SORT/XL >INPUT command, the input files are not enclosed in parentheses. The order in which the files are specified is important only in that the records with equal keys are ordered according to the order of the files in which they appear. If more than one >INPUT command is entered, only the last command is effective. See the discussion under the SORT/XL >INPUT command for information about file equations.

EXAMPLE

The following example shows how to merge three previously sorted files, SORTED1, SORTED2, and SORTED3, into a single, new, output file named MERGE1:

     :MERGE

HP32214A.01.00 MERGE/3000 THU, JUN 4, 1987, 9:45 AM
© HEWLETT-PACKARD CO. 1986

>INPUT SORTED1, SORTED2, SORTED3
>OUTPUT MERGE1
>KEY 1, 11
>END

ADDITIONAL DISCUSSION

Refer to the SORT/XL >INPUT command in this chapter.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.