home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / newsletter / 1989 / w1989-09.txt < prev   
Text File  |  1999-04-28  |  23KB  |  470 lines

  1.  
  2.          What's Up DOCumentation
  3.  
  4.  
  5.  
  6.         Robelle Consulting Ltd.
  7.         8648 Armstrong Rd., R.R.#6
  8.         Langley, B.C.  Canada V3A 4P9
  9.         Telephone:  (604) 888-3666
  10.         Fax:  (604) 888-7731
  11.  
  12.  Date:  December 10, 1989
  13.  From:  Robert M. Green, President
  14.         David J. Greer, Research & Development
  15.         Michael C. Shumko, Customer Support
  16.         Ken Robertson, MIS
  17.  To:    Users of Robelle Software
  18.  Re:    News of the HP 3000, 1989 #9
  19.  
  20.       What You Will Find in This News Memo:
  21.  
  22.         News Tidbits
  23.         Xpress E-Mail Now Transfers MPE Files!
  24.         Technical Tips
  25.         Doing It Right--Electronic Mail in the 1990's
  26.         About Robelle
  27.         Qedit Visual Training for PC Users
  28.         Robelle Products:  Problems, Solutions, and Suggestions
  29.  
  30.                                  News Tidbits
  31.  
  32.  Native-Mode QeditAccess and Suprtool2 Routines.  Native-Mode versions of our
  33.  interface subroutines, which eliminate the need for switch stubs, are now
  34.  available to test sites.  QeditAccess allows a program to read Qedit
  35.  workfiles and is built into many third-party products.  Suprtool2 allows an
  36.  application program to invoke Suprtool to perform tasks.  Qedit and Suprtool
  37.  themselves are not yet available in Native-Mode.
  38.  
  39.  The Earthquake.  They're calling it "The Pretty Big One".  HP Cupertino was
  40.  very lucky  --  the ceiling tiles fell and the power went out, but their
  41.  hundreds of computers came back up when power returned (except one poor
  42.  MicroVAX that fell over and broke itself).  This in spite of the collapse of
  43.  one raised floor.  The sense of humor is incredible.  I heard lots of
  44.  stories, including one about an aquarium that fell and shattered, sending all
  45.  the fish to their doom, except one who landed in the cat's water dish.
  46.  Luckily for the fish, the cat was so scared it hid under the bed for two
  47.  days.  Here is another that I found in the HP Cupertino Close Up newsletter:
  48.  "Just a note to let you know we are alive and well...  John and his dad had
  49.  shoveled up most of the kitchen, allowing me free rein to try to get the
  50.  sugar and syrup and gunk up from the kitchen floor before the ants found
  51.  it...  Two of my Waterford wine glasses made it through intact.  I never used
  52.  them because I was afraid I'd chip them while handwashing them.  We are using
  53.  them everyday -- and sticking them in the dishwasher...  I won't have to
  54.  vacuum the blankety-blank pool again and there are so many things we won't
  55.  have to dust.  I figure I'll be able to have a really long Christmas list for
  56.  years to come." [Bobbi Mendenhall, who lives near the epicenter]
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                     Xpress E-Mail Now Transfers MPE Files!
  64.  
  65.  Xpress is an electronic mail system that is so easy to use that you can start
  66.  exchanging mail the first day without formal training.  Xpress works on any
  67.  HP 3000 hardware, and on all versions of MPE (including MPE/XL).  Xpress has
  68.  a streamlined design that keeps the load on your machine low, and still
  69.  offers all the functions you need.  With our major release of Version 2.6,
  70.  you can now attach MPE files to your mail messages--send a program along with
  71.  a message that tells how to run it!
  72.   * This version of Xpress enables you to send MPE files to any Xpress user
  73.     on any machine.  Any Mail message may contain an MPE file.  Typing the
  74.     "Delete" keyword after an MPE filename causes Xpress to delete your
  75.     file after loading it.  The "Temp" keyword copies the MPE file to a
  76.     temporary file.  You can type some MPE commands at the Files prompt,
  77.     but the Mail Manager can disable this feature, or the ability to send
  78.     files, individually or for groups of users.
  79.   * You can send messages to a PC file.
  80.   * You can send messages to a Mail Room on a remote machine.
  81.   * You have faster access to editing: pressing f3 twice edits a new Out
  82.     Basket message.  Re-editing the same message in the Out Basket no
  83.     longer results in a duplicate file message.  Edited messages are
  84.     re-loaded more quickly.
  85.   * Each Xpress user can configure the default number of days to keep
  86.     Bring-Forward, Bulletin Board, or Filing Cabinet messages, and the
  87.     default number of beeps on auto-:tell messages.
  88.   * You can use the MPE session name as the Xpress user name.  Deleting
  89.     users or changing user names no longer require exclusive access to the
  90.     mail database.
  91.   * When writing the text of a message, Xpress accepts "//" to terminate
  92.     the message.
  93.   * Xpress user passwords are now encrypted.
  94.  
  95.  You will find a full description of all of this year's new features in our
  96.  change notice.  The change notice accompanies the update tape, which all
  97.  Xpress owners covered by service receive automatically.  The user manuals are
  98.  always revised for our updates; you can print copies or use the complete
  99.  on-line help.
  100.  
  101.  
  102.                                 Technical Tips
  103.  
  104.  Wow! Look at That Disc Space.  When we created the Native-Mode RL and XL
  105.  files for our QeditAccess and Suprtool2 subroutines, we took all the MPE XL
  106.  defaults.  It wasn't until later that we did a LISTF of these files after
  107.  they were RESTOREd onto our Classic 3000:
  108.  
  109.  ACCOUNT= ROBELLE     GROUP=  PUBNEW
  110.  
  111.  FILENAME CODE ------------LOGICAL RECORD-----------  ----SPACE----
  112.                  SIZE  TYP        EOF      LIMIT R/B  SECTORS X MX
  113.  
  114.  NMRL     NMRL   128W  FB        7275    2096999   1    65532  1 32
  115.  XL       NMXL   128W  FB        4900    2096999   1    65532  1 32
  116.  
  117.  Yikes!  The problem is the enormous LIMIT that MPE XL system files have --
  118.  they can get away with it because MPE XL allows unlimited disc extents per
  119.  file, but MPE V must translate that back into 32 extents.  We then went back
  120.  to MPE XL and changed our commands that build the XL and RL files to use a
  121.  lot less disc space:
  122.  
  123.       :linkedit
  124.       buildrl nmrl;limit=10
  125.       addrl from=qaccess.obj
  126.       addrl from=suprtool.obj
  127.       buildxl xl;limit=10
  128.       addxl from=qaccess.obj
  129.       addxl from=suprtool.obj
  130.       exit
  131.       :run mpex.pub.vesoft
  132.       altfile xl+nmrl;flimit=5000
  133.       exit
  134.  
  135.  When we RESTORE the files onto MPE V, they look reasonable (and we save
  136.  393,216 sectors of disc space, since we had three copies of each file):
  137.  
  138.  ACCOUNT= ROBELLE     GROUP=  PUBNEW
  139.  
  140.  FILENAME CODE ------------LOGICAL RECORD-----------  ----SPACE----
  141.                  SIZE  TYP        EOF      LIMIT R/B  SECTORS X MX
  142.  
  143.  NMRL     NMRL   128W  FB         334       5000   1      626  1  8
  144.  XL       NMXL   128W  FB         453       5000   1      626  1  8
  145.  
  146.  COBOPT from SF Swap Tape.  Terry Smith reports that the SF swap tape has a
  147.  neat program, COBOPT the COBOL optimizer, that analyzes source code and
  148.  copylibs.  It makes it easier for you to use the COPYLIB for code modules,
  149.  because it can detect and remove unreferenced paragraphs.  The result is a
  150.  smaller code space, smaller program file, and easier segmentation on the
  151.  Classic machines.  Keith Smelser, the author, warns that although he detects
  152.  indirect references to paragraphs and PERFORM THRU references, he does not
  153.  detect "fall through" execution of paragraphs (since his shop never codes
  154.  that way).  Only drawback:  it does not read Qedit files.
  155.  
  156.  How to Tell if You Are on MPE XL.  A program can determine whether it is
  157.  executing on MPE XL by calling the undocumented thiscpu integer function
  158.  (there are no parameters).  We don't know all the possible thiscpu values,
  159.  but HP has assured us that the 16-bit return value is always greater than 15
  160.  for MPE XL machines.  A batch job can determine whether it is executing on
  161.  MPE XL by doing a SHOWCACHE command and checking for cierror 9103.
  162.       !continue
  163.       !showcache
  164.       !if cierror=9103 then
  165.       !tellop This must be MPE XL.
  166.       !else
  167.       !tellop This is MPE V (or MPE IV--gasp!).
  168.       !endif
  169.  
  170.  
  171.                  Doing It Right--Electronic Mail in the 1990's
  172.                by Marie Froese (excerpt from GNYUG presentation)
  173.  
  174.  We hear the talk, we see the ads; but what can electronic mail really do for
  175.  you and your company? With so many new computing capabilities, is electronic
  176.  mail an important productivity tool?
  177.  
  178.  How Robelle is Set Up for Electronic Mail
  179.  
  180.  At Robelle, every employee has at least one CRT, and everyone uses electronic
  181.  mail.  There are no secretaries or receptionists.  In the morning one person
  182.  takes all the phone messages off the answering machine and forwards them via
  183.  electronic mail.  When the phone rings during the day, we have a set order
  184.  for telephone answering, and pass phone messages to each other using
  185.  electronic mail.  We use electronic mail as a productivity tool and in many
  186.  other ways which I will explore later in this paper.
  187.  
  188.  We have ten full-time employees who are connected to the 3000 most of the
  189.  time.  Five "in-office" people have direct connect terminals, and the other
  190.  five use dial-up lines.  We have four programmers and a technical writer who
  191.  work almost exclusively as remotes, with telephone lines and modems
  192.  connecting them to the HP 3000 in the office.  It is important to us in the
  193.  office to have a fast and efficient way to communicate with the remote users,
  194.  without having to pick up the telephone and interrupt them.
  195.  
  196.  Most of us also have dial-up capability from home so we can work in the
  197.  evenings, or on weekends (!), if we are inspired.  For example, I wrote most
  198.  of this paper from home.  While at home I can send mail messages to people at
  199.  remote sites or in the office.  If I'm working late at night, I can send
  200.  messages and not have to worry about waking people up at 2 AM!
  201.  
  202.       Message from the In Basket of Marie Froese
  203.  
  204.       2     KERRY LATHWELL      27 Jun89 13:03 Send QTEST tape
  205.  
  206.       Please send the latest pre-release to John Spruce.  Send a
  207.       message to Karnakb using Ref: 723
  208.  
  209.       Hunt Tree Growers
  210.       Attn:  John Spruce
  211.       1425 Nursery Road
  212.       Green Valley, Wisconsin
  213.       73102
  214.  
  215.       cc: Techies - RMG MCS DJG KBR
  216.  
  217.  The electronic mail package that we use at Robelle is, naturally, our own,
  218.  since it is one of the software products we sell.  However, the experiences
  219.  and ideas in this paper will apply just as well to any of the other HP 3000
  220.  mail products designed for in-house use.
  221.  
  222.  Why Our Employees Like Electronic Mail
  223.  Kerry Lathwell, who works in the office, finds that with electronic mail she
  224.  can send messages and documents to people in a legible form (that's important
  225.  - you should see Kerry's writing) and keep a copy for her own records.
  226.  
  227.  Bob Green is our company president and one of our programmers.  Bob works
  228.  from a remote site most of the time.  He finds that a work environment
  229.  without interruptions allows him to get lots of programming done, while
  230.  electronic mail allows him to resolve management and technical support
  231.  problems in a timely fashion.
  232.  
  233.  David Greer is head of our R&D effort and he also works away from the office.
  234.  David says that he likes electronic mail to capture ideas quickly and
  235.  efficiently.  He can write and send a message in a few seconds, while a phone
  236.  call takes much longer.  Working at home and phoning the people in the office
  237.  to keep in touch could take a couple of hours a day.  With electronic mail,
  238.  David knows he accomplishes much more.
  239.  
  240.  Barbara Janicki is our technical writer, and one of the people who works from
  241.  home.  She says that without electronic mail she would feel lonely and
  242.  cut-off from the rest of the office.
  243.  
  244.  Using Electronic Mail to Keep Customer Information Up-to-Date
  245.  Kerry is responsible for all changes to customer records, including address,
  246.  telephone number, contact name, and support status.  When someone else in the
  247.  office discovers that the customer database needs to be updated (such as a
  248.  telephone call to a customer who has been bought by another company and
  249.  changed its name), she reports it to Kerry through electronic mail.  The
  250.  information doesn't get lost, and Kerry can update the records at her
  251.  convenience.  Keeping the records in order is fundamental to the operation of
  252.  Robelle.
  253.  
  254.       Message from the IN Basket of KERRY LATHWELL
  255.  
  256.       MIKE SHUMKO        18 APR89  15:31   New contact name
  257.  
  258.       Sam Snyder has left Boston Computer (serial #73).  The new
  259.       support contact is Margaret Thistle, Manager of MIS.  She is
  260.       at a different phone number, (217) 876-1234, but the address
  261.       is the same.
  262.  
  263.  When Kerry takes a telephone message for one of the technical people, she
  264.  uses our customer database and electronic mail to send the pertinent
  265.  information to the techies as quickly as possible.  The customer inquiry
  266.  application generates an ASCII file for the selected customer, containing a
  267.  capsule summary of his account.  Kerry can then use this as the basis for an
  268.  electronic message.  Here is an example (the customized part is in italics):
  269.  
  270.       Date:     FRI, APR 21, 1989,  7:43 AM
  271.  
  272.       Company: Telamon, Inc.
  273.       Name:    Ross Scroggs
  274.       Phone:   (415) 987-7700
  275.       Serial#: Z
  276.  
  277.       Product: LQ 3.7.1  Exp: 30SEP89  Cpus: 1  Upd: 26JAN89
  278.       Product: ST 3.1.1  Exp: 30SEP89  Cpus: 1  Upd: 13MAR89
  279.  
  280.       Ref:      NEW
  281.  
  282.       Caller:   Randy Medd
  283.       Phone:
  284.  
  285.       Randy has a problem with QEDIT and some kind of terminal emulator.
  286.       His call was on the answering machine this morning.  /kdl
  287.  
  288.  Mike Shumko is our technical support manager.  If you have ever called our
  289.  office for help, Mike is probably the person you talked to.  All technical
  290.  questions go to Mike initially, many of them via electronic mail.  If Mike
  291.  needs help after talking to a customer on the telephone, he can send a
  292.  message to the other programmers.  If any customer call waits in Mike's IN
  293.  Basket for longer than one hour, Mike electronically forwards it to one of
  294.  the programmers.
  295.  
  296.     [ This article will be continued in the next issue.  ]
  297.  
  298.  
  299.                                  About Robelle
  300.  
  301.  Merry Christmas.  Included with this news memo you should find a cumulative
  302.  index for all 1989 Robelle news memos.
  303.  
  304.  
  305.                       Qedit Visual Training for PC Users
  306.                               by Dave Lo, Robelle
  307.  
  308.  Are you used to PC editors ...
  309.     ... and wondering how to get started with Qedit on the HP 3000?
  310.  Dave Lo, Robelle's newest programmer, had to face this transition.  Here is
  311.  Dave's advice:
  312.  
  313.  Those of you familiar only with PC editing concepts may find text editing on
  314.  the HP 3000 somewhat different from editing on a PC.
  315.  You can use Qedit as a line editor.  It's similar to MS-DOS's Edlin or Unix's
  316.  Ed, but much more powerful.  As with other line editors, you type in commands
  317.  for manipulating the text (think of DOS or MPE commands).  A few of the most
  318.  common commands have been assigned to the function keys, such as Page Forward
  319.  and Back, and Find.
  320.  
  321.  Qedit stores its files in a memory-efficient compressed mode.  This means
  322.  that, unless you have a special reason not to, you edit the actual disc file,
  323.  not a copy of a file in memory.  Your changes immediately update the actual
  324.  disc file.  Hence, there is no "exit without saving" feature.  This is
  325.  similar to editors that automatically save your work at regular intervals.
  326.  If you shut a file using another name, the file is renamed, not copied.
  327.  Still, you can work on a copy instead of on the original file, but you have
  328.  to make the copy yourself, before you start to edit.
  329.  
  330.  Although Qedit edits only one file at a time, it saves the current state of
  331.  the edit session when you switch to another file using Open and Shut.  You
  332.  can switch among your files instantly, just by typing Open and the filename
  333.  (or * for the previous file).  Qedit shuts your files automatically, and
  334.  saves your position, putting you back on the same line when you re-open the
  335.  file later.  You can conveniently switch between several files and not lose
  336.  your place in any of them.  This feature is called "context saving" in some
  337.  PC editors.
  338.  
  339.  The basic text unit for copying and moving is a line.  In this, Qedit is
  340.  unlike PC word processors, which are oriented to words as the basic unit.  It
  341.  is important to change your thinking, and become less dependent on copying or
  342.  moving words.  You can delete or replace words easily, however, with global
  343.  changes.  You can specify the range of lines for the "global" Change command.
  344.  
  345.  Qedit is also a full-screen editor, with abilities similar to those of PC
  346.  screen-oriented editors and word processors.  However, there are some
  347.  important points to note about Qedit's full-screen editing (called Visual
  348.  mode) versus screen-oriented text editors for the PC.
  349.  
  350.  When you are editing in Visual mode, you are really using the abilities of
  351.  the terminal (or terminal program) to move the cursor, change the text, and
  352.  insert and delete lines on the screen.  Qedit is not active at this point.
  353.  You bring Qedit to life each time you press Enter.  Qedit then takes your
  354.  changes on the current screen and applies them to the file.  If you forget to
  355.  update by pressing Enter, and move to another page or exit Visual mode, you
  356.  lose the changes on the screen.  However, you can configure Qedit to update
  357.  your file with every function key, including Exit.  The command to do this is
  358.  Set Visual Update On.  The price is reduced speed when you browse through the
  359.  file.
  360.  
  361.  If your modem or terminal connected to the HP 3000 is slower than 9600 baud,
  362.  you will find that text is displayed slower than you are used to on PC
  363.  editors.  If you tend to page back and forth in a file frequently, you should
  364.  consider adopting new habits to reduce unnecessary movement in the file.
  365.  Your terminal may have a memory that stores the last several hundred lines of
  366.  display.  Using the terminal's paging capabilities to browse will be faster
  367.  for you, and demands less of the HP 3000's resources.
  368.  
  369.  Features in Qedit to make your transition from PC to HP 3000 easier:
  370.  *  Use Visual mode.  If you are accustomed to screen-oriented editors, you
  371.     will find Visual mode most comfortable for basic editing.  Remember to
  372.     press Enter to save the changes you make.
  373.  *  If you use Line mode, set the Modify command to use QZMODIFY.  This
  374.     provides "what you see is what you get" editing for individual lines.  On
  375.     some systems, however, QZMODIFY might be very slow or behave erratically.
  376.     If this happens to you, check with your system administrator or system
  377.     operator.
  378.  *  Browse text with the terminal's display memory.  List a range of text with
  379.     Qedit, then page up and down to read it.  This is more economical for the
  380.     system, and faster for you.
  381.  
  382.  
  383.             Robelle Products:  Problems, Solutions, and Suggestions
  384.  
  385.  Suprtool  Version 3.1.1
  386.  
  387.  Suspending Suprtool for Performance.  If you wish to optimize your batch
  388.  jobs, Suprtool can be suspended inside Qedit (or even MPEX) between tasks.
  389.  Suprtool keeps the previously opened database open, and preserves DEFINES and
  390.  TABLES.
  391.  
  392.  Here is an example that invokes Suprtool for three separate tasks which
  393.  depend on the results of the previous task.  The job uses the
  394.  suprtooloutcount JCW to decide whether to perform the second and third tasks.
  395.  Each time that we exit Suprtool, we are really suspending it, leaving the
  396.  file pointer in the Suprtool sdtin at the next command!
  397.  
  398.       !job   listcall, mgr.techsup
  399.       !comment *** This job will create a list of all of the
  400.       !comment *** telephone calls that I logged into our bug
  401.       !comment *** tracking system which never exceeded one
  402.       !comment *** block (512 bytes) of text.
  403.       !run qedit.pub.robelle
  404.       run SUPRTOOL.pub.robelle;hold;stdin=longjob.ken
  405.       suprcmd.ken
  406.       exit
  407.       !eoj
  408.  
  409.  Contents of file LONGJOB.KEN:
  410.       base kb.db.karnak, 5, mypasswd
  411.       get  m-call-hdr
  412.            { Get all calls generated by me }
  413.       if   call-taker = "KEN ROBERTSON"
  414.       output mytable,query
  415.       exit                  { suspend SUPRTOOL! }
  416.            { --- PART 2 --- }
  417.       get  d-call-text
  418.            { mytable contains all of the calls that I made }
  419.       table  mytable, call-nbr, file, mytable
  420.            { Get all call-nbrs where there are more than 1 block }
  421.       if   $lookup (mytable, call-nbr) and block-seq > 0
  422.       extract call-nbr
  423.       output blocklist,query
  424.       exit                  { suspend SUPRTOOL again }
  425.            { --- PART 3 --- }
  426.       get  m-call-hdr
  427.            { bloklist contains all calls with more than 1 block }
  428.       table  bloktabl, call-nbr, file, bloklist
  429.       if   NOT $lookup(bloktabl, call-nbr)
  430.       extract  company-name, caller-name, phone-nbr
  431.       output   entrylst
  432.       exit                  { we are still suspending }
  433.  
  434.  Contents of file SUPRCMD.KEN:
  435.       if suprtooloutcount > 0 then
  436.          activate suprtool
  437.          if suprtooloutcount > 0 then
  438.             activate suprtool
  439.          endif
  440.       endif
  441.  
  442.  We use a command file (SUPRCMD.KEN), instead of embedded commands in the
  443.  jobstream, so we can take advantage of the IF-ENDIF feature.  If there are no
  444.  records extracted from the previous step, we don't bother running the next.
  445.  You can apply this method to check flags set in your database.  For example,
  446.  don't run the month-end jobstreams unless we find a flag set in one of the
  447.  datasets!  Or if a file has the correct number of records...or if the records
  448.  in the file are current...or if...
  449.  
  450.  
  451.  Xpress  Version 2.6
  452.  
  453.  The Xpress Experience.  Everyone enjoys the Thrill of the Unexpected.  One
  454.  way to get your users excited about electronic mail is with our contributed
  455.  Cookie program.  Cookie is the answer to the smoldering question, "How can I
  456.  get my HP 3000 to make me laugh?"  Each time you run Cookie, it prints a
  457.  presumably witty saying (a "fortune cookie") from a vast supply.
  458.       ___________________________________________________________
  459.       The difference between art and science is ...
  460.       science is what we understand well enough to explain to
  461.       a computer.  Art is everything else.       [Donald Knuth]
  462.       ___________________________________________________________
  463.  The sample batch job cookie.qlibjob.robelle, once streamed, sends a daily
  464.  "fortune cookie" to everyone's Xpress In-Basket.  The job re-streams itself
  465.  for the following day.  You need to modify the job with your user names, and
  466.  create a new user to send the cookies (e.g., "the Cookie Monster").  Note: on
  467.  fast systems, the job may have sufficient time to stream itself twice.  To
  468.  find out more about the Cookie program, see the Qlib manual or print a copy
  469.  of the Cookie user manual (cookie.qlibdoc.robelle).
  470.