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 3 Using SORT/XL Interactively

Using the Terminal as the Output File

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

It is possible to enter the SORT/XL subsystem, issue a series of commands, and have the results of the sort operation immediately displayed on your terminal screen. This process eliminates the need of going into EDIT/V, calling up the file, and listing its contents to see the results of a sort operation. To use the terminal as the output device use the $STDLIST parameter of the SORT/XL >OUTPUT command.

The following example shows how to sort the file EMPLOYEE based on a single key. The results are displayed on the terminal screen when you enter the >END command.

     :SORT 

HP32214A.01.00 SORT/3000 WED, JUN 3, 1987, 10:00 AM
© HEWLETT-PACKARD CO. 1986

>INPUT EMPLOYEE
>OUTPUT $STDLIST
>KEY 1, 11
>END

1 2 3 4
123456789012345678901234567890123456789012345

ANDERSON MARY ACCOUNTANT 6345
ANDERSON CHARLES SALES REP 3456
ANDERSON CHARLES PRESIDENT 0247
CARLSON ROBERTA TREASURER 3586
FISHER TOM SHIPPING CLERK 7309
JOHNSON FRANCES RECEPTIONIST 7943
LANGE ROBERT ENGINEER 3235
SMITH HOWARD DESIGNER 6794
TAYLOR HEATHER SECRETARY 7272
ZIMMER ANDREW ENGINEER 5739

<<The SORT Statistics Appear Here>>

:

When you designate the terminal as the output file ($STDLIST), the system does not generate a system file or keep any permanent record of the sort results.

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