home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / changes / supr4p3ix.txt < prev    next >
Text File  |  2001-11-05  |  36KB  |  979 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                              SUPRTOOL Version 4.3
  7.  
  8.  
  9.                        Database Handyman for the HP 3000
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                            Pre-Release Change Notice
  17.                            Installation Instructions
  18.                           Addendum to 4.2 User Manual
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                             Suprtool         4.3
  26.                             Dbedit           4.3
  27.                             Suprlink         4.3
  28.                             STExport         4.3
  29.                             Speed Demon      4.3
  30.                             Suprtool2        4.8
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.                             Robelle Consulting Ltd.
  38.                            Unit 201, 15399-102A Ave.
  39.                          Surrey, B.C.  Canada V3R 7K1
  40.  
  41.                            Toll-free:  1-888-ROBELLE
  42.                                       (1-888-762-3553)
  43.                             Phone:  (604) 582-1700
  44.                              Fax:  (604) 582-1799
  45.  
  46.                          E-mail:  support@robelle.com
  47.                              Web:  www.robelle.com
  48.  
  49.                                  February 2000
  50.           Program and Manual Copyright Robelle Consulting Ltd.  1981-2001
  51.  
  52.  
  53.           Permission  is  granted  to  reprint  this  document  (but not for
  54.           profit), provided that copyright notice is given.
  55.  
  56.  
  57.  
  58.  
  59.           QEDIT and SUPRTOOL  are  trademarks  of  Robelle  Consulting  Ltd.
  60.           Other  product  and  company  names  mentioned  herein  may be the
  61.           trademarks of their respective owners.
  62.  
  63.  
  64.  
  65.    Introducing Suprtool Version 4.3
  66.  
  67.  
  68.                ⁿ  Highlights
  69.                ⁿ  Compatibility
  70.                ⁿ  CPU Serial Number
  71.                ⁿ  Compatibility Mode vs. Native Mode
  72.                ⁿ  Documentation
  73.                ⁿ  Documentation in WinHelp Format
  74.  
  75.  
  76.           Suprtool provides fast access to your data on the HP  3000.   With
  77.           Suprtool, you can perform many necessary DP functions easily, with
  78.           just a few simple commands.  At Robelle we are constantly  working
  79.           on  your  enhancement  requests  so that we can include them every
  80.           year when we release an updated version of Suprtool.  This  change
  81.           notice  provides  you  with  detailed  installation  steps  and  a
  82.           description of Suprtool's new features.
  83.  
  84.           We would appreciate any  feedback  on  any  of  the  new  features
  85.           available  in this release of Suprtool.  Thank you for agreeing to
  86.           give this new version of Suprtool a try.
  87.  
  88.  
  89.  
  90.    Highlights in Version 4.3
  91.  
  92.  
  93.    Data functions
  94.  
  95.           ⁿ  Expand any CI  variable  on  the  command  line  (in  Suprtool,
  96.              Suprlink and STExport) using Set Varsub On.
  97.  
  98.           ⁿ  Compute  the  absolute  value  of  an expression using the $ABS
  99.              function.
  100.  
  101.           ⁿ  Compute  the  integer  portion  of  an  expression  using   the
  102.              $TRUNCATE function.
  103.  
  104.           ⁿ  Pattern strings in the If command can be much larger.
  105.  
  106.  
  107.    Date functions
  108.  
  109.           ⁿ  Convert  any  date  to  a  Julian  Day  Number  with  the $DAYS
  110.              function.  This allows  you  to  compute  the  number  of  days
  111.              between any two dates.
  112.  
  113.           ⁿ  New date formats supported: new phdate format in integer fields
  114.              for versions of PowerHouse 8.19 and higher, EDSDATE and  Julian
  115.              Day number.
  116.  
  117.  
  118.    System functions
  119.  
  120.           ⁿ  Suprtool,  Suprlink  and  STExport  have  internal  changes  to
  121.              support MPE/iX 6.5.
  122.  
  123.           ⁿ  Suprlink  and  STExport  now  support  filenames  up   to   240
  124.              characters in length.
  125.  
  126.           ⁿ  Get the version number with Verify Version in Suprtool.
  127.  
  128.  
  129.    Compatibility
  130.  
  131.           Suprtool, Speed Demon, and Suprlink are compatible with Q-Delta-2,
  132.           R-MIT, T-MIT, U-MIT, V-MIT, MPE XL, and MPE/iX,  including  MPE/iX
  133.           5.5.
  134.  
  135.  
  136.  
  137.    CPU Serial Number (HPSUSAN)
  138.  
  139.           This  program  runs  only  on  CPUs whose serial numbers have been
  140.           encoded ("showvar hpsusan" on MPE/iX).  If it fails to run and you
  141.           get   an   "invalid  HPSUSAN"  error  message,  call  Robelle  for
  142.           assistance.
  143.  
  144.  
  145.    Compatibility Mode vs. Native Mode
  146.  
  147.           Throughout  this  change  notice  and  in  all  of  the   Suprtool
  148.           documentation,  there  are  references  to  compatibility mode and
  149.           native mode.  If you are on a Classic HP 3000 (i.e., not  MPE/iX),
  150.           you  can  use the compatibility-mode version of Suprtool.  Our job
  151.           streams  automatically  install  the  correct  version  for   your
  152.           machine.   We  use  the terms MPE XL and MPE/iX interchangeably in
  153.           our documentation.
  154.  
  155.  
  156.    Documentation
  157.  
  158.           This release includes updated user manuals for  Suprtool  and  its
  159.           components.  To print these manuals, use the Printdoc program.
  160.  
  161.                :run printdoc.pubnew.robelle
  162.  
  163.           This  is the list of documentation files for Suprtool: NOTE: These
  164.           file names assume that Install.suprjob has already been performed.
  165.  
  166.                suprtool.doc.robelle      {Suprtool user manual}
  167.                stexport.doc.robelle      {STExport user manual}
  168.                suprlink.doc.robelle      {Suprlink user manual}
  169.                dbedit.doc.robelle        {Dbedit user manual}
  170.                demon.doc.robelle         {Speed Demon user manual}
  171.                suprcall.doc.robelle      {Calling Suprtool user manual}
  172.                suprtool.docchg.robelle   {this change notice}
  173.  
  174.           If  you  know  the  file names of other Robelle documents, you can
  175.           print them with Printdoc or you can include the file name  in  the
  176.           :Run command.  For example, to print this change notice, type
  177.  
  178.                :run printdoc.pub.robelle;info="suprtool.docchg.robelle"
  179.  
  180.  
  181.    Documentation in WinHelp Format
  182.  
  183.           The user manuals for Suprtool and its components are all available
  184.           in the popular WinHelp file format  of  Microsoft  Windows.   Your
  185.           tape   includes   a  WinHelp  file,  which  is  a  self-extracting
  186.           compressed file that contains all five  Help  files  and  a  Setup
  187.           program.   Use the installation instructions in this change notice
  188.           to install the WinHelp files on your PC.
  189.  
  190.  
  191.    Installation of 4.3
  192.  
  193.  
  194.           The following installation instructions are for existing  Suprtool
  195.           users  who  are  installing  a new version in the Robelle account.
  196.           Please use the instructions from this change notice instead of the
  197.           user  manual  because  the  change  notice  always  has the latest
  198.           version.  The whole process should take about 30 minutes, assuming
  199.           that   no   one   uses  Suprtool  or  its  components  during  the
  200.           installation.
  201.  
  202.           To install this update of Suprtool, follow these steps:
  203.  
  204.           1. Restore the new files from tape.
  205.  
  206.           2. Upgrade the structure of the Robelle account.
  207.  
  208.           3. Install the proper program files (NM or Classic).
  209.  
  210.           4. Install Speed Demon in the system SL (only Classic).
  211.  
  212.           5. Install  the  Suprtool2  interface  in  the  system  SL   (only
  213.              Classic).
  214.  
  215.           6. Limit Suprtool's run time priority (optional).
  216.  
  217.           7. Install WinHelp documentation files (optional).
  218.  
  219.           8. Install QLIB and Bonus programs.
  220.  
  221.           9. Purge the installation files (optional).
  222.  
  223.  
  224.    Replace Any Pre-Release
  225.  
  226.           If  you  are  currently running a pre-release version of Suprtool,
  227.           you should replace it with this new official release.  Pre-release
  228.           versions  expire  within two years of their creation date, whereas
  229.           this new release has no expiry date.  You can easily  recognize  a
  230.           pre-release by the words "Pre-Release" next to the version number.
  231.  
  232.  
  233.    Installation Assistance
  234.  
  235.           If you have any questions or run into any  problems,  please  call
  236.           us.   Technical  support is available on weekdays from 7 a.m. to 4
  237.           p.m. Pacific time at 1-888-ROBELLE (1-888-762-3553).  You can also
  238.           receive  emergency  support  outside of these hours by calling our
  239.           regular phone number and asking the operator  to  page  a  support
  240.           person for you.
  241.  
  242.  
  243.    Important Note About Passwords
  244.  
  245.           None  of  the  jobs that we supply have passwords in them.  Before
  246.           streaming a job, you might have to add your system's passwords  to
  247.           the  first  line.  Users of MPE XL 3.0 and later do not have to do
  248.           this because the operating system prompts for  missing  passwords.
  249.           The  same  is true for some MPE V users who have security software
  250.           that inserts passwords.  Most MPE V users have to edit  the  jobs.
  251.           For  example,  if the system manager logon password is Qwerty, you
  252.           would do the following:
  253.  
  254.                :editor
  255.                HP32201A.07.22 EDIT/3000
  256.                /text robelle.job.robelle
  257.                FILE UNNUMBERED
  258.                /modify 1
  259.                MODIFY     1
  260.                !job robelle,manager.sys,pub;hipri;jobq=SUPRTOOL
  261.                                        i/qwerty
  262.                !job robelle,manager.sys/qwerty,pub;hipri;jobq=SUPRTOOL
  263.  
  264.                /keep robtemp
  265.                /exit
  266.                END OF SUBSYSTEM
  267.                :stream robtemp
  268.                :purge robtemp
  269.  
  270.  
  271.    STREAMX Users
  272.  
  273.           Users of STREAMX, a part of SECURITY/3000 from VESOFT  Inc.,  must
  274.           set  a  Job  Control  Word  before  streaming jobs.  This prevents
  275.           STREAMX from generating an error if the Robelle account  does  not
  276.           yet exist.  For example,
  277.  
  278.                :setjcw streamxtempnonest 1
  279.                :stream robelle.job.robelle
  280.  
  281.  
  282.    Step 1:  Restore the Files
  283.  
  284.           You begin by restoring all the files from the tape.
  285.  
  286.                :hello manager.sys
  287.                :file   rtape;   dev=tape                   {use  appropriate
  288.           device}
  289.                :restore *rtape; @.@.robelle; create  {restore everything}
  290.  
  291.           The files on the tape require approximately  80,000  sectors.   If
  292.           you  are  upgrading  Suprtool,  most  of  these files will replace
  293.           existing files because the new version of Suprtool does  not  take
  294.           up much more space than the old version.
  295.  
  296.           The  Suprtool program files are located in the Pubnew group of the
  297.           Robelle account.  At this point in the installation  process,  the
  298.           files  do  not  have the correct names.  The next step assigns the
  299.           proper names to the program files.
  300.  
  301.  
  302.    Step 2:  Set Up the Robelle Account
  303.  
  304.           Even if you already have the Robelle account, you must stream  the
  305.           Robelle  job to ensure that the Robelle account and all its groups
  306.           have the proper security and capabilities.
  307.  
  308.                :stream robelle.job.robelle
  309.  
  310.           When the job stream is finished, it will send you a message.   The
  311.           job removes the password from the Robelle account.  Stay logged on
  312.           as Manager.Sys and put a password on the Robelle account.  If  you
  313.           are upgrading your Robelle account, use the old password.
  314.  
  315.                :altacct robelle;pass=hardpass    {hard to guess}
  316.  
  317.           Please  note  that during installation we add OP capability to the
  318.           Robelle account.  When the Suprtool installation is finished,  you
  319.           have the option to remove OP capability.
  320.  
  321.  
  322.    Step 3:  Install Suprtool into Production
  323.  
  324.           Our  installation job installs Suprtool, STExport, Suprlink, Speed
  325.           Demon, and the Suprtool2 interface.  No one can use these programs
  326.           during the installation.  Before you stream this installation job,
  327.           warn people not to use these programs for a while.
  328.  
  329.                :hello mgr.robelle
  330.                :warn @;please exit from Suprtool and Suprlink NOW!
  331.                :stream install.suprjob
  332.  
  333.           Once Suprtool has  been  installed,  check  the  installation  job
  334.           $stdlist.    If   anyone  was  either  using  Suprtool,  STExport,
  335.           Suprlink, or Speed Demon, or  attempting  to  back  them  up,  the
  336.           installation  job will fail.  Chase away any users and ensure that
  337.           a backup is not in progress,  then  stream  the  installation  job
  338.           again.
  339.  
  340.           The installation job renames your current versions of Suprtool and
  341.           its components to the PubOld group of the Robelle account.  If you
  342.           need  to  move  these  versions  back  into  production,  use  the
  343.           Previous.suprjob job stream.
  344.  
  345.           You can now access Suprtool by entering
  346.  
  347.                :run suprtool.pub.robelle
  348.  
  349.  
  350.    Optional Installation Steps
  351.  
  352.           On MPE/iX your installation should be complete.   If  you  have  a
  353.           copy  of  Speed  Demon  or  the Suprtool2 interface in your own XL
  354.           files, you will have to update them with the new versions (use the
  355.           instructions   in  the  Speed  Demon  and  Calling  Suprtool  user
  356.           manuals).
  357.  
  358.           To use the new versions on MPE V, you still need to install  Speed
  359.           Demon  and  Suprtool2 in the system SL.  MPE/iX users must also do
  360.           this  if  they  are  calling  Speed  Demon   or   Suprtool2   from
  361.           compatibility-mode  programs.   With so few changes to Speed Demon
  362.           and Suprtool2, you can safely ignore  them  for  this  version  of
  363.           Suprtool.
  364.  
  365.           If  you  have  a  Windows  PC,  you  can  install all the Suprtool
  366.           documentation in the popular WinHelp format of Microsoft Windows.
  367.  
  368.  
  369.  
  370.    Step 4:  Speed Demon/V Installation (optional)
  371.  
  372.           To use the new features of Speed Demon/V,  you  must  install  the
  373.           latest   version   in  the  system  SL.   You  should  follow  the
  374.           installation instructions in the Speed Demon user  manual.   These
  375.           instructions  assume  that  you  have used the Install.suprjob job
  376.           stream to move Suprtool and its components into the  Pubnew  group
  377.           of the Robelle account.
  378.  
  379.                :stream demon.suprjob.robelle
  380.  
  381.  
  382.    Step 5:  Suprtool2 Interface Installation (only Classic)
  383.  
  384.           The  Suprtool2  interface  has  been  revised.   On MPE V you must
  385.           re-install the interface.  If you do not have the latest Suprtool2
  386.           interface, programs that attempt to use totals from Suprtool2 will
  387.           fail.  You can install this interface without recompiling  any  of
  388.           your existing programs.
  389.  
  390.  
  391.    System SL Installation
  392.  
  393.           To  install  the  latest Suprtool2 interface in the system SL, use
  394.           our standard installation job:
  395.  
  396.                :stream suprcall.suprjob.robelle
  397.  
  398.  
  399.    User SL or XL Files
  400.  
  401.           If you have a copy of the Suprtool2 interface in your  own  SL  or
  402.           XL,  you  will  need  to update it.  For instructions on how to do
  403.           this, consult the user manual for Calling Suprtool.
  404.  
  405.  
  406.    Step 6:  Limit Suprtool's Run Time Priority (optional)
  407.  
  408.           Some system managers like to restrict the amount of resources that
  409.           Suprtool  consumes.   One way to do this is by running Suprtool in
  410.           the D queue, which lets you use HP's Linkedit program.
  411.  
  412.                :linkedit
  413.                >altprog suprtool;maxpri=ds
  414.                >exit
  415.  
  416.           By forcing Suprtool to always run in the lower  queue  (even  when
  417.           Suprtool  runs  on-line),  it  competes  less  with  on-line users
  418.           because most users run in the C  queue.   System  managers  should
  419.           only  restrict  the priority of Suprtool if they are familiar with
  420.           MPE process queues and the Tune command.
  421.  
  422.  
  423.    Step 7:  Install WinHelp Documentation Files (optional)
  424.  
  425.           The Suprtool documentation for both MPE and HP-UX is now available
  426.           in  the  WinHelp  file  format  of Microsoft Windows.  You can use
  427.           these files only if you have Windows 3.1 or later.  To install the
  428.           WinHelp files on a PC, follow these instructions.
  429.  
  430.  
  431.    Make a Temporary Directory for the Setup Program
  432.  
  433.           Create  a directory for the installation file on your PC.  You can
  434.           remove this directory after installing the WinHelp files.  At  the
  435.           DOS prompt, for example, type
  436.  
  437.                mkdir \robtemp
  438.  
  439.  
  440.    Download the Compressed File
  441.  
  442.           If  you  use  the floppy diskette that is included in the Suprtool
  443.           User Manual to copy the Help files to your hard drive, proceed  to
  444.           "Run  the  Setup  Program"  below.   Otherwise,  use Reflection to
  445.           download the self-extracting Zip file to your PC and continue with
  446.           these   steps.    This   Zip   file  on  the  HP  3000  is  called
  447.           Suprhelp.Helpnew.Robelle.  Log on as Mgr.Robelle and  press  Alt-Y
  448.           to  go  to  the Reflection Command Line window.  Then download the
  449.           file as a binary transfer.
  450.  
  451.                receive c:\robtemp\suprhelp.exe
  452.                       from suprhelp.whelp.robelle binary
  453.  
  454.  
  455.    Expand the Compressed Files
  456.  
  457.           You only need the following commands to extract the files  because
  458.           we  provide  both  the  Setup  program  and  the Help files in one
  459.           self-extracting Zip file.  From the DOS prompt, type the following
  460.           commands:
  461.  
  462.                cd \robtemp          {go to the new Robtemp directory}
  463.                suprhelp.exe         {extract the Help files}
  464.  
  465.  
  466.    Run the Setup Program
  467.  
  468.           From  the  Program  Manager, run the Setup program by choosing the
  469.           Run option from the File menu.  Then enter C:\Robtemp\Setup in the
  470.           Command  Line  window  and  follow  the  instructions in the Setup
  471.           program.
  472.  
  473.           You can now access all of the Suprtool documentation by  selecting
  474.           any of the icons in the "Robelle Help" Program Manager Group.
  475.  
  476.  
  477.    Remove the Robtemp Directory
  478.  
  479.           Before  you  remove  the  WinHelp  files,  you  can copy them to a
  480.           diskette and distribute them to other Suprtool users.
  481.  
  482.           To delete all the WinHelp files and remove the Robtemp  directory,
  483.           use either the File Manager or the following DOS commands:
  484.  
  485.                cd \robtemp
  486.                del *.*          {delete all the files in Robtemp}
  487.                cd ..
  488.                rmdir robtemp    {remove the Robtemp directory}
  489.  
  490.  
  491.    Step 8:  Install QLIB and Bonus Programs
  492.  
  493.           Suprtool  comes  with an array of contributed software in the QLIB
  494.           library (in  the  QLIB  groups  of  the  Robelle  account).   QLIB
  495.           programs  may  be  used  on  any CPU and may be given away freely.
  496.           Your Robelle license may also entitle you  to  receive  our  Bonus
  497.           programs:  Compare/iX, HowMessy, Select, Spell, and Xpedit.  These
  498.           programs reside in the Pubnew group of the Robelle account.  Bonus
  499.           programs  can only be used on authorized machines, and you may not
  500.           distribute them to anyone.
  501.  
  502.           If you received Bonus programs with this version of Suprtool,  use
  503.           the  job  stream called Bonus.Job.Robelle to install both the QLIB
  504.           and Bonus programs.  If you did not receive  Bonus  programs,  use
  505.           the job stream Qlib.Job.Robelle to install the QLIB programs.
  506.  
  507.                :hello mgr.robelle
  508.                :stream bonus.job.robelle        {or Qlib.Job.Robelle}
  509.  
  510.           If  you  skip  this step, you might end up running old versions of
  511.           these programs.
  512.  
  513.  
  514.    Step 9:  Purge Installation Files (optional)
  515.  
  516.           The easiest way to clean up after an installation is to stream the
  517.           Cleanup.Purgejob.Robelle  job.   This  job saves you disc space by
  518.           purging the installation files.  It does not purge the files  that
  519.           are necessary to run the software.
  520.  
  521.  
  522.    Enhancements
  523.  
  524.  
  525.           Every  year  we  provide  Suprtool  users  with new features.  The
  526.           following section describes the new enhancements to Suprtool since
  527.           the last major release.
  528.  
  529.  
  530.  
  531.    Variable Substitution
  532.  
  533.           Suprtool,  Suprlink  and  STExport  are now capable of CI variable
  534.           substitution at the command line.  This feature is only  available
  535.           in the NM version of these programs and if you turn it on with the
  536.           following set command:
  537.  
  538.                set varsub on
  539.  
  540.           Suprtool is able to substitute any CI variables from  any  command
  541.           line  source,  whether  thru interactive, use file or batch input.
  542.           Variable  Substitution  is  not  on  by   default   for   backward
  543.           compatibility.
  544.  
  545.  
  546.    Example
  547.  
  548.           Since  Suprtool  now is capable of CI Variable Substitution you no
  549.           longer need to echo commands out to a file and  then  subsequently
  550.           use the file that was created.
  551.  
  552.           The following example varies the sort order of an extract with the
  553.           CI variable of order.
  554.  
  555.                !setvar order 'desc'
  556.                !run suprtool.pub.robelle
  557.                set varsub on
  558.                base test
  559.                get dline
  560.                sort ord-num,!order
  561.                output file3y
  562.                exit
  563.  
  564.  
  565.    Batch
  566.  
  567.           The Streams facility (under default setup) will  replace  any  "!"
  568.           found  in  the  first column of a job stream.  Anytime you want to
  569.           specify an entire line thru Variable Substitution you will need to
  570.           leave a space before the variable is specified.
  571.  
  572.                !setvar a 'base mydb;get orders;output file3x;exit'
  573.                !run suprtool.pub.robelle
  574.                set varsub on
  575.                 !a
  576.  
  577.  
  578.    Notes
  579.  
  580.           For MPE commands some variables will be resolved twice when passed
  581.           off to MPE, which will give different values for a variable.
  582.  
  583.           Setting variables at the CI level:
  584.  
  585.                MPEXL:setvar a 10
  586.                MPEXL:setvar b "!!a"
  587.                MPEXL:showvar [ab]
  588.                A = 10
  589.                B = !a
  590.  
  591.           Setting  variables  within  Suprtool  with  Variable  Substitution
  592.           turned on changes the value of b.
  593.  
  594.                >set varsub on
  595.                >setvar a 10
  596.                >setvar b "!!a"
  597.                >showvar [ab]
  598.                A = 10
  599.                B = 10
  600.  
  601.           Since  the problem is that Surptool does one level of Substitution
  602.           prior to the command being passed off to MPE, we simply  recommend
  603.           that  you set the variables prior to running Suprtool, or that you
  604.           temporarily turn off variable substitution  with  the  set  varsub
  605.           command.
  606.  
  607.                >set varsub off
  608.                >setvar a 10
  609.                >setvar b "!!a"
  610.                >showvar [ab]
  611.                A = 10
  612.                B = !a
  613.                >set varsub on
  614.  
  615.           Variable Substitution is not available in the $read feature of the
  616.           If command.
  617.  
  618.  
  619.  
  620.    $Abs function
  621.  
  622.           Suprtool supports a $abs function which returns the absolute value
  623.           of the number.  For example if the field credit contains the value
  624.           -547.83, the $abs function will return 547.83.
  625.  
  626.           This function will work on a field or even an expression such as:
  627.  
  628.                >if $abs(credit / 100 * 1.07)
  629.  
  630.           This function will also work in the extract command:
  631.  
  632.               >def newcredit,1,4,double
  633.               >ext newcredit = $abs(newcredit / 100 * 1.07)
  634.  
  635.  
  636.  
  637.    $Days function
  638.  
  639.           Suprtool  supports  a  $days  function  which  will  convert   any
  640.           supported  date  to  a Julian Day number (the number of days since
  641.           4713 BC).  This allows for  Date  arithmetic,  in  which  you  can
  642.           calculate  the  difference  between  two  dates, even if they have
  643.           dissimilar formats.
  644.  
  645.           For example you could find all orders that were not shipped within
  646.           30 days of being ordered.
  647.  
  648.                >form ordfile
  649.                    File: ORDFILE.SALES.MFG       (SD Version B.00.00)
  650.                       Entry:                  Offset
  651.                          ORDER-DATE        x8      1        <<CCYYMMDD>>
  652.                          SHIP-DATE         X8      9        <<MMDDYYYY>>
  653.                          ORDER-NUMBER      X6      17
  654.                    Limit: 10000  EOF: 15  Entry Length: 23  Blocking: 16
  655.  
  656.                >in ordfile
  657.                >if $days(SHIP-DATE) - $days(ORDER-DATE) >=30
  658.                >list
  659.                >xeq
  660.                IN=15, OUT=4.  CPU-Sec=1.  Wall-Sec=1.
  661.  
  662.           As  with the $stddate function, if a date is not a valid date then
  663.           the result of the $days function will be zero.
  664.  
  665.           Similar to the  $stddate  function  the  $days  function  is  also
  666.           available  to  the extract command.  You can convert any supported
  667.           date to a Julian day number in the following manner.
  668.  
  669.                >in ordfile
  670.                >def ship-days,1,4,double
  671.                >def order-days,1,4,double
  672.                >ext order-no
  673.                >ext ship-days=$days(ship-date)
  674.                >ext order-days=$days(order-date)
  675.                >out neword,link
  676.                >xeq
  677.                IN=15, OUT=15.  CPU-Sec=1.  Wall-Sec=1.
  678.  
  679.           If an invalid date is encountered the value that is extracted will
  680.           be zero.
  681.  
  682.  
  683.  
  684.    $Truncate function
  685.  
  686.           Suprtool supports a $truncate function which returns the number to
  687.           the left of a decimal place.  No rounding will  take  place.   For
  688.           example  if  the  field  stddev  contains  the  value  547.83, the
  689.           $truncate function will return 547.
  690.  
  691.           This function will work on a field or even an expression such as:
  692.  
  693.                >if $truncate(stddev / 100 * 1.07)
  694.  
  695.           This function will also work in the extract command:
  696.  
  697.                >def newdev,1,4,double
  698.                >ext newdev = $truncate(stddev / 100 * 1.07)
  699.  
  700.  
  701.  
  702.    If Command
  703.  
  704.           The If command previously only supported  patterns  or  fields  of
  705.           only  up to 256 characters for a pattern matching operation.  This
  706.           restriction is no longer in effect.
  707.  
  708.                >in long
  709.                >def a,1,1000
  710.                >if a=="@Company@"
  711.                >list
  712.                >xeq
  713.  
  714.  
  715.  
  716.    Item Command - Date
  717.  
  718.           The Item command now has two new date formats, these date  formats
  719.           are EDSDATE and JulianDay.
  720.  
  721.  
  722.    EDSDATE
  723.  
  724.           The  Item  command  now supports a new date format called EDSDATE,
  725.           which is a date in a format similar to yyymmdd,  where  the  first
  726.           digit represents the century.
  727.  
  728.           The  first  digit  in  the  EDSDATE  is  either  0  or  1, where 0
  729.           represents a century of 19 and  1  represents  a  century  of  20.
  730.           These  date  formats are available as either a double integer or a
  731.           Packed field.
  732.  
  733.                >item order-date,date,edsdate
  734.  
  735.  
  736.    JulianDay
  737.  
  738.           Another new date, called JulianDay has  been  added  to  the  Item
  739.           command.   The  JulianDay number is the absolute count of the days
  740.           that have elapsed since Noon 1  January  4713  BC  on  the  Julian
  741.           Calendar.
  742.  
  743.           Typically Julian Day Numbers refer to integer number corresponding
  744.           to whole days, while the Julian Date  may  mean  an  integer  plus
  745.           decimal  that  brings  the Julian count down to precise parts of a
  746.           day.  Suprtool  supports  the  "JulianDay"  number  and  does  not
  747.           attempt to support an hour or point in the day.
  748.  
  749.           This  date  format  is  available  for  a double integer or double
  750.           logical data type.
  751.  
  752.                >item daydate,date,julianday
  753.  
  754.  
  755.  
  756.    Item Command - PHDate8
  757.  
  758.  
  759.    PHDate8
  760.  
  761.           PowerHouse versions 8.19 and  higher  have  changed  their  Phdate
  762.           format  stored  in  a  single integer (j1) container.  The allowed
  763.           range of values for the year is now 00 - 127.
  764.  
  765.           The Item command has been enhanced to support this new format:
  766.  
  767.                >item daydate,date,phdate8
  768.  
  769.           Given the fact that many users may have a  lot  of  Suprtool  code
  770.           with references to the Item command we have provided a Set command
  771.           to change:
  772.  
  773.                >item daydate,date,phdate
  774.  
  775.           to mean:
  776.  
  777.                >item daydate,date,phdate8
  778.  
  779.           The set command is:
  780.  
  781.                >set date MapToPhdate8 on
  782.  
  783.           This Set command only changes the reference to phdate  to  phdate8
  784.           in  the  Item  command, it does not change references that already
  785.           exist in self-describing files nor does it change the data.
  786.  
  787.  
  788.  
  789.    MPE/iX 6.5
  790.  
  791.           Suprtool, Suprlink and STExport have  had  some  internal  changes
  792.           made  in  order to support MPE/iX 6.5.  We have tested some of the
  793.           new features on MPE/iX 6.5, thru early access to this new  version
  794.           of the Operating System.
  795.  
  796.           We have done some limited testing on MPE/iX 6.5 and recommend that
  797.           you use Suprtool version 4.2.55.
  798.  
  799.           Some of the tests involved sorting, linking and  exporting  up  to
  800.           20Gb of data.  We wish to hear from all of you who are planning to
  801.           move to MPE/iX 6.5 in the near future.
  802.  
  803.  
  804.  
  805.    Set Command - Date
  806.  
  807.           A new Set command has been added to help change any  Item  command
  808.           reference  to phdate to mean phdate8, for assistance in converting
  809.           to the newer phdate format found in PowerHouse  version  8.19  and
  810.           higher.
  811.  
  812.           The Set command is:
  813.  
  814.                >set date MapToPhdate8 on
  815.  
  816.           This only changes the reference to phdate8 in the Item command, it
  817.           does not change references that already exist  in  self-describing
  818.           files nor does it change the data.
  819.  
  820.  
  821.  
  822.    Set Command - Varsub
  823.  
  824.           A   new  Set  command  has  been  added  to  turn  on  a  Variable
  825.           Substitution at  the  command  line  for  Suprtool,  Suprlink  and
  826.           STExport.
  827.  
  828.           The Set command is:
  829.  
  830.                >set VarSub On
  831.  
  832.           Turning  this  option  on tells Suprtool, Suprlink and STExport to
  833.           resolve any CI variables in the command line.
  834.  
  835.  
  836.  
  837.    Suprlink and STExport
  838.  
  839.           Suprlink  and  STExport  now  support  filenames  of  up  to   240
  840.           characters in the Input, Output and Link commands.
  841.  
  842.  
  843.  
  844.    Bugs Fixed
  845.  
  846.  
  847.    Speed Demon.  Speed Demon was not properly defaulting to a prefetch value
  848.           of 2 if the spdeprefetch jcw was not set explicitly.
  849.  
  850.  
  851.    Speed Demon.  Speed Demon was  not  properly  handling  prefetch  on  the
  852.           second chunk of a jumbo dataset.
  853.  
  854.  
  855.    Get Command.  Suprtool  incorrectly  reported  that  Eof was greater than
  856.           calculated for the last chunk of Jumbo Master datasets.
  857.  
  858.  
  859.    Heap Space.  Suprtool now properly returns  heap  space  after  Sort  and
  860.           Table (File Option) operations.
  861.  
  862.  
  863.    Heap Space.  Suprtool  would  fail with Heap chain corruption in one case
  864.           during a reset all operation.
  865.  
  866.  
  867.    If Command.  The  If  command  would  incorrectly  select  records   when
  868.           operating on Real or Long data types.
  869.  
  870.  
  871.    Reset Table.  A  Reset  Table  command  would  fail with an error message
  872.           unable to Reset Table space in certain situations.
  873.  
  874.  
  875.    $stddate and phdate.  The $stddate function will  now  apply  the  cutoff
  876.           rules for the phdate format in small-int (I1 & J1) data fields.
  877.  
  878.  
  879.    QLIB and Bonus Enhancements
  880.  
  881.  
  882.           Qedit  comes  with  an  array  of  contributed  tools  in the QLIB
  883.           library.  Your Robelle license may also entitle you to receive our
  884.           five  Bonus  programs.   All of these tools are updated throughout
  885.           the year, not necessarily in sync with Qedit or any other  Robelle
  886.           product.
  887.  
  888.           If  you  have  the  Bonus  programs,  you  may  use  them  only on
  889.           appropriately licensed CPUs.  The QLIB programs, however,  may  be
  890.           used on any CPU and given away freely.  The most recently released
  891.           Bonus and QLIB tools are as follows:
  892.  
  893.                Bonus                   Contributed
  894.                Compare/iX 2.6          Helpcomp 2.2
  895.                HowMessy 2.6            Printdoc 1.7
  896.                Select 3.9              Prose 4.3
  897.                Spell 1.8               Pscreen 89C
  898.                Xpedit 1.7              Qcopy 4.6
  899.                                        Qhelp 2.2
  900.  
  901.  
  902.    QLIB Programs
  903.  
  904.           Since the last major release of Qedit, the following QLIB programs
  905.           have been enhanced with these new features:
  906.  
  907.  
  908.    Prose 4.3
  909.  
  910.           Prose is the text formatter that we use for all our documentation,
  911.           from user manuals to on-line help.  Prose now formats  20xx  dates
  912.           correctly in the .FORM specifications.
  913.  
  914.  
  915.    Appendix:  Non-Robelle Installation
  916.  
  917.  
  918.           Suprtool  is  usually  installed  on  your  HP 3000 in the Robelle
  919.           account (see the installation instructions earlier in this  change
  920.           notice).   However,  you  can  easily  install  Qedit into another
  921.           account by following these general steps:
  922.  
  923.           1. Restore the files into your account.
  924.           2. Stream the account upgrade job (with modifications).
  925.           3. Stream the installation jobs (with modifications).
  926.  
  927.           For example, to install Suprtool into an account called Tools  and
  928.           into  the  same  groups as Suprtool would have used in the Robelle
  929.           account (Pub, Doc, Help, etc.), follow these steps.
  930.  
  931.  
  932.    Step 1:  Restore Files
  933.  
  934.           Restore the files into  your  account,  which  is  Tools  in  this
  935.           example.
  936.  
  937.                :restore *rtape;@.@.@;account=tools
  938.  
  939.  
  940.    Step 2:  Stream the account upgrade job (with modifications)
  941.  
  942.           With   a  text  editor,  change  all  account  references  in  the
  943.           Robelle.Job.Tools job  from  "robelle"  to  "tools."  Don't  worry
  944.           about  changes to some of the comments in the job.  Note that this
  945.           job will change the capabilities, access flags, and logon password
  946.           of  the  Tools  account.  Examine the job carefully to ensure that
  947.           the changes do not  cause  problems  for  other  software  in  the
  948.           Robelle account.
  949.  
  950.                :run qedit.pub.tools
  951.                /text robelle.job.tools
  952.                /change "robelle"(upshift) "tools" all
  953.  
  954.  
  955.    Step 3:  Stream the installation jobs (with modifications)
  956.  
  957.           Now log on to the Tools account instead of the Robelle account.
  958.  
  959.                :hello mgr.tools
  960.                :run qedit.pub.tools
  961.  
  962.           Before streaming any jobs, you must alter them so that they log on
  963.           to the Tools account instead of the  Robelle  account.   Make  the
  964.           following  change  to  each  job in the Suprjob, Job, and Purgejob
  965.           groups:
  966.  
  967.                /text install.suprjob
  968.                /change "robelle"(upshift smart) "tools" all
  969.                /keep
  970.                /exit
  971.                :stream install.suprjob
  972.  
  973.           We have used Robelle's Qedit text  editor  to  make  the  required
  974.           changes  to  the account name in this example, but you can use any
  975.           editor.  Just make sure that  all  occurrences  of  "robelle"  are
  976.           changed,   regardless   of  whether  "robelle"  is  in  uppercase,
  977.           lowercase, or mixed case.  Only change  "robelle"  when  it  is  a
  978.           separate word, not when it is embedded in a longer word.
  979.