home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / S / SSORT43.ZIP / MANUAL.TXT < prev    next >
Text File  |  1991-07-28  |  12KB  |  529 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                       SUP'RSORT
  8.  
  9.           SUP'RSORT  is designed  as  a replacement  for  the sort  utility
  10.           provided with MS-DOS.   It provides the same  basic functionality
  11.           while providing a bunch of new features.  It uses a SHELL-METZNER
  12.           routine for super fast speed.
  13.  
  14.           1. Sort files of unlimited size
  15.  
  16.           2. 40% speed improvement on small files
  17.  
  18.           3. Sort on any position within the record
  19.  
  20.           4. Sort on multiple fields simultaneously
  21.  
  22.           5. Specify data types for sorting dates and numbers correctly
  23.  
  24.  
  25.                            USING SUPR'SORT TO REPLACE SORT
  26.  
  27.           In its simplest form, you can type from the DOS command line
  28.  
  29.           SUPRSORT INPUTFILE OUTPUTFILE /+NN
  30.  
  31.           where NN is the beginning position from the left of the record to
  32.           begin the sort.  NN is  optional.  If omitted, sorting will begin
  33.           from position  1.   If  you want  SUP'RSORT to  sort on  multiple
  34.           fields  you should enter the  most significant NN  first, a comma
  35.           and the  length of the  field, followed by  another /+NN for  the
  36.           lesser significant field, etc.   As an example, this  would allow
  37.           you to sort by state, then by salesman, and then by customer.
  38.  
  39.           SUPRSORT SALEFILE.DAT NEWSALES.DAT /+15,2 /+40,10 /+65,30
  40.  
  41.           The spaces  between the file names  and after are  required.  The
  42.           others are optional and may be included  to increase readability.
  43.           Just as in the  DOS sort utility,  a - instead  of + specifies  a
  44.           reverse sort.
  45.  
  46.           Full pathnames are supported  for INPUTFILE AND OUTPUTFILE.   DOS
  47.           redirection will  not operate  with SUP'RSORT however  because of
  48.           the  fact that SUP'RSORT  must create temporary  scratch files if
  49.           your  file exceeds  the available  RAM memory  on  your computer.
  50.           SUP'RSORT  does take  advantage of  all free  memory for  maximum
  51.           efficiency.
  52.  
  53.           You will need to have the line FILES= in your CONFIG.SYS file set
  54.           large enough  to accomodate sorting larger  files.  As a  rule of
  55.           thumb, you will need 1  file buffer for every 1000 data  records.
  56.           Most people have FILES=50 or there-abouts set, but if you get the
  57.           message,  TOO MANY  FILES IN  LINE 250, this  is most  likely the
  58.           problem.
  59.  
  60.           Here is a sample batch file  that will allow you to sort  a large
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.           file and then direct the output to the printer.
  74.  
  75.           SUPRSORT %1 %2
  76.           TYPE %2 >LPT1:
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.                               HANDLING DATES AND NUMBERS
  140.              (This function is only available in the registered version)
  141.  
  142.           In order for  SUP'RSORT to  handle files with  other than  string
  143.           information  correctly, you  will  need to  create an  "IDX" file
  144.           that matches your  input file.   A sample file  for an  inventory
  145.           file is  shown below.  It  would be named ITEMS.IDX  and the data
  146.           file, ITEMS.DAT
  147.  
  148.            22
  149.           STOCK NUMBER                 15            0
  150.           DESCRIPTION                  40            0
  151.           UNIT COST                    9             21
  152.           RETAIL PRICE                 9             21
  153.           VENDOR                       7             0
  154.           ON HAND  QTY.                9             21
  155.           REORDER POINT                9             21
  156.           REORD QTY.                   9             21
  157.           DATE LAST ORDER              8             11
  158.           DATE RECEIVED                8             11
  159.           EXTENDED COST                9             21
  160.           EXTENDED RETAIL              9             21
  161.           MTD SALES                    9             21
  162.           QTD SALES                    9             21
  163.           YTD SALES                    9             21
  164.           LIST PRICE                   9             21
  165.           WHOLESALE PRICE              9             21
  166.           EXTENDED LIST                9             21
  167.           EXTENDED WHOLESALE           9             21
  168.           PRODUCT TYPE                 4             0
  169.           CATEGORY                     4             0
  170.           GL SALES ACCOUNT NUMBER      7             0
  171.  
  172.           The first line contains the total number of fields in the record.
  173.           Each  record then  follows with  a name,  field length  and field
  174.           type.  Currently defined field types are:
  175.  
  176.           0 - string information - no filtering performed
  177.           11 -  date in format MM/DD/YY - will be reversed to YY/MM/DD when
  178.           sorting
  179.           12 - date in format MM/DD/YYYY  - will be reversed to  YYYY/MM/DD
  180.           when sorting
  181.           21 - numeric field - will be right justified and left padded with
  182.           spaces when sorting
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.           If an "IDX"  file has been  created for the  input file, you  may
  206.           reference the fields to  sort by field name rather  than position
  207.           as in:
  208.  
  209.           SUPRSORT  ITEMS.DAT OUPUTFILE  /+PRODUCT TYPE  /-CATEGORY /+STOCK
  210.           NUMBER
  211.  
  212.           Now ain't that more like the English you lar'ned in skuul than
  213.  
  214.           SORT     [drive:][pathname]     [<][filename].[extension]     [>]
  215.           [device/filename] [/+r] [/+nn]
  216.  
  217.           Well, dang if it ain't!
  218.  
  219.           With release  4.2 of the program,  a new command line  switch has
  220.           been  added that allows you to tune  SUP'RSORT to your file.  The
  221.           program  has trouble determining the number of records to read in
  222.           each pass  if your records are of variable length.  Out of memory
  223.           messages  sometimes occur.  The  system will now  default to 1000
  224.           records for each pass.  You can change  this number up or down by
  225.           placing /RD nnnn in the command line.  nnnn can be any number  up
  226.           to 2500.  For files with shorter record lengths, you may increase
  227.           nnnn for faster output.
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.                            SOME FREQUENTLY ASKED QUESTIONS
  272.             
  273.            
  274.            "Do you have any other programs that you're distributing?"
  275.            
  276.           ANSWER: Yes,  We take great pride in  our ability to provide high
  277.           quality, high function, easy to use programs for a popular price.
  278.             
  279.            "Will it help if I buy more RAM memory for my PC?"
  280.  
  281.           ANSWER: Yes,  up to a maximum  of 4 megabytes. TMOS  makes use of
  282.           all  available memory for performance purposes.  You should see a
  283.           sizeable  speed  improvement  particularly on  large  files. Your
  284.           sorts should also run faster.
  285.             
  286.            "In what language was SUP'RSORT written?"
  287.  
  288.           ANSWER: It was written in  "Microsoft BASIC", then compiled  with
  289.           the  Microsoft BASIC  Compiler version 4.5.  There are  also some
  290.           assembler language subroutines, which  were created using the IBM
  291.           Assembler.  We use  WORD PERFECT to maintain our source  code and
  292.           documentation  files.    Final  documentation  is  produced  onto
  293.           diskette directly from WORD PERFECT to assure that the manual you
  294.           receive reflects the most recent revisions.
  295.             
  296.            "What computers run SUP'RSORT?"
  297.  
  298.           ANSWER: We've  worked very hard to make  SUP'RSORT run on as many
  299.           different "MS-DOS" computers as possible. It runs on almost every
  300.           IBM  "compatible" computer,  and on  many MS-DOS  computers which
  301.           don't even claim to be IBM compatible.
  302.             
  303.            "Can I obtain the source code for the program?"
  304.            
  305.           ANSWER:  The  source  code  is  available  from  Eastern  Digital
  306.           Resources for your own non-commercial  use.  Contact us  directly
  307.           for pricing.
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337. **************************************************************************
  338.   If you are ordering by mail, please be sure to allow at least two
  339.   weeks each way for mail delivery.
  340. **************************************************************************
  341.  
  342.       SUP'RSORT Registration (US funds)......... @ $25.00 ea
  343.  
  344.       3-1/2" diskette                             Add $ 2.00
  345.  
  346.       Please add $1.00 shipping and handling to all orders to USA,
  347.       $2.00 for overseas.
  348.  
  349. Multi-copy discounts: 5-10 copies: deduct 10%
  350.                      11-25 copies: deduct 25%
  351.                      26-50 copies: deduct 40%
  352.                      50 or more:   deduct 50%
  353.  
  354. Your registered SUP'RSORT program will be sent by first class
  355. mail the day we receive your order, unless we hear otherwise. If you
  356. want your order shipped by courier, please include sufficient payment
  357. to cover the additional shipping charge.
  358.  
  359. The  latest shareware  version of  SUP'RSORT  will always  be available  from Eastern
  360. Digital Resources  for $5.00 and may  be freely distributed.  No  commissions will be
  361. paid on unregistered copies.
  362.  
  363. We want to hear from you. We value your comments, bug reports, wish
  364. lists, and suggestions! If you have any ideas or comments that would
  365. make SUP'RSORT a better program, then please let us know.
  366.  
  367. Cheers,
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.                           O R D E R   F O R M
  404.  
  405. Mail to: Eastern Digital Resources
  406.          P. O. Box 1451
  407.          Clearwater, SC  29822-1451
  408.  
  409. Payment by:  ( )CHECK  ( )MONEY ORDER  ( ) Send COD
  410.  
  411. Please make check payable to Eastern Digital Resources.
  412.  
  413.  
  414. Name:_____________________________________________________________
  415.  
  416. Signature:________________________________________________________
  417.  
  418. Address: _________________________________________________________
  419.  
  420.        : _________________________________________________________
  421.  
  422. Phone:   ___________________
  423.  
  424. Please send me (check desired items):
  425.  
  426. ____ SUP'RSORT Registration (US funds)......... @ $25.00 ea  $ ______
  427.  
  428.         ____ 3-1/2" diskette     Add $ 2.00
  429.  
  430.      SC. Residents please add Sales Tax .............. @ 5%  $ ______
  431.  
  432. ____ Shipping/Handling: $1.00 to US, $2.00 Overseas          $ ______
  433.  
  434.  
  435.                                                        Total $ ______
  436.  
  437. I acquired SUP'RSORT from ( )Friend  ( )Computer Club
  438.  
  439. ( )BBS:_______________________ ( )Other__________________________
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.                            HISTORY OF RELEASES OF SUPR'SORT
  470.  
  471. Version 1.0  Written sometime in the early 80's for some customer
  472.              I don't remember when or for who.
  473.         2.0  Who knows, sometime in the mid 80's, I cleaned this
  474.              thing up and generalized it.
  475.         3.0  Likewise, there were some distributions thru PC-SIG
  476.              starting about 1988.
  477.         4.0  Never really made it out the door.  Found some bugs
  478.              after shipping to 1 customer  06/15/91
  479.         4.1  Cleaned up those bugs and introduced others. 07/12/91
  480.         4.2  First shareware general release 07/27/91.  This one
  481.              worked, but had some problems dealing with variable
  482.              length records.  Also worked only from the DOS command
  483.              line.  Added function /RD to specify the number of
  484.              records to read with each pass.  Thanks to Jack Hazel
  485.              of Jack's Board (404) 798- 4006 for doing beta testing.
  486.         4.3  Some more clean up.  Fixed problem with input from 
  487.              within SUPR'SORT.  Released 07/28/91.
  488.  
  489.            
  490.         
  491.    
  492.         
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.