home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / newsletter / 1995 / w1995-06.txt < prev    next >
Text File  |  1995-12-12  |  20KB  |  506 lines

  1.  
  2.  
  3.        What's Up, DOCumentation?
  4.  
  5.  
  6.  
  7.        Robelle Consulting Ltd.
  8.        Unit 201, 15399-102A Ave.
  9.        Surrey, B.C. Canada  V3R 7K1
  10.        Toll-free: 1-800-561-8311
  11.        Phone: (604) 582-1700
  12.        Fax: (604) 582-1799
  13.        E-mail: support@robelle.com
  14.        WWW: http://www.robelle.com
  15.  
  16. Date:  December 13, 1995
  17.  
  18. From:  Robert M. Green, CEO
  19.        David J. Greer, President
  20.        Francois Desrochers, Editor of the Month
  21.  
  22. To:    Users of Robelle Software
  23.  
  24. Re:    News of the HP 3000 and of HP-UX, 1995 #6
  25.  
  26.      What You Will Find in This News Memo:
  27.  
  28.        News Tidbits
  29.        Introducing STExport
  30.        Technical Tips
  31.        About Robelle
  32.        Robelle Products:  Problems, Solutions, and Suggestions
  33.        FAQ, Frequently Asked Questions
  34.  
  35.  
  36.                                  News Tidbits
  37.  
  38. Collaboration between SCO, Novell and HP.
  39.  
  40. There is an interesting article in the October 1995 issue of HP Omni magazine.
  41. The editor, Tim Cullis, gives some details on the agreement between HP, Novell
  42. and SCO to "take UNIX and NetWare into the next century". Initially, Novell
  43. will hand-over its UNIX business to SCO who will continue to enhance and
  44. support their own OpenServer in addition to UnixWare.  The plan calls for
  45. merging the two operating systems some time in 1997.
  46.  
  47. On the other hand, Novell and HP will work on integrating NetWare Directory
  48. Services (NDS) and Open Software Foundation's Distributed Computing
  49. Environment (DCE). Basically, they want to replace DCE with the new extended
  50. NDS. At the same time, HP will provide SCO with HP-UX extensions to ease the
  51. move from a 32-bit to a 64-bit UNIX environment.  The latter will be developed
  52. by HP and should be available in 1998.  In the words of Tim Cullis,
  53. "...effectively Hewlett-Packard is delivering Novell's SuperNOS strategy (UNIX
  54. and NetWare sharing a common kernel)".
  55.  
  56. What is in store for MPE/iX? Again, according to Tim Cullis, it is unlikely
  57. that we will see a true MPE/iX 64-bit version.  It will probably run under
  58. 64-bit UNIX or in parallel on a separate processor.
  59.  
  60.  
  61.                      STExport - Another Tool for the Belt
  62.  
  63. In the last few months, our tech support people have received numerous
  64. requests for changes to Suprtool's Output ,Prn option. Customers have found
  65. that various database management system (DBMS) utilities cannot import files
  66. with the standard Prn format into their databases. Some databases complain
  67. about the quotes around byte-type fields, and others do not like commas as
  68. field delimiters. Some customers just want more control over such things as
  69. trailing spaces, leading zeroes and sign placement.
  70.  
  71. STExport allows users to format files that can be imported into their own
  72. spreadsheet or DBMS. STExport works on four data-types and has six different
  73. formatting commands to manipulate these data-types.
  74.  
  75.  
  76. Data-Types. Each STExport formatting
  77.  
  78. command applies to all the fields with a specific data-type.  That means you
  79. can specify the format of each field type, but not of each individual field.
  80. For example, all numeric-type fields are formatted the same way.
  81.  
  82. These are the main data-types that STExport identifies:
  83.  
  84. Byte-Type       STExport assumes that character information is
  85.  
  86.                 stored in byte-type fields.  By default, all byte-type fields
  87.                 are surrounded by quotes and trailing spaces are removed.
  88.  
  89. Numeric-Type    The numeric data-types are integer, logical,
  90.  
  91.                 floating-point, packed, and display.  STExport converts the
  92.                 internal representation of each data-type into an ASCII string
  93.                 of digits.  By default, all numeric-type fields have a leading
  94.                 sign and are variable length.  Where appropriate, numeric-type
  95.                 fields get a decimal point after the conversion.
  96.  
  97. Floating-Type   All commands that affect numeric-type fields
  98.  
  99.                 also affect floating-type fields.  In addition, you can use
  100.                 the Floating command to specify the format and decimal places
  101.                 for floating-type fields (e.g., Classic or IEEE floating-point
  102.                 numbers).
  103.  
  104. Date-Type       If a field has a date format, STExport
  105.  
  106.                 does extra formatting.  By default, dates are formatted into
  107.                 yyyymmdd (e.g., 19951125).
  108.  
  109. Use the following table to determine which command applies to each data-type:
  110.  
  111.      Command       Data-Type
  112.  
  113.      Date          date
  114.      Floating      floating
  115.      Quote         byte
  116.      Sign          numeric
  117.      Spaces        byte
  118.      Zero          numeric
  119.  
  120.  
  121. Column and Delimiter Commands.
  122.  
  123. You can also specify the delimiters between each field or whether the output
  124. is in a fixed or variable format.
  125.  
  126.  
  127. Sample Run of STExport
  128.  
  129.  
  130. Before you can use STExport to convert a file, first create a self-describing
  131. file by using Suprtool's Link or Query option with the Output command.  We
  132. recommend the Link option because it retains the date and decimal formats
  133. specified in the Item commands. This information is used by STExport.
  134.  
  135. Then you can use STExport to read the self-describing file and produce an
  136. output file called Exfile. To demonstrate how dates are handled, you insert a
  137. separator in each date-field.
  138.  
  139.      :run stexport.pub.robelle
  140.      $input salefile      {self-describing input file}
  141.      $date  yyyymmdd "-"  {dates with a dash separator}
  142.      $sign trailing       {sign is trailing}
  143.      $output exfile       {output to file called Exfile}
  144.      $xeq
  145.  
  146. The resulting file will look like this,
  147.  
  148.          2222,1995-03-31,1,0.11,1995-01-01,1,0.01,0.01,"joe's hardware"
  149.  
  150. Only the last field is a byte-type.  All other fields are converted from their
  151. internal numeric representation to a string of digits.  All date fields are
  152. converted from their internal yyyymmdd format to the external yyyymmdd format
  153. with a dash separator between the day, month, and year. All fields with
  154. implied decimal places have a decimal point after the conversion.  A comma is
  155. used to separate individual fields.
  156.  
  157. STExport is available from within Suprtool by typing the Export command and
  158. passing the STExport command name.
  159.  
  160.      >export input salefile
  161.  
  162. STExport will be distributed free of charge to all Suprtool customers as part
  163. of the Suprtool 3.8 release in 1996.  Until then, it is available in
  164. Suprtool's latest pre-release version (3.7.22).
  165.  
  166.  
  167.  
  168.                                 Technical Tips
  169.  
  170.  
  171. Qedit 4.4 Manual in WinHelp Format.
  172.  
  173. You will notice something new in the Qedit 4.4 manual: a 3.5" floppy disk in
  174. the back cover.  This disk contains the full contents of the printed Qedit
  175. User Manuals for both MPE and HP-UX in the Microsoft Windows Help format.
  176. These Help files can be used with Windows 3.1 and Windows 95. To install the
  177. Help files, insert the disk in your 3.5" drive and run a:setup. You can make
  178. copies of the disk for others in your organization.  You can also download the
  179. Help files from our Internet FTP site at ftp.robelle.com.
  180.  
  181.  
  182. Windows 95 Tips for MPE Users.
  183.  
  184. Many of our customers have started to upgrade some of their PCs to Windows 95.
  185. At first they notice the new user interface with the Start button, the 3D
  186. look, and the new graphics architecture.  The Windows 3.1 Program Manager is
  187. banished and its Program Groups have become folders, which can now contain
  188. nested folders. Most old Windows applications can still run on Windows 95, but
  189. old utilities cannot. Then users may notice:
  190.  
  191.   *  the extended system resources limit
  192.   *  pre-emptive multitasking (take the machine away from long-running
  193.      tasks) if you are running only 32-bit applications (no 16-bit legacy
  194.      applications)
  195.   *  multithreading
  196.   *  memory protection (not as good as NT though)
  197.   *  TCP/IP networking
  198.   *  Microsoft Network
  199.   *  Plug-and-Play recognition of new peripherals
  200.   *  long filenames
  201.   *  wizards to make common tasks easier, and much more.
  202.  
  203. So why doesn't Windows 95 completely supplant Windows NT?  There are several
  204. good reasons:  memory protection does not completely protect system data from
  205. user applications as in NT, the design is a 16/32-bit hybrid for backward
  206. compatibility, the file system is still based on the original FAT system of
  207. DOS and wastes considerable disk space, international characters are still
  208. handled via the clumsy ANSI character set with code pages instead of Unicode
  209. (check http://www.unicode.org), and pre-emptive multitasking is only ensured
  210. when all applications are running in 32-bit mode.
  211.  
  212. To display the Windows 95 logo, an application must satisfy the following
  213. requirements:
  214.  
  215.   *  all code must be compiled in 32-bit mode
  216.   *  must respond to interapplication drag-and-drop through OLE
  217.   *  must provide automated setup and uninstall
  218.   *  must provide small and large icons for toolbars, etc.
  219.   *  must support long filenames (no 8.3 character restrictions on
  220.      filenames)
  221.   *  must detect changes to screen resolution, addition of new devices, etc.
  222.  
  223. Any respectable Windows 95 application should also use Tab controls for long
  224. dialogs, a 3D appearance for user interface elements, the right mouse button
  225. to bring up property pages (context menus).  It should also be able to move
  226. .INI file attributes into the new System Registry and expose its capabilities
  227. to other applications and developers as an OLE server.
  228.  
  229.  
  230. Windows 95 Shortcuts.
  231.  
  232. Windows 95 uses the same keystroke shortcuts as Windows 3.x, plus many new
  233. shortcuts some of which combine the mouse with keystrokes. For example,
  234.  
  235.   *  CTRL+ESC brings up the Start menu
  236.   *  Windows key on your Microsoft Natural Keyboard brings up the Start Menu
  237.   *  SHIFT+F10 views the shortcut menu for a selected item
  238.   *  CTRL+SHIFT+drag creates a shortcut
  239.   *  SHIFT+DELETE deletes an item without undelete.  DELETE puts item in
  240.      the Recycle Bin
  241.   *  ALT+ENTER views item's properties
  242.   *  ALT+V+T adds Toolbar to any folder or "applet"
  243.   *  SHIFT held down while you insert a CD disables "auto-play"
  244.   *  CTRL+ALT+DEL brings up list of active tasks you can kill
  245.   *  Click+drag moves an item, while CTRL+drag copies it (you can also use
  246.      CTRL+C to copy, CTRL+X to move, and CTRL+V to paste)
  247.  
  248.  
  249. Window Overlay in Windows 95.
  250.  
  251. By default Windows 95 opens a new window for every folder that you open. This
  252. can make your desktop look a little messy and make it difficult to find
  253. folders.  To solve this, you can get Windows 95 to re-use your current window
  254. with the opened folder.  To change the default, you must do the following:
  255.  
  256.   *  Click on Start
  257.   *  Go to the Settings Menu
  258.   *  Click on Control Panel
  259.   *  Pull down the View Menu
  260.   *  Select Options
  261.   *  Select Folder from the Tab menu
  262.   *  Select the Radio Button for:
  263.      "Browse folders by using a single window that changes as you
  264.      open each folder."
  265.  
  266. Voila!  Now you can re-use each window while browsing for your application.
  267.  
  268.  
  269. Windows 95 and Chinese Characters.
  270.  
  271. In a previous What's Up DOCumentation? article, we mentioned that some
  272. existing Windows software packages for inputting and displaying Chinese
  273. characters do not work under Windows 95.  The situation has improved since
  274. then.
  275.  
  276. Twinbridge Chinese Partner, NJ-Win, and UnionWay are some of the software
  277. packages that have released new versions. Besides being compatible with
  278. Windows 95, these programs include support for Chinese, Japanese, and Korean
  279. characters. You can use them in conjunction with popular Web browsers to view
  280. Asian Web sites.  You can download working demos of these programs from
  281. ftp://ftp.cnd.org/pub/software/ms-win/c-sys/. Microsoft has also announced
  282. that Windows 95 will be available in Taiwan, Japan, and Korea at the end of
  283. November.
  284.  
  285.  
  286. Missing Taskbar.
  287.  
  288. One of our techies spent four days without a Taskbar (and no Start button)
  289. trying to figure out why he had only a thin grey line at the bottom of the
  290. screen.  It turned out that he had "minimized" his Taskbar.  To revive it, he
  291. brought the cursor arrow down over the grey line until the arrow changed into
  292. a skinny arrow. Then he dragged the Taskbar line up until it "maximized".
  293.  
  294.  
  295. Shutdown Warning.
  296.  
  297. Don't just turn off your system when you are done. You must shut it down
  298. properly or your files won't get updated. The same warning applies to the
  299. 32-bit file system in Windows 95. You can use ALT+F4 to close the current
  300. application.
  301.  
  302. For More Information: Consult Yahoo's Win95 page (http://www.yahoo.com).
  303.  
  304. Final Tip: The CD-ROM version of Windows 95 includes the Windows 95 Resource
  305. Kit, which is both indexed and searchable.
  306.  
  307.  
  308.  
  309.                                 About Robelle
  310.  
  311. Welcome Allen James Greer.
  312.  
  313. Since October 11th, a new person has taken residency in the Greer's household.
  314. Allen James Greer, weighing a healthy 10 pounds 4 ounces (4720 grams), made
  315. his official entry into the world.  He is the third child of David Greer,
  316. Robelle's president, and his wife Karalee.  Both parents and the baby are
  317. doing fine.
  318.  
  319. According to David, Allen's older siblings, Jocelyn and Kevin, have adjusted
  320. well to their baby brother.  He is not sleeping through the night yet, but he
  321. is getting closer.  Mom and dad might catch up on their sleep by springtime.
  322.  
  323. Congratulations, David and Karalee, and welcome, Allen.
  324.  
  325.  
  326.            Robelle Products:  Problems, Solutions, and Suggestions
  327.  
  328.  
  329. Suprtool  Version 3.7
  330.  
  331. Incorrect Duplicate Totals.
  332.  
  333. One of our customers discovered a problem with the Total function on the
  334. Duplicate command.  This customer was reading a flat file and used Duplicate
  335. to generate sub-totals on two fields.  After some verification, he noticed
  336. that some totals were incorrect.  Here is an example of the task:
  337.  
  338.      >input datafile
  339.      >define department,1,9
  340.      >define unit-count,10,4,display
  341.      >define unit-value,14,8,display
  342.      >define unit-size,22,9,display
  343.      >define location,31,1
  344.      >sort department
  345.      >extract department
  346.      >duplicate none keys total unit-count unit-value
  347.      >list standard
  348.  
  349. After investigating, we discovered that the problem only occurs when Suprtool
  350. deals with odd-length records in the Input file or in the Extract record.
  351. Most totals are correct, but some are not.  The problem appears in version 3.7
  352. and has been fixed in pre-release 3.7.12 and higher.  Pre-releases are
  353. available on request for customers with support contracts.
  354.  
  355. As a workaround, you can pad the Extract record with some additional
  356. information to make records an even length.  For the example above, we can
  357. make the following modification,
  358.  
  359.      >extract department, " "
  360.  
  361.  
  362.  
  363. Qedit  Version 4.3
  364.  
  365. Correct Number of Commas.
  366.  
  367. A customer received a comma-delimited file from an outside source.  He had to
  368. edit some of the fields to make sure they would not get rejected during the
  369. import operation.  He also wanted to make sure that he had the exact number of
  370. fields, no more, no less.
  371.  
  372. Let us assume that the file contains six fields and that the fields do not
  373. contain commas.  In a normal comma-delimited file, we expect each record to
  374. contain five commas.  If records contained fields with commas, however, the
  375. field count may not be accurate.
  376.  
  377.      This,line,has,exactly,six,fields.
  378.      This,line,has,more,than,six,fields.
  379.      This,line,has,only five,fields.
  380.  
  381. We need to use the Pattern option and the QeditCount JCW to make sure there
  382. are no more than five commas.
  383.  
  384.      /list "@,@,@,@,@,@,@" (pattern)
  385.      if qeditcount > 0 then
  386.         echo ***** !qeditcount lines with too many commas *****
  387.      endif
  388.  
  389. Similarly, we can use the following commands to make sure the records have at
  390. least five commas.  Notice that we are also using the Nomatch option on the
  391. List command.
  392.  
  393.      /list "@,@,@,@,@,@" (pattern nomatch)
  394.      if qeditcount > 0 then
  395.         echo ***** !qeditcount line(s) with too few commas *****
  396.      endif
  397.  
  398. You might want to put all these commands into a single command file and call
  399. it Chkcomma.  Running Chkcomma from Qedit would give us the following results:
  400.  
  401.      /chkcomma
  402.          2     This,line,has,more,than,six,fields.
  403.      1 line found
  404.      ***** 1 line(s) with too many commas *****
  405.          3     This,line,has,only five,fields.
  406.      1 line found
  407.      ***** 1 line(s) with too few commas *****
  408.  
  409.  
  410.  
  411. Frequently Asked Questions
  412.  
  413. How can I enter a long If command in Suprtool?
  414.  
  415. A Suprtool command line cannot exceed 256 characters. You can reach this limit
  416. if you try to stack all your task commands into a single entity.
  417.  
  418.      base ...;get ...;sort ...; &
  419.      extract ...; duplicate ...; if ...; &
  420.      output ...;xeq
  421.  
  422. The only solution in this situation is to put individual commands on separate
  423. lines.  Then you can control the length of each command.  If you are not
  424. stacking commands, you may also run into this problem if you use a long and
  425. complex If command.  In that case, there are different ways to get around the
  426. problem.
  427.  
  428. If your command is complex and you are using long item names, you can assign
  429. shorter names by using Define statements.  Then you can refer to the same item
  430. by using the short or long form.
  431.  
  432.      define low,re-order-quantity
  433.      define curqty,on-hand-quantity
  434.  
  435. At the expense of readability, you can also remove unnecessary spaces. For
  436. example, you can use if curqty<low instead of if on-hand-qty <
  437. re-order-quantity.
  438.  
  439. If your If command is too long because your list contains numerous values, you
  440. can load these values into a table.
  441.  
  442.      table itemtbl,item-no,item,"111111"
  443.      table itemtbl,item-no,item,"222222"
  444.      table itemtbl,item-no,item,"333333"
  445.      if $lookup(itemtbl,item-no)
  446.  
  447. This table can replace the following If command,
  448.  
  449.      if item-no="111111","222222","333333"
  450.  
  451. If you cannot apply these suggestions to your situation, you can also use the
  452. $READ function.  The maximum length of the If command is then based on the
  453. complexity of the expression and not its length.
  454.  
  455. The $READ function reads the If expression from $STDINX, or from the use-file
  456. when it contains the If command.  $READ continues to prompt for input lines
  457. until you press Return or enter "//".  You must remember to enter all the
  458. necessary parts of the If expression including connectors like "and", "or" and
  459. commas. With $READ, you do not need an ampersand (&) to continue from one line
  460. to the next.
  461.  
  462.      >get m-supplier
  463.      >if $read                  {prompt for the expression}
  464.      -cust-status = "20" and    {$READ prompts with "-"}
  465.      -state = "AZ",             {the comma is still needed}
  466.      -        "OR"              {no comma on the last line}
  467.      -                          {blank line to terminate $READ}
  468.  
  469.  
  470. Xpress  Version 3.1.04
  471.  
  472. Xpress Enhanced for E-mail Responses.
  473.  
  474. After reading an incoming mail message, Xpress asks you where it should put
  475. the message. Typically, you might keep it in your Filing Cabinet, or Waste
  476. Basket for further attention. Xpress then prompts you for a reply, which will
  477. automatically be sent to the author of the original message.
  478.  
  479. Since it has become customary for a reply to quote text from the original
  480. message, the latest pre-release version of Xpress (3.1.04) has been enhanced
  481. to make this easier.  If you select Out Basket (option 3) as the destination
  482. for an incoming message and then select Edit Message (option 6), Xpress will
  483. automatically save the original text in your Waste Basket, as well as copy it
  484. into the outgoing text file for editing.  You can then quote the original
  485. message in your reply without affecting the saved copy of the original
  486. message.
  487.  
  488. This pre-release version of Xpress is available on request for customers with
  489. support contracts.
  490.  
  491.  
  492. Tip for Formatting Replies.
  493.  
  494. It is customary to mark quoted text with a ">" in column 1.  It is also common
  495. to have a standard heading and footing.  Here is a simple Qedit command file
  496. to quickly pre-format an e-mail response. It requires a file (HDR) with your
  497. standard header text and a file (SIG) with your preferred footer.  Both of
  498. these files must be in your current logon group.
  499.  
  500. Respond.cmd:
  501.      /changeq 1 ">" @   { insert a ">" in front of each line }
  502.      /addq 0 = HDR      { Insert the contents of HDR file before }
  503.                         { the first quoted line }
  504.      /addq ] = SIG      { Append the standard footing from file SIG }
  505.      /vis 1             { edit the reply in full-screen mode }
  506.