Introduction to HPLIST
One of the most useful packages available to HP clients is HPList. This software package provides a convenient way to create and maintain a simple data file.
- Allows creation of a 'card file' type data file.
- Allows information to be entered via screens that make it easy to change individual pieces (fields) of information directly.
- Easily inserts or deletes records and reorders the sequence of the information.
- Searches for records which meet criteria specified, and creates a separate file of qualifying records for further processing by other programs.
- Allows adjustment of the format of the file, including changing field sizes, adding new fields, and deleting old fields whenever necessary.
- Prints file information either horizontally, vertically, or in label format.
- Summarizes numeric fields with the ability to provide averages, totals, and minimum and maximum values.
- Can have a Quiz dictionary written for it so that it can be accessed by Quiz programs to report its data.
- A maximum of 255 field entries. Each field can be up to 992 characters in length. However, the maximum length of a record is 3,000 characters.
- Only two data types exist - Text (T) and Numeric (N).
- Does not edit data entries. For example, the code for a field labeled GENDER might be M or F. However, HPList will not check to see if the value you enter is M or F.
- All numbers are entered left justified, so leading zeros must be entered if data is to line up on the screen.
- A maximum of nine fields can be sorted simultaneously.
- A terminal that supports block mode, or an IBM-Compatible PC or Macintosh running Reflection software must be used. Contact your computer administrative support analyst if uncertain whether the terminal configuration meet the requirements.
- Log onto the HP3000 HP1 system in the normal fashion.
- Choose one of the following from the select menu.
U HPLIST HPList - normal printouts.
LABELS HPList Labels - for labels.
Use HPList Labels when printing labels. This defers output so that labels may be placed on the printer before printing. The LABELS command will prompt for the number of copies of each label wanted. (Remember to send an Xpress work order when ordering labels. See Xpress Work Orders elsewhere in this guide.)
There are a series of boxes at the bottom of the screen. They correspond to the function keys on the terminal (these keys are across the top or at the upper left side of the keyboard and are labeled F1, F2...etc.). Simply press the key that corresponds to the desired option.
- The first menu is the MAIN menu and it allows six options.
This is a help option that teaches the client about the system. Sample jobs are provided here for use in building files.
Use this option when setting up a new list.
Will list all of the HPList files in your group.
Allows changes to the format of an existing list or copy an old format in order to create a new list.
F5-Work on List
From here the client can list, modify, sort, search for special fields, summarize numeric data, or print out the file. Before selecting this option, enter the name of an existing list file in the field provided.
Resets screen to the previous setting. Sometimes when a "goof up" in a screen is made the client can refresh and start over.
Offers a short description of each option on the current menu.
Use when the work is completed and leaving HPList.
Creating a New List
- From the main menu press F2, Create List, and the Create List menu will appear.
- Enter a file name in the appropriate box (up to 8 characters long - must begin with a letter and consist only of letters and numbers).
- Press the TAB key to get to the next field. (If the client has passed a field or wants to correct what has been entered, hold down the shift key and simultaneously press the TAB key; the cursor will back up one field).
- Enter a field heading. Try to keep headings the same width as the data, to facilitate horizontal printing. However, this is not a restriction and clarity is of primary importance.
- Tab to the next field and enter the length (width) of the field just described. (For example name = 30, social security number = 9 or 11) The length should include dashes, periods, slashes, etc., if they are to be entered in the data.
- Tab to the entry T/N. It is already set to T, since most of the data entered will be Text rather than Numeric. If this field is to be Text, press TAB again and the cursor will be at the next Field Heading box. If this field is to be numeric, type N.
- To define a record with more than 12 fields, press F4, Scroll Forward, after the 12th field and a new screen will appear.
- There is a box near the bottom of the screen where a List Description may be entered. This will print as a heading for the listing of the file. To get to this box press the TAB key until the cursor is in the field.
- There are seven options for this screen:
This option sets up the file and displays a new screen for entering data.
F2 -Sample List
Use this option to view some standard lists which can be used for your file format.
Use this option to view the previous screen (if more than one screen of field headings where entered).
Use this option if needing to enter more than one screen of field headings (maximum of 255).
Resets screen to the previous setting; sometimes when a goof is made on a screen, a refresh lets the client start over.
This offers a short description of each option on the current menu.
Return to the main menu.
- After creating a new list (F2 -- Create List, F1 -- Perform Create) or choosing to work with an existing list (F5 -- Work on List, F2 -- Display), the DISPLAY screen appears. This screen allows entry of new data and modifying of existing information.
- Once the screen is filled while entering new data, press F4, Scroll Forward, and a new, blank screen appears so data entry can continue. Pressing F4 on an existing file will display the next set of records in the file. To scroll backwards, press F3. The client can control the number of records scrolled each time F3 or F4 is pressed by entering the desired number in the field at the top of the screen. For a file with a large number of existing records, Enter the number of the last record in this field and press F4, Scroll Forward, to reach the end of the file.
- Follow these steps to insert a new record between two existing entries:
- Place the cursor on the record to be moved down to make room for the new record
- Press F1, Insert record
- Type in the new record
- To delete a record, Place the cursor on the desired record and press F2, Delete. HPList prompts again to press F2 again to confirm.
- Once finished entering data, return to the main menu by pressing F8, or press F5, Work On List, to print, reorder, summarize, etc. the information in the current list. In either case HPList prompts to keep the file with the same name as the old one. If you do, press the key again. Otherwise, type a new list name in the field provided and press the key again.
Work On List Menu
Gives access to the print, convert, choose display, or change passwords functions. After pressing F1, function keys F2, F3, F4 and F5 will change to the following:
Prints a copy of the list. See F1 below.
This function is obsolete. (See Converting HPLIST Files in this document.)
Allows the client to select which of all the fields in the record actually appear on the screen.
Adds, changes or deletes a list's password.
Press this key if adding, modifying, or simply looking at a list.
Searches the file for records with values matching the selection criteria entered.
Allows sorting of the file into a new sequence.
If, while running HPList, the (BREAK) key is accidentally pressed or an interruption by a power failure occurs, do the following:
- On an HP150 or other HP Terminal, Simultaneously hold down the CTRL and SHIFT keys and press the BREAK/RESET key. On an IBM PC or compatible with Reflection, press ALT and R.
- Press the carriage return key to get a colon prompt
- Type SHOWME, and press return
- If the word SHOWME does not display on the screen the echo has been turned off and it needs to be turned on again by pressing the ESC key and then typing a colon (:)
- Type RESUME and press return. The message :READ PENDING should appear.
- On an HP150, simultaneously press the CTRL and USER/SYSTEM keys (which should cause the function labels at the bottom of the screen to
read F1-F8) and press F6.
On other terminals, press the USERKEYS key and press F6.
When using an IBM PC or compatible with Reflection, press F9 then F6.
If running HPList and the terminal is inactive for more than one hour (resulting in an automatic logoff), or if the session is lost for any other reason (such as a system failure), do the following:
- Reset the terminal by simultaneously pressing the CTRL, SHIFT and BREAK/RESET keys. On an IBM PC or compatible using Reflection, press ALT and R.
- Log on as normal.
- Select HPList from the menu.
- Type the name of the list file that was open before the session was lost and press F5, Work On List. HPList should inform the client that it is recovering the file
- Once recovered, check the file to make sure the last changes that were made are in the file
- If HPList can not find the file, press F3, Directory and look for a file name that starts with 'LO'. If one exits, type a 'G' to the left of that file name and press F1, Get List. Display the list and see if it contains your information.
- If the file will not recover, call your computer support analyst.
Press F2 on the WorkOn List menu to display the print menu. Below is an explanation of the information needed to enter in order to print the list. In addition to the following information, the Print Menu screen also provides a brief description of what is required:
- At the top of the screen there is a box that designates Vertical (fields print one on top of the other down the left side of the page) or Horizontal (fields print left to right across the page) printing. When printing in Vertical mode more than one field can be printed on the same line (see Order vs. Sequence in #2 below). Select Vertical when printing labels.
- Select the fields to print and the order in which they are to print by entering the order number in the ORDER field. If leaving an order field
blank, that field will not be printed UNLESS all ORDER fields are left blank; in this case, all the fields are printed in the order they appear on
Order vs. Sequence
If printing the list vertically, the may assign two or more fields the same order number indicating they are to print on the same line. Then determine in what sequence these fields are to print by entering a sequence number.
- A title for the list may be entered in the box at the bottom of the screen.
- Press F1, Printer keys. There are four printer options available.
Attached to the terminal (slaved printer).
The Laser Printer located in the Computer Center.
Connected directly to the HP3000 through a serial port. There are very few of these printers on campus. If uncertain about what printer type you have, call your computer support analyst.
The Laser Printer located in the Computer Center.
- Select the appropriate printer, and either the Horizontal or Vertical print screen will appear, depending on the selection. Additionally a field at the top of the screen titled Environment File Name may appear; ignore this field; the other fields may be changed as needed. For non-label listings, adjustments are not usually needed. (When printing labels, see PRINTING LABELS later in this chapter).
- If selecting Page Printer, Press F1, Perform Print, to send the list on the laser printer. If selecting Local printer, press F1, Serial, to begin printing if the slaved printer is connected serially. Press F4, HPIB, to begin printing if the slaved printer has an HPIB connection. If not sure which connection is available, call your computer support analyst.
- Press F8, HPLIST Main, to return to the main menu
- Press F8, Exit, to exit Hplist
To get multiple copies of an Hplist file, type the following command before getting into Hplist (not required when printing labels)
Follow these steps to print labels,
- Create the file to accommodate label printing. A maximum of four lines will print well on labels. Thirty-two (32) characters is the maximum field (or combined field) width for each label line.
- Select U LABELS Hplist labels from the menu, and answer the prompt for the number of copies.
- Enter the list file name and press F5, Work On List.
- Press F1, Other keys.
- Press F2, Print.
- Select Vertical print and enter the order of the fields to be printed.
- Press F1, Printer keys.
- Press F4, Page Printer.
'Y' to print labels
'3' labels across page
'36' characters from beginning of one label to the next
'6' lines from the top of one label to the next
- Press F1, Perform Print.
- Press F8, HPLIST Main, to return to the main menu.
- Press F8, Exit, to exit Hplist
- Type :SHOWME. Something similar to the following will display:
USER: #S984,USER.ACCOUNT,GROUP (NOT IN BREAK) RELEASE: B.40.00 MPE/iX HP31900 B.30.45 USER VERSION: B.40.00 CURRENT: THU, MAR 30, 1994, 1:51 PM LOGON: THU, MAR 30, 1994, 1:51 PM CPU SECONDS: 3 CONNECT MINUTES: 1 $STDIN LDEV: 25 $STDLIST LDEV: 25Write down the number next to the word USER: (in this case, #S984). Include this on an XPRESS work order requesting that the output file be printed on labels.
- 14. Create an XPRESS work order (see XPRESS Work Orders elsewhere in this manual).
Converting a Standard MPE/iX File
- Create a new Hplist file:
- Select Hplist from the menu.
- Create a new list with field lengths identical to the MPE/iX file. Fields should appear in the same order as they appear in the MPE/iX file. Add one dummy record to the new Hplist file.
- Exit Hplist.
- Join the MPE/iX file into the new Hplist file:
- Type :EDITOR or :RUN EDITOR.PUB.SYS
- /TEXT new HPLIST file name (from step 1.b above)
- /LIST ALL (the one dummy record added in step 1.b should also be in the list)
- /JOINQ MPE/iX file name, UNN
- /DELETE 1 (to delete the dummy record created in step 1.b above)
- /KEEP (respond yes when asked if it is OK to purge old file)
- /EXIT (now work on the new file in Hplist)
Joining two HPLIST files together
- Set up a third file:
- Type :FCOPY
- >:File file3;DISC=nnnn (nnnn=total number of records in both files to be joined)
- Now work with the new Hplist file. Files 1 & 2 may also be purged.
Converting an HPLIST file to an MPE/iX File
- Select the Qedit File Editor from the menu or type :QED
- /TEXT HPLIST file
- /SET KEEP CODE=0
- /KEEP new file name
- Now access the new file using QEDIT or TDP as you do any standard MPE/iX file.
Converting from HPLIST to MPE/iX and back to HPLIST
If entering data on a Hplist file that was redundant from record to record, that data must be re-entered each time because there is no provision for replicating the fields. However by using both Hplist and Qedit some effort can be saved:
- Convert Hplist to an MPE/iX file (see above).
- Text the file into QEDIT: /TEXT filename
- Using the column replace command, enter the redundant values in all records. See Qedit chapter elsewhere in this manual for instructions on the column replace command.
- Convert MPE/iX file to an Hplist file (see above).
Converting an HPLIST File to a WordPerfect Merge File
Using QUIZ With HPLIST Files
The reporting facility provided by Hplist has limitations which Quiz can help overcome. Hplist requires that separate files be built in which to place subsets of the file for reporting purposes. With Quiz access to the file, reporting selections can be made from the original file thus reducing the disc requirements and the need for redundant information. With Quiz, data may be retained in the order needed for entry and updating yet sorted at run time in different orders, headings, counts, and subtotals. Partial fields may be reported or links created to existing databases.
To use an Hplist file with Quiz, a Quiz dictionary must be created that defines how Quiz will access the file. There is a menu item that will create this dictionary automatically. Choose System Utilities and Programs from the menu. Choose the option that reads: Hplist to Quiz. The program asks for three pieces of information: the Hplist file name, a dictionary title, and a dictionary name. The Hplist file name is the name given to the list when it was created in Hplist. The dictionary title is a title that Quiz will use to generate default page headings. The dictionary name is the name that will be used by Quiz to access the Hplist file.
An example is included below (Italics indicate information that must be typed in):
HPLIST to Powerhouse Dictionary Converter
Please enter the name of the HPLIST file to be converted (Type EXIT to quit)
Please enter a title for this list (Type EXIT to end program)
John's Data File
Please enter name to be used as output file (Data dictionary used to access the file)
Data dictionary is created!
The program will then compile the Quiz dictionary into the internal machine format. The compiling is seen as it occurs. When compilation is complete the following message displays: HPLIST to Powerhouse Dictionary Generator Done.)
Then go into Quiz and access the Hplist file as follows:
SET DICTIONARY MYQUIZ
. . .
. . . (The items in the Hplist file would show up here.)
. . .
SORT ON ...
Hplist files can be converted to WordPerfect Merge format. See the section on Sheetmate in this manual.