home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / changes / supr4p2ux.txt < prev    next >
Text File  |  2002-07-29  |  28KB  |  781 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                              SUPRTOOL Version 4.2
  7.  
  8.  
  9.                           Database Handyman for HP-UX
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                                  Change Notice
  17.                            Installation Instructions
  18.                           Addendum to 4.2 User Manual
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                             Suprtool         4.2
  26.                             Suprlink         4.2
  27.                             STExport         4.2
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.                             Robelle Consulting Ltd.
  39.                            Unit 201, 15399-102A Ave.
  40.                          Surrey, B.C.  Canada V3R 7K1
  41.  
  42.                            Toll-free:  1-888-ROBELLE
  43.                                       (1-888-762-3553)
  44.                             Phone:  (604) 582-1700
  45.                              Fax:  (604) 582-1799
  46.  
  47.                          E-mail:  support@robelle.com
  48.                              Web:  www.robelle.com
  49.  
  50.                                   March 1999
  51.           Program and Manual Copyright Robelle Consulting Ltd.  1981-2002
  52.  
  53.  
  54.           Permission  is  granted  to  reprint  this  document  (but not for
  55.           profit), provided that copyright notice is given.
  56.  
  57.  
  58.  
  59.  
  60.           QEDIT and SUPRTOOL  are  trademarks  of  Robelle  Consulting  Ltd.
  61.           Other  product  and  company  names  mentioned  herein  may be the
  62.           trademarks of their respective owners.
  63.  
  64.  
  65.  
  66.    Introducing Suprtool/UX Version 4.2
  67.  
  68.  
  69.                ⁿ  Highlights
  70.                ⁿ  Known Problems
  71.                ⁿ  Compatibility
  72.                ⁿ  CPU Serial Number (uname)
  73.                ⁿ  Documentation
  74.                ⁿ  Documentation in WinHelp Format
  75.  
  76.           Use Suprtool/UX to read, select, and sort  data  from  Oracle  and
  77.           Allbase  databases  and from data files with fixed-length records.
  78.           Suprtool/UX is designed to be similar to Suprtool  for  MPE  while
  79.           providing   necessary   HP-UX   features.    Suprlink/UX  provides
  80.           high-speed data-file linking based on a sort key.  Use STExport to
  81.           convert fields in a self-describing input file into an output file
  82.           that can be imported into different applications.
  83.  
  84.  
  85.    Highlights in Version 4.2
  86.  
  87.  
  88.    More Date and Data Manipulation
  89.  
  90.           ⁿ  With the new $stddate function, you can use the  popular  "date
  91.              windowing" Y2K technique in the If and Extract commands.
  92.  
  93.           ⁿ  You  can compare dates with dissimilar formats or data-types by
  94.              using the new $stddate function.
  95.  
  96.           ⁿ  The If and Extract commands  now  support  the  Mod  arithmetic
  97.              operator,  allowing more flexible manipulation of numeric data,
  98.              especially numeric date data.
  99.  
  100.  
  101.    New Date Formats
  102.  
  103.           ⁿ  Suprtool now supports more new date  formats:  mmyyyy,  yyyymm,
  104.              yyddd,  ccyyddd,  aamm,  mddaa, ddmmaa and HPCalendar.  The ddd
  105.              date component is a count of the "day of the  year,"  which  is
  106.              sometimes referred to as a Julian date.
  107.  
  108.           ⁿ  The  $date  function  now permits you to enter a date without a
  109.              month or day, depending on your date format.
  110.  
  111.  
  112.    Staying Current with HP-UX
  113.  
  114.           ⁿ  Suprtool has been enhanced to  support  files  greater  than  2
  115.              gigabytes.
  116.  
  117.           ⁿ  Suprtool  and  STExport  now  allow  you to specify whether the
  118.              output file has line feeds.
  119.  
  120.           ⁿ  Suprlink and STExport now support the ROBELLE variable.
  121.  
  122.  
  123.    Known Problems
  124.  
  125.           There are no known problems at this time.
  126.  
  127.  
  128.    Compatibility
  129.  
  130.           Suprtool/UX is compatible with HP-UX 9.0, all  versions  of  HP-UX
  131.           10.x, as well as Oracle version 7.1.3.2.0.
  132.  
  133.           On  HP-UX  10.x,  Suprtool/UX  creates  all  of  its temporary and
  134.           scratch  files  in  /var/tmp,  unless  you  have  overridden   the
  135.           temporary directory with the TMPDIR environment variable.
  136.  
  137.           Suprtool  for  HP-UX  typically  comes  with  two  versions in two
  138.           different directories on your tape.  The version  of  Suprtool  in
  139.           /opt/robelle  is  compatible  with  HP-UX  10.20  and  later.  The
  140.           version of Suprtool in /usr/robelle is  compatible  with  versions
  141.           earlier than HP-UX 10.20.
  142.  
  143.  
  144.    Item Command and Date Format
  145.  
  146.           In  earlier versions of Suprtool, the Item command default allowed
  147.           an abbreviated name of the date format.  Now this default  expects
  148.           the full mnemonic for the date format.  To change the default, you
  149.           can use the new Set ItemAbbreviateDate On command.  For example,
  150.  
  151.                >def a,1,4,double
  152.                >item a,date,hpcal
  153.  
  154.               Error:  The Item command did not recognize HPCAL as a valid
  155.               date keyword
  156.  
  157.                >set itemabbreviatedate on
  158.                >do item
  159.                >item a,date,hpcal
  160.  
  161.           To enable this feature globally for all Suprtool tasks, add
  162.  
  163.                >set itemabbreviatedate on
  164.  
  165.           to the file /usr/robelle/suprmgr.
  166.  
  167.  
  168.    CPU Serial Number (uname)
  169.  
  170.           This program runs only on CPUs  whose  serial  numbers  have  been
  171.           encoded (the "uname" on HP-UX).  If it fails to run and you get an
  172.           "invalid HPSUSAN" error message, call Robelle for assistance.
  173.  
  174.  
  175.    Documentation
  176.  
  177.           The user manuals for Suprtool and  its  components  are  available
  178.           on-line.   You  can  access  these  files  from within Suprtool by
  179.           simply typing "help."   We also distribute all three user  manuals
  180.           as a Windows Help file.
  181.  
  182.           If you are already familiar with Suprtool, you can access only the
  183.           Suprtool/UX topics that are different from those of  Suprtool/MPE.
  184.           The  "Running"  section  of  the  help  file  has been updated for
  185.           Suprtool/UX.  You can access it with this Help command:
  186.  
  187.                >help running
  188.  
  189.  
  190.    Documentation in WinHelp Format
  191.  
  192.           The user manuals for Suprtool and its components are all available
  193.           in  the  popular  WinHelp  file format of Microsoft Windows.  Your
  194.           tape  includes  a  WinHelp  file,  which  is   a   self-extracting
  195.           compressed  file  that  contains  all  five Help files and a Setup
  196.           program.  Use the installation instructions in this change  notice
  197.           to install the WinHelp files on your PC.
  198.  
  199.  
  200.    Installation of 4.2
  201.  
  202.  
  203.           The  following instructions describe the installation process of a
  204.           new Suprtool release.  The  new  version  overwrites  an  existing
  205.           version of Suprtool on your HP-UX system.
  206.  
  207.  
  208.    Who Should Use These Instructions?
  209.  
  210.           The  system  manager  should  use  the  following  instructions to
  211.           install Suprtool/UX.  During the installation, which  should  take
  212.           only a few minutes, no one can use Suprtool/UX.
  213.  
  214.  
  215.    Replace Any Pre-Release
  216.  
  217.           If  you  are  currently running a pre-release version of Suprtool,
  218.           you should replace it with this new official release.  Pre-release
  219.           versions  expire  within two years of their creation date, whereas
  220.           this new release has no expiry date.  You can easily  recognize  a
  221.           pre-release by the words "Pre-Release" next to the version number.
  222.  
  223.  
  224.    Summary of Installation Steps
  225.  
  226.           To install Suprtool, follow these steps:
  227.  
  228.           1. Log in as root.
  229.  
  230.           2. Create the correct directory structure.
  231.  
  232.           3. Restore  Suprtool/UX  and  its  associated   files   from   the
  233.              distribution tape.
  234.  
  235.           4. Set  up  variables  to  let  Suprtool know where its supporting
  236.              files are.
  237.  
  238.           5. Install WinHelp documentation files.  (optional)
  239.  
  240.  
  241.    Installation Assistance
  242.  
  243.           If you have any questions or run into any  problems,  please  call
  244.           us.   Technical  support is available on weekdays from 7 a.m. to 4
  245.           p.m. Pacific time at 1-888-ROBELLE (1-888-762-3553).  You can also
  246.           receive  emergency  support  outside of these hours by calling our
  247.           regular phone number and asking the operator  to  page  a  support
  248.           person for you.
  249.  
  250.  
  251.    Step 1:  Log In as Root
  252.  
  253.           There are two ways you can log in as root:
  254.  
  255.           a. Exit from HP-UX and log in with root as the user name.
  256.  
  257.           b. If you are already logged in, you can execute this command:
  258.  
  259.                   su -
  260.  
  261.           In  either case, you have to know and supply the user password for
  262.           root.
  263.  
  264.  
  265.    Step 2:  Create Robelle Directory
  266.  
  267.           Before restoring files, you must first create the directory  where
  268.           Suprtool/UX will reside:
  269.  
  270.           For HP-UX 10.20 and later,
  271.  
  272.                mkdir /opt/robelle
  273.  
  274.           For HP-UX 10.10 and earlier,
  275.  
  276.                mkdir /usr/robelle
  277.  
  278.  
  279.    Step 3:  Restore Files
  280.  
  281.           Use  the  following  command to restore the Suprtool/UX files from
  282.           the distribution tape:
  283.  
  284.           For HP-UX 10.20 and later,
  285.  
  286.                tar xv /opt/robelle
  287.  
  288.           For HP-UX 10.10 and earlier,
  289.  
  290.                tar xv /usr/robelle
  291.  
  292.           This command assumes your tape device is /dev/rmt/0m.   If  it  is
  293.           not,  you  need  to specify your tape device using the f option in
  294.           the tar command.  For example, if your tape device is /dev/rmt/1m,
  295.           you need to use the following command to restore the files:
  296.  
  297.                tar xvf /dev/rmt/1m /opt/robelle
  298.  
  299.  
  300.    Step 4:  Set the ROBELLE Variable
  301.  
  302.           You must set the ROBELLE environment variable so that Suprtool can
  303.           find its Help and Suprmgr files.
  304.  
  305.  
  306.    Bourne and Korn Shells
  307.  
  308.           For HP-UX 10.20 and later,
  309.  
  310.                export ROBELLE=/opt/robelle
  311.  
  312.           For HP-UX 10.10 and earlier,
  313.  
  314.                export ROBELLE=/usr/robelle
  315.  
  316.  
  317.    C Shell
  318.  
  319.           For HP-UX 10.20 and later,
  320.  
  321.                setenv ROBELLE /opt/robelle
  322.  
  323.           For HP-UX 10.10 and earlier,
  324.  
  325.                setenv ROBELLE /usr/robelle
  326.  
  327.  
  328.    Step 5:  Install WinHelp Documentation Files (optional)
  329.  
  330.           The Suprtool documentation for both MPE and HP-UX is now available
  331.           in  the  WinHelp  format  of  Microsoft Windows.  You can only use
  332.           these files if you have Windows 3.1  or  later.   To  install  the
  333.           WinHelp files on a PC, follow these instructions.
  334.  
  335.  
  336.    Make a Temporary Directory for the Setup Program
  337.  
  338.           Create  a directory for the installation file on your PC.  You can
  339.           remove this directory after installing the WinHelp files.  At  the
  340.           DOS prompt, for example, type
  341.  
  342.                mkdir \robtemp
  343.  
  344.  
  345.    Download the Compressed File
  346.  
  347.           If  you  use  the floppy diskette that is included in the Suprtool
  348.           User Manual to copy the Help files to your hard drive, proceed  to
  349.           "Run  the  Setup  Program"  below.   Otherwise,  use Reflection to
  350.           download the self-extracting Zip file to your PC and continue with
  351.           these steps.  The file on the HP 9000 is
  352.  
  353.                /usr/robelle/winhelp/suprhelp.exe
  354.  
  355.           From  the /usr/robelle/winhelp directory, press Alt-Y to go to the
  356.           Reflection Command Line window.   Then  download  the  file  as  a
  357.           binary transfer.
  358.  
  359.                receive c:\robtemp\suprhelp.exe
  360.                       from /usr/robelle/winhelp/suprhelp.exe binary
  361.  
  362.  
  363.    Expand the Compressed Files
  364.  
  365.           You  only need the following commands to extract the files because
  366.           we provide both the Setup  program  and  the  Help  files  in  one
  367.           self-extracting Zip file.  From the DOS prompt, type the following
  368.           commands:
  369.  
  370.                cd \robtemp          {go to the new Robtemp directory}
  371.                suprhelp.exe         {extract the Help files}
  372.  
  373.  
  374.    Run the Setup Program
  375.  
  376.           From the Program Manager, run the Setup program  by  choosing  the
  377.           Run option from the File menu.  Then enter c:\robtemp\setup in the
  378.           Command Line window and  follow  the  instructions  in  the  Setup
  379.           program.
  380.  
  381.           You  can now access all of the Suprtool documentation by selecting
  382.           any of the icons in the "Robelle Help" Program Manager Group.
  383.  
  384.  
  385.    Remove the Robtemp Directory
  386.  
  387.           Before you remove the WinHelp  files,  you  can  copy  them  to  a
  388.           diskette and distribute them to other Suprtool users.
  389.  
  390.           To  delete all the WinHelp files and remove the Robtemp directory,
  391.           use either the File Manager or the following DOS commands:
  392.  
  393.                cd \robtemp
  394.                del *.*          {delete all the files in Robtemp}
  395.                cd ..
  396.                rmdir robtemp    {remove the Robtemp directory}
  397.  
  398.  
  399.    Enhancements
  400.  
  401.           Every year we provide Suprtool/UX users with new  features.   This
  402.           year the major enhancements include more date control functions in
  403.           the If and Extract  commands,  more  date  formats  for  the  Item
  404.           command and a new Mod arithmetic operator.  The following sections
  405.           describe the new enhancements to Suprtool  since  the  last  major
  406.           release.
  407.  
  408.  
  409.    Large File Support
  410.  
  411.           Suprtool  had  been enhanced to read, sort and write files greater
  412.           than 2 gigabytes.  Although Suprtool is currently limited  to  2.1
  413.           billion  records, in testing it has read, sorted and written out a
  414.           6.3 gigabyte file.
  415.  
  416.           This support is available only on versions  of  HP-UX  (10.20  and
  417.           later) that support large files.
  418.  
  419.  
  420.    Decimal Command - STExport
  421.  
  422.           Use  the  Decimal  command  to  specify the symbol for the decimal
  423.           place in STExport.
  424.  
  425.                DECimal PERIOD | COMMA
  426.  
  427.                                                            (Default: Period)
  428.  
  429.           The  Decimal  command  specifies  what  separator  will be used to
  430.           indicate the decimal place in numeric fields.  In  North  America,
  431.           the  custom  is  to  indicate  the decimal place in numbers with a
  432.           period (.).  Outside North America, the custom is to indicate  the
  433.           decimal place with a comma (,).  If the decimal place indicator is
  434.           incorrect, it is harder to import files into other applications.
  435.  
  436.           The Decimal command does not apply to floating-point fields.
  437.  
  438.  
  439.    If Command - $Stddate
  440.  
  441.           Suprtool now has a new $stddate function available in the  If  and
  442.           Extract  commands.   This function can compare dates of dissimilar
  443.           formats or data-types by converting any date format in nearly  any
  444.           data-type  container  and internally converting it to the ccyymmdd
  445.           format in a double-integer container.  For example,
  446.  
  447.                > get order-detail
  448.                > item order-date,date,ccyymmdd
  449.                > item bill-date,date,mmddyyyy
  450.                > if $stddate(bill-date) <= order-date
  451.                > output badords,link
  452.                > xeq
  453.  
  454.           This feature is also available for those dates that have two-digit
  455.           years.   The century portion of the date is applied to $stddate by
  456.           using the normal cutoff rules that  use  the  value  in  Set  Date
  457.           Cutoff.
  458.  
  459.                > get invoice-detail
  460.                > set date cutoff 20
  461.                > item invoice-date,date,yymmdd
  462.                > item close-date,date,mmddyyyy
  463.                > if $stddate(close-date) <= $stddate(invoice-date)
  464.                > out badinvs,link
  465.                > xeq
  466.  
  467.           In  this case all invoice-date values with a yy portion between 20
  468.           and 99 will have 19 as the century.  All invoice-date values  with
  469.           a yy portion of less than 20 will have 20 in the date generated by
  470.           the $stddate function.
  471.  
  472.           Invalid Dates
  473.  
  474.           A date must be  valid  before  $stddate  can  convert  it  to  the
  475.           ccyymmdd format.  Otherwise, a value of 0 will be returned for any
  476.           invalid dates.  An invalid date is a number in a date format whose
  477.           date  equivalent  cannot  be  found  on a calendar.  This includes
  478.           dates selected by the $invalid function.   We  can  eliminate  the
  479.           invalid  dates  from  the  above  task  by changing the If command
  480.           slightly.
  481.  
  482.                > get invoice-detail
  483.                > set date cutoff 20
  484.                > item invoice-date,date,yymmdd
  485.                > item close-date,date,mmddyyyy
  486.                > if (not $invalid(close-date) &
  487.                  or  not $invalid(invoice-date)) &
  488.                  and     $stddate(close-date) <= $stddate(invoice-date)
  489.                > out badinvs,link
  490.                > xeq
  491.  
  492.           In this example, if either the close-date or the invoice-date  are
  493.           invalid,  then they will not be evaluated by the $stddate function
  494.           and will not be  selected.   Although  your  requirements  may  be
  495.           different,  you  need  to remember that invalid dates evaluated by
  496.           the $stddate function will return a 0 value.
  497.  
  498.  
  499.    Extract Command - $Stddate
  500.  
  501.           Similar to the If command, the Extract command is also capable  of
  502.           utilizing  the  $stddate  function,  which  can convert any of the
  503.           supported Suprtool date formats into  the  ccyymmdd  format  in  a
  504.           double-integer container.
  505.  
  506.           For example,
  507.  
  508.               > get sales-detail
  509.               > def new-ship-date,1,4,double
  510.               > item ship-date,date,mmddyyyy
  511.               > ext order-no / sales-amount
  512.               > ext new-ship-date = $stddate(ship-date)
  513.               > out salesinfo,link
  514.               > xeq
  515.  
  516.           Invalid Dates
  517.  
  518.           A  date  must  be  valid  before  $stddate  can  convert it to the
  519.           ccyymmdd format.  Otherwise, a value of 0 will be returned for any
  520.           invalid dates.  An invalid date is a number in a date format whose
  521.           date equivalent cannot be found on a calendar.   If  you  use  the
  522.           $stddate  funcion to extract a value that is not a valid date, the
  523.           extracted value will be 0.
  524.  
  525.  
  526.    $Date Function
  527.  
  528.           The $date function for  the  If  and  Extract  commands  has  been
  529.           enhanced  to have more flexible parsing of the year, month and day
  530.           portions for the yymm, yyyymm,  ccyymm,  ccyy,  aamm,  mmyyyy  and
  531.           ccyymm date formats.
  532.  
  533.           For  example,  in  earlier  versions  the  ccyy date format had to
  534.           specify all three components (year, month and day).  Now the $date
  535.           function needs only the relevant portion of the date.
  536.  
  537.                >item year-date,date,ccyy
  538.                >if year-date = $date(*)
  539.  
  540.           For  compatibility  reasons,  we also accept all three portions of
  541.           the date in the $date function.
  542.  
  543.                >item year-date,date,ccyy
  544.                >if year-date = $date(*/*/*)
  545.  
  546.  
  547.    Item Command - Date Format
  548.  
  549.           In earlier versions of Suprtool, the Item command default  allowed
  550.           an  abbreviated name of the date format.  Now this default expects
  551.           the full mnemonic for the date format.  To change the default, you
  552.           can use the new Set ItemAbbreviateDate On command.  For example,
  553.  
  554.                >def a,1,4,double
  555.                >item a,date,hpcal
  556.  
  557.               Error:  The Item command did not recognize HPCAL as a valid
  558.               date keyword
  559.  
  560.                >set itemabbreviatedate on
  561.                >do item
  562.                >item a,date,hpcal
  563.  
  564.           To enable this feature globally for all Suprtool tasks, add
  565.  
  566.                >set itemabbreviatedate on
  567.  
  568.           to the file /usr/robelle/suprmgr.
  569.  
  570.  
  571.    Item Command - mmyyyy
  572.  
  573.           The Item command now supports the date format of mmyyyy in X6, Z6,
  574.           J2, K2 and P8 or greater data-types.
  575.  
  576.  
  577.    Item Command - yyddd
  578.  
  579.           The Item command now supports the date format of yyddd in X5,  Z5,
  580.           J2,  K2  and  P8  or  greater data-types.  Because you cannot have
  581.           uneven byte fields in IMAGE databases, you may  need  to  redefine
  582.           your  date field for these types of dates, depending on where your
  583.           date is padded with spaces.
  584.  
  585.           If your date is an X6 field, you can  redefine  your  date  field.
  586.           This  particular  date  pads a yyddd-type date with a space at the
  587.           end of the field.
  588.  
  589.                >def newdate,date-field[1],5
  590.                >item newdate,date,yyddd
  591.                >if newdate <= $today
  592.  
  593.  
  594.    Item Command - ccyyddd
  595.  
  596.           The Item command now supports the date format of  ccyyddd  in  X7,
  597.           Z7, J2, K2 and P10 or greater data-types.  Because you cannot have
  598.           uneven byte fields in IMAGE databases, you may  need  to  redefine
  599.           your  date field for these types of dates, depending on where your
  600.           date is padded with spaces.
  601.  
  602.           If your date is an X8 field, you can  redefine  your  date  field.
  603.           This  particular date pads a ccyyddd-type date with a space at the
  604.           beginning of the field.
  605.  
  606.                >def newdate,date-field[2],7
  607.                >item newdate,date,ccyyddd
  608.                >if newdate <= $today
  609.  
  610.  
  611.    Item Command - HPCalendar
  612.  
  613.           The Item command now supports the date format of HPCalendar in  J2
  614.           and K2 data-types.
  615.  
  616.  
  617.    Item Command - yyyymm
  618.  
  619.           The Item command now supports the date format of yyyymm in X6, Z6,
  620.           J2, K2 and P8 or greater data-types.
  621.  
  622.  
  623.    Item Command - aamm
  624.  
  625.           The Item command now supports the date format of  aamm  in  an  X4
  626.           data-type.   The Item command also supports mmddaa and ddmmaa date
  627.           formats in an X6 data-type.
  628.  
  629.  
  630.    If Command - Mod Operator
  631.  
  632.           Suprtool now has a new Mod arithmetic operator  that  returns  the
  633.           remainder between a dividend and a divisor.  Practical uses of the
  634.           Mod operator allow for extractions of the rightmost  numbers  from
  635.           numeric  fields.   You can use the Mod operator to do a comparison
  636.           on the rightmost numbers of a given numeric  field.   For  example
  637.           you  could  compare  the  dd  portion  of  a ccyymmdd date against
  638.           another field or constant.
  639.  
  640.                > get order-detail
  641.                > item order-date,date,ccyymmdd
  642.                > if order-date mod 100 <= 15
  643.                > out ordbegin
  644.                > xeq
  645.  
  646.           Using the same concept and data, you can also  compare  the  month
  647.           portion of a given date by using divide (/) and Mod together.
  648.  
  649.                > get order-detail
  650.                > item order-date,date,ccyymmdd
  651.                > if order-date / 100 mod 100 <= 02
  652.                > out ordbegin
  653.                > xeq
  654.  
  655.           The  Mod  operator  has  the  same  precedence  in  the  order  of
  656.           operations as multiply and divide.
  657.  
  658.  
  659.    Extract Command - Mod Operator
  660.  
  661.           The Mod operator is also available to  the  Extract  command.   It
  662.           returns the remainder between a dividend and a divisor.  Practical
  663.           uses of the Mod operator allow for extractions  of  the  rightmost
  664.           numbers from numeric fields.
  665.  
  666.                > get order-detail
  667.                > item order-date,date,ccyymmdd
  668.                > def order-date-day,1,4,double
  669.                > ext order-no
  670.                > ext order-date-day = order-date mod 100
  671.                > out ordday,link
  672.                > xeq
  673.  
  674.           Using  the  same  concept and data, you can also extract the month
  675.           portion of a given date by using divide (/) and Mod together.
  676.  
  677.                > get order-detail
  678.                > item order-date,date,ccyymmdd
  679.                > def order-date-day,1,4,double
  680.                > ext order-no
  681.                > ext order-date-day = order-date / 100 mod 100
  682.                > out ordmonth,link
  683.                > xeq
  684.  
  685.           The  Mod  operator  has  the  same  precedence  in  the  order  of
  686.           operations as multiply and divide.
  687.  
  688.  
  689.    Output Command - Suprtool
  690.  
  691.           Suprtool's  Output  command  has been enhanced with new formatting
  692.           options that allow you to specify whether the output file has line
  693.           feeds.   The  LF  and  NOLF  options on the Output command control
  694.           whether line feeds are written to the output file.
  695.  
  696.           By default Suprtool writes out a line feed if the input file has a
  697.           line feed.  Alternatively, Suprtool does not write out a line feed
  698.           if the input source does not have a line feed.  To ensure  that  a
  699.           file  is  written  out  with  line  feeds,  you can specify the LF
  700.           formatting option.
  701.  
  702.                >select * from user.account@emp
  703.                >sort ename
  704.                >out employ,lf
  705.                >xeq
  706.  
  707.           To ensure that no line feeds are written out to the file, you  can
  708.           specify the NOLF option.
  709.  
  710.  
  711.    Output Command - STExport
  712.  
  713.           STExport's  Output  command now allows the user to specify whether
  714.           line feeds are written to  the  output  file.   Normally  STExport
  715.           determines   whether   to   write   out   line   feeds   from  the
  716.           self-describing file.  If the self-describing file does  not  have
  717.           line  feeds,  then  the resulting file from the STExport task will
  718.           not have line feeds.  This caused problems for some programs  that
  719.           imported  the file or for some browsers that used the HTML option.
  720.           You can now specify line feeds in the output file by using the  LF
  721.           option.
  722.  
  723.                $in ora.customer
  724.                $out file1ex,lf
  725.                $exit
  726.  
  727.           To  ensure that no line feeds are written out to the file, you can
  728.           specify the NOLF option.
  729.  
  730.                $in ora.customer
  731.                $out file1ex,nolf
  732.                $exit
  733.  
  734.  
  735.    Output Command - Suprlink
  736.  
  737.           Suprlink's Output command now supports the Link option.   Although
  738.           this  option was already the default output file, some users found
  739.           themselves typing the Link option on  the  Output  command.   This
  740.           would  cause  an error, even though linked files can be written by
  741.           Suprlink.  We now allow the Link option to be specified.
  742.  
  743.  
  744.    Bugs Fixed
  745.  
  746.  
  747.    ROBELLE Variable.  STExport  and  Suprlink  now   support   the   ROBELLE
  748.           variable.
  749.  
  750.  
  751.    If Command.  The  If  command  now  reports  "Error: Missing symbol" when
  752.           using the  $date  function  for  ccyymm,  yyyymm,  and  ccyy  date
  753.           formats.
  754.  
  755.  
  756.    If Command.  The  If  command's  $invalid function now reports yymmdd and
  757.           yymm dates as invalid in numeric containers such as J2.
  758.  
  759.  
  760.    If Command.  Suprtool no longer incorrectly evaluates an expression  with
  761.           two constants.
  762.  
  763.  
  764.    Input Command.  The   Input  command  no  longer  gives  incorrect  error
  765.           messages in some cases.
  766.  
  767.  
  768.    List Command.  The List command and the time 2  format  in  Set  List  no
  769.           longer  incorrectly  report a.m. when the time is between 12:00 to
  770.           12:59 p.m.
  771.  
  772.  
  773.    List Command.  The List command no longer aborts when listing  odd-length
  774.           integers in Hex.
  775.  
  776.  
  777.    STExport Command.  STExport now supports ASK dates in all cases.
  778.  
  779.  
  780.    Verify Command.  The Verify item command now always prints the date type.
  781.