Text preview for : 5951-6112_2000Comm#14_9-77.pdf part of HP 5951-6112 2000Comm#14 9-77 HP 2000TSB 5951-6112_2000Comm#14_9-77.pdf



Back to : 5951-6112_2000Comm#14_9-7 | Home

HEWLETT fP] PACKARD




computer systems




ISSUE No. 14
REVISION 1725 OF EDITOR/20GO AND FCOPY/2000
Correction to pages 20 and 21 of issue number 14 of the COMMUNICATOR 2000
regarding revision 1725 of EDITOR/2000 and FCOPY/2000.
Users currently on a software maintenance agreement should be receiving this
new release around the end of November, rather than September as indicated
in the COMMUNICATOR.
EDITOR'S NOTE CONTENTS
This issue contains two articles that show some of the AN ON-LINE TELEPHONE BOOK APPLICATION
capabilities of an HP 2026, the newest member of the PROGRAM FOR THE HP 2026
2000 family. One article describes an application program Phone File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
where employee location data, such as numbers for tele- Phones Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
phones, buildings, and mail stops, can be stored. This data DEAL Language Edits . . . . . . . . . . . . . . . . . . . . . . . . 4
OPRATR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
can be read in various formats, such as a listing of names
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
by telephone number of location. The second article des-
cribes some of the screen design potential available to an TERMINAL TRICKS WITH THE HP 2026
HP 2026 user.
Formatted Screens . . . . '.' . . . . . . . . . . . . . . . . . . . . 9
Other information describes how HP 2000 precision can User Specified Screens . . . . . . . . . . . . . . . . . . . . . . . .9
be extended from 6-7 digits to 12-13 digits, using six Video-Enhanced Literal Messages . . . . . . . . . . . . . . . . . . 9
An Alternative Way to Load Soft-Keys
subroutines, and how to obtain a 2000 source code. Also,
and Supply Cursor Control . . . . . . . . . . . . . . . . . . . . . 9
software updates and documentation changes are described.
EXTENDED PRECISION ARITHMETIC
Address your correspondence to: Double-Numeric Arithmetic . . . . . . . . . . . . . . . . . . . . 10
EDITOR D-N Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . 10
Picture-Numeric Formatting . . . . . . . . . . . . . . . . . . . . 11
COMPUTER SYSTEMS - COMMUNICATOR 2000
HP General Systems Division GOSUB 9000 -- Use After Add and Subtract ........ 12
5303 Stevens Creek Boulevard
Santa Clara, CA 95050 GOSUB 9050 - Shift . . . . . . . . . . . . . . . . . . . . . . 13

GOSUB-9100 - Multiply .: . . . . . . . . . . . . . . . . . . 14

GOSUB 9300 - Convert String-Numeric
to Double-Numeric . . . . . . . . . . . . . . . . . . . . . . . . 15

GOSUB 9400 - Convert Double-Numeric
to String-Numeric . . . . . . . . . . . . . . . . . . . . . . . . 16

GOSUB 9500 - Format String-Numeric .......... 17

SOURCE CODE FOR HP 2000 SYSTEMS
License Agreement . . . . . . . . . . . . . . . . . . . . . . . . . 19
Obtaining the Source Code . . . . . . . . . . . . . . . . . . . . 19
Operating System Changes . . . . . . . . . . . . . . . . . . . . . 19

SOFTWARE UPDATE
Additions to Revision 1715 of the
2000 Operating System . . . . . . . . . . . . . . . . . . . . . . 20
Revision 1725 of EDITOR/2000 . . . . . . . . . . . . . . . . . 20
Revision 1725 of FCOPY /2000 . . . . . . . . . . . . . . . . . . 21
Updating the HP 2026 System . . . . . . . . . . . . . . . . . . 21
Revision 1727 Software for the
HP 2026 System . . . . . . . . . . . . . . . . . . . . . . . . . . 22

DOCUMENTATION
Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Additions and Changes . . . . . . . . . . . . . . . . . . . . . . . 23
Communicator Back Issues . . . . . . . . . . . . . . . . . . . . 23
New Form for Contributed Software . . . . . . . . . . . . . . . 23


COMPUTER SERVICES DIVISION INFORMATION
AN ON-LINE
TELEPHONE BOOK APPLICATION
PROGRAM FOR THE HP 2026

Scott Guthrie This Telephone Book application has two jobs associated
HP General Systems Division with a common data base file called PHON E. The first of
these two jobs, called PHONES, provides a means for modi-
For some time, Hewlett Packard's General Systems Division's fying, adding, displaying and deleting records from the file.
telephone book was typed and maintained every month by The second job, called OPRATR, provides a method for
a multitude of secretaries. Each change in the location of quickly retrieving a desired record. A possible application
groups or individuals brought with it a period of mass con- for this job would be to provide a telephone operator (thus
fusion for those who needed to know the location and tele- the job name of OPRATR) with a very fast method of ob-
phone extention of those involved in the move. No longer taining telephone extension numbers for routing calls.
must the secretaries type that long list of names and num-
bers each month! No longer must there be mass confusion
for the telephone switchboard operators!! The HP 2026 has
solved it all II II PHONES JOB
This article presents an application program capable of The PHONES job is designed to provide for complete file
recording telephone, location, mail stop and other valuable maintenance. File entries can be retrieved and examined by
information necessary to perform related services. This use of the DISPLAY command. The DISPLAY command
online Telephone Book can be updated as required with retrieves an information record from the file based on the
the updated information immediately available to other input supplied by the user in the NAME field of the dis-
users. played screen. Partial key searches can be made by entering
part of the name in the NAME field followed immediately
The capabilities of the HP 2026 System make it possible to by a closing parenthesis. This will retrieve the first record
sort, select, and/or print this information in various formats. encountered starting with the supplied "key". For example,
An example of this would be, a listing of the names of indi- "S)" will return the first name beginning with "s" and
viduals sorted by telephone extension number or by location. "SMITH)" will return the first "SMITH" found in the file.
If any NAME Key entered does not exist in the file, the
PHONE FILE NAME field will blink, indicating that a record with that
"key" was not found.
This particular application program requires a file called
PHONE to be stored on the disc of a size such that there is The ADD command allows the user to enter a new person
one 80-character record for each person in the Telephone (record) to the file, and the REPLACE command allows
Book. Each record contains the following information: modification of existing records for updating. The ADD and
REPLACE commands both make some checks to ensure
Record Items Characters
that the NAME field is not left completely blank, and that
Employee's Names 20 the Telephone Extension numbers, Division and Location
Telephone Extension 4 Code fields are only numeric or left blank.
Alternate Extension 4
Division Code 2 Ail of the information displayed on the screen, with the
Location Code 4 exception of the NAME field, can be modified or updated.
Building Number 3 To correct or modify a NAME field, the record must be
A Status Indicator 1 ADDed as a new entry, and the old one deleted. The PURGE
Mail Stop Number 2 command is used to delete records which are no longer de-
Telephone Key System 6 sired in the file. The record is not actually deleted, but is
Comments Field 34 marked as logically deleted by having an "x" placed in the
Tota! 80 characters! STATUS field of the screen by the PURGE routine. A
record message stating that the record is deleted is also placed in

2
the COMMENTS field. The deleted records are actually re- record is not the one desired (assuming a file is sorted by name).
moved from the file by resorting and rebuilding the file:
This shouid be done after a iarge number of records are The screen format beiow shows the order in which the infor-
added, or before a listing of the file contents is performed. mation is presented to the user. The shaded areas of the
screen are used to highlight some of the more important in-
Provisions have been made in this application for displaying formation and allows easier identification of particular fields.
the "next" or "previous" record in the file. Entering a blank
in the command field will increment the file pointer and Each dot in the PHONES screen represents each of the 80
display the next physical record, while entering a hyphen (-) unprotected character positions. The file information, as
will display the prior record. This is very helpful if searching previously described, is distributed on the screen into these
for a person with a common name, where the initial displayed areas.




T ~ l ~ P h 0 ~ E bOO K
=====~===================================


COMMAND -> ~0~~ F I Ie Scr 0 I I j n9:
UlsPlay -> Forwards
Aod -> baCKwards
Replace
Purge Entry to exit 'Telep~one BOOk'
-----~-~-~~------------------------------------------------------------~-

r----------..,
N ~ M1:.: ~.~ ~ ~. ~. ~. .
=-. ~