home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR3 / PDT_REV.ZIP / REVIEW.PDT < prev   
Text File  |  1993-09-21  |  19KB  |  409 lines

  1.  
  2.    ┌────────────────────────────────────────────────────────────────────────┐
  3.    │ The following "reprint" describes PDT (The Pro~Formance Data Tool).    │
  4.    │ This article has appeared in several newsletters and publications.     │
  5.    │                                                                        │
  6.    │ The article was written by the author of a product that COMPETES WITH  │
  7.    │ PDT!  What better way to learn about the features of a product than    │
  8.    │ through the eyes of a competitor.                                      │
  9.    │                                                                        │
  10.    │ For information on PDT contact:     Rob Smetana                        │
  11.    │                                     Pro~Formance                       │
  12.    │                                     132 Alpine Terrace                 │
  13.    │                                     San Francisco, CA  94117  USA      │
  14.    │                                     (415) 863-0530)                    │
  15.    │                                                                        │
  16.    └────────────────────────────────────────────────────────────────────────┘
  17.  
  18.    ╔════════════════════════════════════════════════════════════════════════╗
  19.    ║                                                                        ║
  20.    ║                               Hold on!                                 ║
  21.    ║                                                                        ║
  22.    ║         PDT's awesome powers will get your adrenaline pumping.         ║
  23.    ║                                                                        ║
  24.    ║                                   by                                   ║
  25.    ║                            Frederick Volking                           ║
  26.    ║                                                                        ║
  27.    ╚════════════════════════════════════════════════════════════════════════╝
  28.  
  29.  
  30.       Introduction
  31.       =========================
  32.  
  33.       I must tell you up-front that I HATE doing this.  A few years ago
  34.       I wrote a program that we've sold commercially in markets all over
  35.       the world.  But I'm here to recommend that you try a DIFFERENT
  36.       program:  the Pro~Formance Data Tool, or PDT.
  37.  
  38.  
  39.       If you create or use dBase files (or data files written by other
  40.       programs), if you're a programmer, or if you must maintain or repair
  41.       data files, do yourself a favor and examine PDT.  You'll be amazed
  42.       at it's flexibility, speed and awesome power.
  43.  
  44.  
  45.       Note that PDT is NOT just for programmers and database experts.
  46.       It's an easy-to-use program anyone will find useful when they need
  47.       to view or edit files your word processor can't handle.  In fact,
  48.       PDT is especially useful to non-programmers who rely on data files
  49.       but don't care to (or know how to) write programs to manage those
  50.       files.
  51.  
  52.  
  53.       History
  54.       =========================
  55.  
  56.       I've been working with data files for about 20 years:  all sizes,
  57.       shapes, formats and kinds.  I can't count the number of times I've
  58.       had to write a Q-&-D (Quick-&-Dirty) program to bail myself (or a
  59.       colleague) out of some type of situation.  For example:
  60.  
  61.         -  You're handed a new task that requires managing someone
  62.            else's data files, files with a structure you don't understand.
  63.  
  64.         -  While downloading or creating a file, several records get
  65.            corrupted.
  66.  
  67.         -  A data file has too many fields; or fields are too wide or
  68.            too narrow.
  69.  
  70.         - As you're developing or updating a program, something goes
  71.           wrong and you damage a 15 megabyte data file.
  72.  
  73.         - You're developing a data file and find you have to mass-edit
  74.           several thousand records.
  75.  
  76.         - You need to merge data into a file; or you want to save parts
  77.           of a file to another file.
  78.  
  79.  
  80.       Every time I faced situations like these and had to write yet
  81.       another Q-&-D program, I wished someone would invent an editor
  82.       whose only job was to help me VIEW, UNDERSTAND or EDIT ANY file,
  83.       in a simple, logical, structured way.  As I looked around for
  84.       something to handle the task, I'd often find something that let me
  85.       view files, or that would edit certain types of files.  But I
  86.       never found one that let me view, format, interrogate and edit ANY
  87.       file, simply and easily.
  88.  
  89.       So I gave up looking and wrote my own.  I wrote it mainly for my
  90.       own use; but others took note, and a software distributor picked
  91.       it up and began marketing it commercially under the name of DFD
  92.       (the Data File Doctor).
  93.  
  94.  
  95.       Although I wrote DFD, I've always known it was a rather crude
  96.       Q-&-D solution.  So after almost 3 years of limping along with
  97.       DFD, I finally found another product that does everything DFD
  98.       should have done.
  99.  
  100.         The program is:         PDT (the Pro~Formance Data Tool)
  101.  
  102.         It's offered by:        Rob Smetana
  103.                                 Pro~Formance
  104.                                 132 Alpine Terrace
  105.                                 San Francisco, CA  94117  USA
  106.                                 (415) 863-0530)
  107.  
  108.       PDT directly competes with my DFD product. But that's okay
  109.       because, frankly, I save more $$$ using PDT (in time and effort)
  110.       than I make from DFD.  That says a lot!
  111.  
  112.  
  113.       Overview
  114.       =========================
  115.  
  116.       PDT is an extremely flexible tool to view and edit ANY file --
  117.       data files, EXE or COM files, font files, EBCDIC files, files on
  118.       networked drives, floppy drives or hard disks.  Using PDT I've
  119.       edited tiny 0 and 1 byte files, as well as huge, 970-megabyte
  120.       files residing on a networked 1-gigabyte Novell file server.
  121.       (PDT can edit files up to 2 gigabytes in size!)
  122.  
  123.  
  124.       Very simply, PDT is a wonder to behold!  Its features, power and
  125.       speed are unparalleled.  In fact, the adrenaline flows when you
  126.       watch PDT safely and quickly change thousands or millions of bytes
  127.       of data.  Do yourself a favor and contact the author to get a copy:
  128.  
  129.                      Rob Smetana,  (415) 863-0530.
  130.  
  131.  
  132.       PDT's speed is nothing less than phenomenal.  Working on a Novell
  133.       network, I edited the first bytes in a 970 megabyte file, then
  134.       jumped to the end of the file and changed the last byte.  The
  135.       total elapsed time was 15 seconds -- on a networked drive!
  136.  
  137.  
  138.       Ease of Use; Getting Help
  139.       =========================
  140.  
  141.       Editing files is much like working in a word processor.  Move
  142.       around files using cursor pad keys.  And if you're working in
  143.       dBase or other formatted data files, you can Tab from field to
  144.       field to quickly view or edit fields.
  145.  
  146.  
  147.       PDT offers both pull-down menus and fast keyboard hotkeys.  Most
  148.       hotkeys are intuitive and easy to remember (O = Open file, C =
  149.       Close, S = Search, etc.).  PDT supports a mouse and works in 25-,
  150.       43- and 50-line modes, in color or monochrome modes.
  151.  
  152.  
  153.       Online-help is available for EVERY option (see figure 1).  For
  154.       example, pull down a menu then either highlight an option and
  155.       press F1 or click the right mouse button and a help window pops
  156.       up.  There's also an editable "quick reference" file you can
  157.       either view from inside PDT or print.
  158.  
  159.  
  160.       Figure 1:  Pull down any menu, highlight an option, then press F1
  161.       for Help with any option in that menu.
  162.  
  163.       File  Edit  Search  Block  Define  Options  Help
  164.  
  165.       ┌──────────────────────────────────┐
  166.       │ Open a new file/window (ctrl-O)  │
  167.       │ Close current window   (ctrl-C)  │
  168.       ├──────────────────────────────────┤
  169.       │ Create a directory               │
  170.       │ Create a file                    │
  171.       │ Delete a file                    │
  172.       │ Rename a file                    │
  173.       │ Copy a file to a new location    │
  174.       │ Combine two or more files        │
  175.       │ Change file size                 │
  176.       ├──────────────────────────────────┤
  177.       │ Translate File:  EBCDIC-to-ASCII │
  178.       │ Translate File:  ASCII-to-EBCDIC │
  179.       ├──────────────────────────────────┤
  180.       │ Exit to DOS            (ctrl-X)  │
  181.       └──────────────────────────────────┘
  182.  
  183.  
  184.       Data File Editing
  185.       =========================
  186.  
  187.       PDT's data file editing tools are unmatched in any program.
  188.  
  189.  
  190.       For example, if you open a dBase ".DBF" file, PDT automatically
  191.       formats your view of the data into logical rows and columns.
  192.  
  193.  
  194.       Many programs can do that.  But PDT is unique not only in the long
  195.       list of other features it offers, but also in letting you use this
  196.       same intelligence with virtually ANY fixed-length data file, like
  197.       those created by most programming languages.
  198.  
  199.  
  200.       PDT can remember the field-by-field layout of your data files,
  201.       and can then display that data in rows and highlighted columns --
  202.       automatically, whenever you open the file.
  203.  
  204.  
  205.       For example, Figure 2 shows how a data file might look like BEFORE
  206.       you tell PDT what the file's structure is (which is easy to do).
  207.       Just define the file structure, then every time you open the file,
  208.       the information in it is laid out in rows and columns as shown in
  209.       Figure 3!
  210.  
  211.  
  212.       Figure 2:  Many programs display data this way
  213.  
  214.       ┌────────────────────────────────────────────────┐
  215.       │Kim       Johnson       3300 South 18th Street  │
  216.       │Venus     CO 31002 7145259933 Dennis    Avery   │
  217.       │    127 East South Temple   George      WA 98322│
  218.       │8015669112 Andrew    Youngman,                  │
  219.       │Sr. 945 Van Ness Street     Sabastol    CA 94532│
  220.       │4153331200  Sam       Henderson     9800 South  │
  221.       │1000 West    Clarion                            │
  222.       │GA 32234 2062648822 Claire    Ruddman       4400│
  223.       │South Delridge Way Bellevue    WA 98432 21438892│
  224.       │00 Bill      Williamson   5423 North Queens Driv│
  225.       └────────────────────────────────────────────────┘
  226.  
  227.  
  228.       Figure 3:  But PDT displays the same data logically
  229.  
  230.       ┌────────────────────────────────────────────────┐
  231.       │Kim       Johnson       3300 South 18th Street  │
  232.       │Dennis    Avery         127 East South Temple   │
  233.       │Andrew    Youngman, Sr. 945 Van Ness Street     │
  234.       │Sam       Henderson     9800 South Highway 11   │
  235.       │Claire    Ruddman       4483 Delridge Way, Suite│
  236.       │Bill      Williamson    5423 North Queens Drive │
  237.       └────────────────────────────────────────────────┘
  238.  
  239.       Once PDT knows the format of your data (as shown above in Figure 3):
  240.  
  241.         -  You can tab from field-to-field to easily view or edit fields.
  242.  
  243.         -  As you move the cursor to a field, PDT displays the value of
  244.            that field -- even fields stored as packed binary formats.
  245.  
  246.         -  You can easily edit fields, even packed binary numeric fields.
  247.            PDT automatically converts binary numbers to their decimal
  248.            equivalent, lets you edit them and reconverts edited values
  249.            back to the binary equivalent before saving them to disk.
  250.  
  251.  
  252.       Examples
  253.       =========================
  254.  
  255.       Here are examples of the types of things I've done with PDT:
  256.  
  257.         -  We created a new dBase file to store incoming data.  After the
  258.            data was merged, I found several fields were much wider than
  259.            necessary.  I just moved to the fields, told PDT to shrink
  260.            them, and in seconds it was done -- across thousands of
  261.            records, saving millions of bytes of disk space.  PDT even
  262.            updated the dBase file header automatically.  And PDT can do
  263.            this just as easily with non-dBase data files.
  264.  
  265.         -  I needed to copy several hundred records to a new file.  Using
  266.            PDT's Block Mark and Block Export features it took 10 seconds!
  267.  
  268.         -  We download a 300 megabyte file from the mainframe.  But we
  269.            soon discovered it had been damaged in transit.  I opened it in
  270.            PDT, set the record length, and within seconds had found the
  271.            damaged area.  It took just 1-2 minutes to restore the damaged
  272.            data and we were on our way -- without writing a single line of
  273.            code.
  274.  
  275.         - I needed to merge data from one file into the middle of another.
  276.           I opened both files in PDT (PDT lets you open 4 file windows
  277.           simultaneously), marked the block I wanted to copy, jumped to
  278.           the other file window and selected "Copy/Insert."  PDT merged
  279.           the data instantly.
  280.  
  281.         - We were handed a data file and asked to analyze it.  But nobody
  282.           knew its file structure!  I opened it in PDT, made a guess as to
  283.           the record length, then leaned on the F9 and F10 keys.  When you
  284.           press F9 or F10, PDT adjusts the record length up or down, and
  285.           re-draws the screen to adjust it's "view" of the data.  Like a
  286.           giant pendulum, the data literally swings into the proper view.
  287.  
  288.           Once we figured out the record length, it was easy to identify
  289.           where each field began, and what type of field it was (ie.,
  290.           character, integer, double, currency, etc.).  For each field,
  291.           we pressed a key and told PDT what the field name and field type
  292.           were.  When we were done, PDT saved a "structure file" to disk.
  293.           This structure file gave us everthing we needed to create the
  294.           "structure" or "TYPE" our programs needed to read the data.  And
  295.           whenever we opened the file again in PDT, PDT read the structure
  296.           file and automatically formatted the data into rows and columns.
  297.  
  298.  
  299.       List of Features
  300.       =========================
  301.  
  302.       The examples above just scratch the surface of what you can do with
  303.       PDT.  Here's a summary of some of the 50 or so options PDT offers.
  304.  
  305.       Block Options
  306.  
  307.       "Blocks" can be records, columns or a continuous stream.  Once you
  308.       mark a block you can Delete it, Export it, Fill it (with any ASCII
  309.       character or phrase), Copy it (to another location in the same file,
  310.       or to another file).  You can even mark a column and Add it up, or
  311.       add Sequence Numbers to it (like unique record or customer numbers).
  312.  
  313.       Search & Replace
  314.  
  315.       You may Search or Search & Replace forwards or backwards, anywhere
  316.       in the file, or in just the block or column you've marked.  You can
  317.       ignore Upper and Lower case, and you can Search & Replace using any
  318.       ASCII character: 0 (null) through 255.
  319.  
  320.       EBCDIC File Support
  321.  
  322.       One of PDT's most unique features is how easily it handles EBCDIC
  323.       files, like those you'd download from large IBM computers.  You
  324.       can leave EBCDIC files on disk as-is, and tell PDT to dynamically
  325.       translate them on-the-fly into ASCII.  This lets you view and edit
  326.       data in easy-to-understand ASCII format.  Anything you change is
  327.       automatically converted back to EBCDIC, and then saved to disk.
  328.  
  329.       Or, if you prefer, you can ask PDT to translate files from EBCDIC
  330.       to ASCII, or vice versa.
  331.   
  332.       File Management
  333.  
  334.       PDT lets you Create, Delete, Rename or Copy files, or create file
  335.       directories.  A powerful "Join" command lets you merge up to 6 files
  336.       at a time, using the smallest amount of disk space possible.
  337.  
  338.  
  339.       Flys in the Ointment
  340.       =========================
  341.  
  342.       In short, PDT lets you view and edit virtually ANY type of file, up
  343.       to 2 gigabytes in size.  And since you can open 4 file windows, you
  344.       can work with up to 8 gigabytes of data at once!
  345.  
  346.  
  347.       But PDT isn't perfect.  My main gripe is that I didn't write it.....
  348.       Okay, I said it.
  349.  
  350.  
  351.       To understand another PDT limitation, you have to know a little
  352.       about how PDT handles file editing.  Unlike a word processor or
  353.       editor which loads files into memory, PDT loads NOTHING into memory.
  354.       When PDT opens a file, you'll be looking at what's on disk (and PDT
  355.       displays files-on-disk with astonishing speed).  Using this approach,
  356.       PDT can help you edit 2-gigabyte files with NO NEED for extra memory.
  357.  
  358.       But turn edit mode on and change something, and that change is
  359.       immediately written to disk.  That's why edit mode is OFF by default.
  360.  
  361.       The fact that changes are immediately saved to disk accounts for
  362.       PDT's restriction that when you Replace something, you must replace
  363.       it with something else of the same length.  A word processor's
  364.       search and replace function can expand or contract things in memory.
  365.       But if PDT replaced something with something else of a different
  366.       width, every time it found a "match" PDT would have to re-write the
  367.       entire disk file from that point all the way to the end.  As you can
  368.       imagine, with large files, this would be time-consuming and could be
  369.       risky.  And if you're editing EXE or COM files, you should NEVER
  370.       change the length of a variable.  So this "limitation" has some
  371.       justification.
  372.  
  373.       PDT's approach also means that YOU must be careful and should make
  374.       backup copies.  When edit mode is ON, PDT saves changes immediately
  375.       to disk.  So turn edit mode on only when you must change something,
  376.       then turn edit mode back off again.
  377.  
  378.  
  379.       Other suggestions include:
  380.  
  381.       - PDT's calculator offers both decimal and hexadecimal calculations.
  382.         I'd suggest that it be centered on the screen (rather than off to
  383.         the side), provide a tape readout, and support a mouse.
  384.  
  385.       - While PDT correctly translates EBCDIC characters to their ASCII
  386.         equivalents, the "values" of EBCDIC packed numeric fields don't
  387.         always translate properly.  That's because translating the values
  388.         of packed numeric fields requires that you know where fields are
  389.         and what type of field each is, something PDT often
  390.  
  391.       - You can open up to 4 file windows simultaneously, either
  392.         horizontally or vertically.  No problem there.  But when you
  393.         close a window, PDT re-draws all the other windows to fill in
  394.         the now-empty space.  In doing so it sometimes changes your
  395.         original choice of a window's layout: horizontal/vertical.
  396.         But when you think about it, I'm not sure what choices it has.
  397.  
  398.  
  399.       Summary
  400.       =========================
  401.  
  402.       If you create or use data files, if you're a programmer, or if
  403.       you must maintain or repair data files, do yourself a favor and
  404.       examine PDT.  You'll be amazed at it's flexibility, speed and
  405.       awesome power.  I wouldn't care how much it costs (which isn't
  406.       much); I save that much every week I use it.
  407.  
  408.  
  409.