home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / newsletter / 1998 / w1998-02.txt < prev    next >
Text File  |  1998-04-20  |  22KB  |  555 lines

  1. What's Up, DOCumentation?
  2.  
  3.  
  4.  
  5.        Robelle Consulting Ltd.
  6.        Unit 201, 15399-102A Ave.
  7.        Surrey, B.C.  Canada  V3R 7K1
  8.        Toll-free:    1-888-ROBELLE
  9.                     (1-888-762-3553)
  10.        Phone:       (604) 582-1700
  11.        Fax:         (604) 582-1799
  12.        E-mail: support@robelle.com
  13.        Web: www.robelle.com
  14.  
  15. Date:  April 1998
  16.  
  17. From:  Robert M. Green, CEO
  18.        David J. Greer, President
  19.        Fran╡ois Desrochers, Editor pro tem
  20.  
  21. To:    Users of Robelle Software
  22.  
  23. Re:    News of the HP 3000 and of HP-UX, 1998 #2
  24.  
  25.    What You Will Find in This News Memo:
  26.  
  27.    What's New in Suprtool
  28.    Suprtool Training Schedule
  29.    One User's Solution to the Year 2000 Problem
  30.    Using SmartDate in Year 2000 Solution
  31.    IPROF '98 OR "What's a Terabyte?"
  32.    Qedit for Windows Continues to Improve
  33.    Surviving the Ice Storms
  34.    HP World '98 Early Registration
  35.    Inventory Reduction Sale on User Manuals
  36.    Technical Tip for STExport
  37.    Qedit Removes Trailing Blank Lines
  38.    Screening Junk E-Mail
  39.    SPAM vs. UCE
  40.    Suprtool Changes Display Length
  41.    Comparing Two Files
  42.    What's Up, DOCumentation? Available in E-Mail
  43.  
  44.  
  45. WhatÆs New in Suprtool?
  46. =======================
  47.  
  48. We are currently putting the final touches on Suprtool 4.1.01, which will be
  49. distributed to customers with support in the next few weeks. In the new
  50. features this year, we see increased performance of If $lookup extracts.
  51. These are some of the key new features:
  52.  
  53. 1. The Num option of the Duplicate command determines which keys to check for
  54. duplicates.
  55.  
  56. In the following example we sort by agent and by bill-date (in descending
  57. order), but only check for duplicates at the agent level.
  58.  
  59.     >sort agent                    {sort by agent}
  60.     >sort bill-date, desc    {sort by date}
  61.     >duplicate none keys 1    {only check the first (primary) key}
  62.     >output agents            {create roster of agents}
  63.  
  64. 2. Suprtool can now limit specific users to read-only access. In read-only
  65. mode, the Delete, Put and Update commands are disabled. To ensure that this
  66. setting stays enabled, it is not reversible for the duration of the current
  67. Suprtool session.
  68.  
  69. 3. Suprtool now allows usefiles to be nested up to 10 levels.
  70.  
  71. 4. New IMAGE SQL features:
  72.  
  73. With the release of MPE/iX 5.5 Power Patch 4, IMAGE SQL has two new features:
  74. Master Dataset Expansion (MDX) and B-trees. Suprtool 4.1 supports these two
  75. new features.
  76.  
  77. 5 Performance improvements:
  78.  
  79. In the native-mode version of Suprtool we have used some new data structures
  80. and techniques to remove the 15 MB limitation on tables. Before this release,
  81. Suprtool allowed up to ten tables with a maximum of 15 MB for all tables. In
  82. Suprtool 4.1, we increased the limit to 2 GB for each table.
  83.  
  84. We also found that the CPU and Wall time for extracts using If $lookup have
  85. decreased by as much as half. The biggest performance improvements were for
  86. large single tables. Improvements in performance vary depending on your
  87. current system load, the amount of available memory and the size of the
  88. tables.
  89.  
  90. 6. Year 2000:
  91.  
  92. For Year 2000 testing, Suprtool is now compatible with the following date
  93. simulation programs: Hourglass (from Allegro Consultants), Time Machine (from
  94. SolutionSoft Systems), and HPÆs Setdate utility. A new Set Date Ifyy2000Error
  95. command has been added to control whether Suprtool considers dates with two-
  96. digit years an error when they go beyond 1999 during a relative operation.
  97. [Neil Armstrong]
  98.  
  99.  
  100. Suprtool Training Schedule
  101. ==========================
  102.  
  103. Want to learn more about Suprtool? WeÆll be offering training at RobelleÆs
  104. head office on May 28 - 29 and October 15 - 16.
  105.  
  106. To arrange Suprtool training at your site, call us at 1-888-762-3553.
  107.  
  108.  
  109. One UserÆs Solution to the Year 2000 Problem
  110. ============================================
  111.  
  112. A user told us how his company plans to implement Year 2000 capability in its
  113. databases and programs. They are using the following three-phase approach.
  114. 1 Add new date fields to each dataset.
  115.  
  116. The first phase is quite simple. For each dataset and for each date field,
  117. append new data fields to hold the century-equivalent values.
  118.  
  119. For example, you can start with a dataset that looks like this:
  120.  
  121.   D-SECURITY        Detail    Set# 4
  122.     Entry:            Offset
  123.     USER-PASSWORD    X8    1
  124.     TRANS-EFF-DATE    X6    9    <<YYMMDD>>
  125.     TRANS-EXP-DATE    X6    15    <<YYMMDD>>
  126.     SEARCH-TYPE         X2    21
  127.     ACCT-DATE            X4    23    <<YYMM>>
  128.     PASSWORD            X8    27
  129.     SECURITY-LEVEL    X2    35
  130.  
  131. Add fields for each of the date fields that cannot currently store the
  132. century, so that the dataset looks like this:
  133.  
  134.   D-SECURITY        Detail    Set# 4
  135.     Entry:            Offset
  136.     USER-PASSWORD    X8    1
  137.     TRANS-EFF-DATE    X6    9    <<YYMMDD>>
  138.     TRANS-EXP-DATE    X6    15    <<YYMMDD>>
  139.     SEARCH-TYPE        X2    21
  140.     ACCT-DATE        X4    23    <<YYMM>>
  141.     PASSWORD        X8    27
  142.     SECURITY-LEVEL    X2    35
  143.     TRANS-EFF-CYMD    X8    37    <<CCYYMMDD>>
  144.     TRANS-EXP-CYMD    X8    45    <<CCYYMMDD>>
  145.     ACCT-CCYYMM            X6    53    <<CCYYMM>>
  146.  
  147. Initialize the new fields to some standard value, such as a blank or zero,
  148. depending on the data-type of the field. Then fill the fields with the
  149. correct century dates using Suprtool. For example:
  150.  
  151.     get d-security
  152.     update
  153.     define  trans-eff-cc,      trans-eff-cymd[1],2
  154.     define  trans-eff-yymmdd,  trans-eff-cymd[3],6
  155.     define  trans-exp-cc,      trans-exp-cymd[1],2
  156.     define  trans-exp-yymmdd,  trans-exp-cymd[3],6
  157.     define  acct-cc,           acct-ccyymm[1],2
  158.     define  acct-yymm,         acct-ccyymm[3],4
  159.     extract trans-eff-cc     = "19"
  160.     extract trans-eff-yymmdd = trans-exp-date
  161.     extract trans-exp-cc     = "19"
  162.     extract trans-exp-yymmdd = trans-exp-date
  163.     extract acct-cc          = "19"
  164.     extract acct-yymm        = acct-date
  165.     xeq
  166.  
  167. This simple example assumes that all the dates in the dataset are in the 19xx
  168. range. It further assumes that all the dates are valid (e.g., there are no
  169. special date values such as all blanks, zeros or nines; special values should
  170. not be changed). If either of these assumptions is not true, then the
  171. Suprtool process would need to be different. Multiple tasks might be
  172. required.
  173.  
  174. 2. Alter the programs to keep the new fields updated.
  175.  
  176. The second phase examines all the code that puts or updates values to the
  177. date fields. Change the code that supplements putting or updating the new
  178. century fields (as well as maintains putting or updating the old date
  179. fields). This method allows for a safe, gradual change to all code on the
  180. system. (See also SmartDate article below.)
  181.  
  182. 3. Alter the programs to use only the new fields.
  183.  
  184. The last phase changes all the code to reference only the new date fields
  185. (for instance, within the If statements). Once this is done, the old fields
  186. can be removed from the dataset.
  187. [Mike Shumko]
  188.  
  189.  
  190. Using SmartDate in Year 2000 Solution
  191. =====================================
  192.  
  193. To facilitate the conversion from the old date format to the new, you can use
  194. SmartDate from Robelle in step 2 of the Year 2000 story above. SmartDate can
  195. automatically insert the century by using a cutoff year.
  196.  
  197. SmartDate can also compare dates stored in different formats, without
  198. converting one of the fields to a common intermediate format (of course,
  199. SmartDate does this internally).
  200.  
  201. For more information about SmartDate, contact the sales department.
  202.  
  203.  
  204. IPROF Æ98 or "WhatÆs a Terabyte?"
  205. =================================
  206.  
  207. As in previous years, the Interex MPE ProgrammersÆ Forum last month in
  208. Sunnyvale, CA gets my vote as the best conference around. ItÆs three days of
  209. sessions, SIG meetings, tutorials as well as updates from HP lab techies and
  210. from a whoÆs who of the MPE community.
  211.  
  212. From HP, we heard that a Web server from Netscape Communications Corporation,
  213. Samba/iX, Java, Multiple Job Queues and Date Intrinsics will be bundled into
  214. MPE/iX 6.0. After that, look for massive changes to MPE that would allow file
  215. sizes of 1 terabyte or 1,099,511,627,776 bytes. The limit to these files is 2
  216. gigarecords or 2,147,483,648 records. So if you need to create a global phone
  217. book, the HP 3000 will be ready for it. Of course youÆll need hardware to
  218. support this: 18 - 200 GB disk drives, disk arrays set with AutoRaid, and
  219. Fibre Channel Arrays. For backups youÆll need DLT Libraries, then high-end
  220. devices with backup speeds of 1 terabyte/hour by year 2000. The plans are for
  221. annual performance growth of 20% per year.
  222.  
  223. From the users, the forum offered tutorials on porting to POSIX, COBOL 2000,
  224. as well as various approaches to the Y2K projects and a great session on Java
  225. from Mike Yawn and Gavin Scott. Having done a lot of work creating small Java
  226. modules from the IMAGE intrinsics, Mike showed how to create Web applications
  227. that access your data. That led to a real showstopper of a demo from
  228. Synchronix, who converted COBOL code to Java applications.
  229.  
  230. Of course, there were also the HP round table events with complaints about
  231. compiler support, upgrade credits and NT printer support. In response, HP
  232. management showed it was listening and supportive.
  233.  
  234. All who attended felt the conference was very positive. The atmosphere was
  235. friendly and people were there to share information. The biggest impact was
  236. the amount of development in the MPE labs and within the user community. See
  237. you there next year.
  238. [Paul Gobes]
  239.  
  240.  
  241. Qedit for Windows Continues to Improve
  242. ======================================
  243.  
  244. We have just released the latest version of Qedit for Windows. As David Greer
  245. mentioned in the last issue of this newsletter, we have been putting our
  246. energy into the scripting language for an automated test suite. However, we
  247. also found some time to add a few nice enhancements.
  248.  
  249. Version 4.6.08 now keeps track of the last 15 host filenames entered (in the
  250. Open Host File dialog box). This should make it easier to open frequently
  251. accessed files to correct a typo in a long filename without retyping it.
  252.  
  253. Another enhancement allows you to sort the file list in the Directory dialog
  254. box in ascending or descending order.
  255.  
  256. If you are interested in upgrading to this new version, please call our
  257. technical support staff. If you have not tried Qedit for Windows, please call
  258. our sales department and order your free 30-day demo.
  259.  
  260.  
  261. Surviving the Ice Storms
  262. ========================
  263.  
  264. Freezing rain and ice storms are all part of winter in QuΘbec. Every year we
  265. get at least one storm that significantly affects the landscape and the human
  266. activities in relatively small areas. Fortunately, they usually last only one
  267. day and the ice melts or falls away after a couple more days.
  268.  
  269. This year has been a little bit different. At the beginning of January, four
  270. severe ice storms in five days hit the area roughly delimited by the city of
  271. QuΘbec to the east, Ottawa to the west, MontrΘal to the north and the
  272. QuΘbec/US border to the south. The area hardest hit ended up with 100 mm (4
  273. inches) of ice. Trees suffered serious damage and some forests have been
  274. devastated.
  275.  
  276. From the "human" point of view, many power lines were brought down. Thousands
  277. of wooden poles along the roads were broken in half. Even high-voltage steel
  278. towers collapsed as if they were made out of toothpicks. At the peak of the
  279. storm, there were more than 1.2 million households (approximately 2.5 million
  280. people) without electricity. Although the loss of power meant no lighting and
  281. cooking, most importantly, it meant no heating. In the middle of winter, this
  282. is really serious.
  283.  
  284. At the beginning of February, a month later, there were still close to 20,000
  285. households without power. Whole towns had to close down. People had to move
  286. in with relatives, neighbors, or to official shelters set up in schools, city
  287. halls and community centers. Some people had a secondary heating system (wood
  288. burning stoves), something to cook on (you can only live for so long on cold
  289. cuts and sandwiches), propane or gas, a hot water tank, or a generator to
  290. provide emergency power and to save whatever was left in the freezer. Very
  291. few had all of these resources. If someone had two or more of these items,
  292. they lived in luxury.
  293.  
  294. People started to help each other with whatever commodity they had. Someone
  295. would trade wood in exchange for a hot shower or a hot meal. They would find
  296. new ways to bring relief and support to each other. Support came, not only
  297. from other regions of QuΘbec, but also from across Canada and the United
  298. States.
  299.  
  300. Although these have been very stressful times, they have also been a time to
  301. recognize solidarity and how people can stand together against adversity.
  302.  
  303. Personally, my family and I were not hit directly. Some of our relatives were
  304. not as lucky. We were without power for 24 hours over a period of three days.
  305. I had to work off-line only one day when my Internet Service Provider (ISP)
  306. lost power. And for a little more than a week, my ISP operated on emergency
  307. power with somewhat limited services.
  308.  
  309. The storms have come and gone. A lot of work has been done to bring things
  310. back to normal. But now we are entering a new phase: roofs are still
  311. overloaded with ice, warm days are thawing the ice, and water is leaking
  312. everywhere. It is going to take a while before we evaluate the total impact.
  313. Mother Nature has found a new way to show us how fragile we (and the things
  314. we have built) are. It is not unusual to see her brute force in tornadoes,
  315. hurricanes and earthquakes. This time, it was just a rather gentle rainfall.
  316. [Fran╡ois Desrochers]
  317.  
  318.  
  319. HP World Æ98 Early Registration
  320. ===============================
  321.  
  322. HP World Æ98 will be held in San Diego, CA on August 2 - 6, 1998. If you want
  323. to take advantage of the early registration discount, you have to send your
  324. registration form before July 10, 1998.
  325.  
  326. Robelle will once again showcase its products in the exhibit area. Some of
  327. our staff will also be presenting a number of papers and tutorials.
  328.  
  329. For more information about the conference, contact Interex at 1-800-INTEREX
  330. or point your browser to http://www.hpworld.org.
  331.  
  332.  
  333. Inventory Reduction Sale on User Manuals
  334. ========================================
  335.  
  336. Now that everyone has received Qedit 4.6 and we are about to ship Suprtool
  337. 4.1.01, the manuals from previous versions (Qedit 4.5 and Suprtool 4.0) are
  338. on sale at a very attractive price. These manuals include the same subjects
  339. as the latest manuals, except for the enhancements introduced in the last
  340. versions. For information about the new enhancements, you can print a copy of
  341. the appropriate change notice simply by running Printdoc.Pub.Robelle.
  342.  
  343. If you need a large number of manuals, this may be a cost-effective way of
  344. getting them. The manuals for the current version are US$20 each. Now you can
  345. purchase manuals of previous versions at 50% off. Call us for details.
  346.  
  347.  
  348. Technical Tip for STExport
  349. ==========================
  350.  
  351. STExport is the newest component in Suprtool. Although it was introduced more
  352. than two years ago, STExport is still fairly unknown. STExport allows you to
  353. format data from a self-describing file into almost any format you want, from
  354. fixed-length fields to HTML tables. You can control field delimiters,
  355. quotation marks, numeric and date formats among other things. You can export
  356. data from IMAGE SQL, Oracle or Allbase databases that reside on your HP 3000
  357. or 9000 to just about any other platform, all without having to write a
  358. custom program.
  359.  
  360. The example below shows how to extract data from an Allbase database on your
  361. HP 3000 and load it into an Oracle database on your HP 9000.
  362.  
  363.     :run Suprtool.pub.robelle
  364.     >            {extract the data into a self-describing file}
  365.     >open   allbase employee.db humres
  366.     >select * from humres.employees
  367.     >sort   department_no
  368.     >output emp,link
  369.     >xeq
  370.  
  371.     >export       {invoke STExport}
  372.     $input emp
  373.     $output empfmt
  374.     $xeq
  375.  
  376. In this example, we are using the following defaults: no heading record, text
  377. fields in quotation marks with trailing blanks suppressed, comma separators,
  378. and variable length columns.
  379.  
  380. Because the Oracle database resides on the HP 9000, you have to transfer the
  381. formatted file. Once the file is on the machine, you can use OracleÆs
  382. SQL*Loader to insert the data in the appropriate table. The command to run
  383. SQL*Loader is:
  384.  
  385.     sqlload userid=username/userpass control=loaddata.ctl log=load.log
  386.  
  387. where sqlload is the filename of the SQL*Loader program; userid is the
  388. username and password to connect to the database; control points to the file
  389. that contains the load specifications (shown below); and log requests
  390. SQL*Loader to write the various messages generated during the load operation,
  391. including error messages.
  392.  
  393. The control file should contain the following:
  394.  
  395.     load data
  396.     infile '/users/mike/oracle/data/empfmt'
  397.      append into table employees
  398.      fields terminated by ","
  399.      optionally enclosed by '"'
  400.     (employee_name, employee_number, status, address, city, province_state,
  401.     country, postal_zip_code, home_phone_number, sex, social_insurance_number,
  402.     hire_date, marital_status, spouse_name, monthly_salary, bank_name,
  403.     bank_account_id, birth_date, title, department_name, work_phone_number,
  404.     last_review_date, vacation_days)
  405.  
  406. This list describes the elements in the file:
  407.  
  408.     load data -  the load command
  409.     infile - the name of the data file
  410.     append into table - the destination table
  411.     insert - assumes the table is empty
  412.     append - creates new rows
  413.     replace - deletes existing rows before loading
  414.     truncate - the same as replace
  415.     fields terminated by - the character used between column values
  416.     optionally enclosed by - the character used around text strings
  417.     (employee_name etc.) - the column names, in the same sequence as the
  418.                            data file
  419.  
  420. ItÆs as simple as that. There is a lot more you can do with STExport. Read
  421. the STExport section in the Suprtool manual and find new ways to exploit its
  422. power. If you have a minute, let us know what you did. We are always on the
  423. lookout for new, innovative ideas.
  424.  
  425.  
  426. Qedit Removes Trailing Blank Lines
  427. ==================================
  428.  
  429. When I edit e-mail messages in Xpress, I use the following command file. Just
  430. before sending a message, I execute this file to remove any trailing blank
  431. lines.
  432.  
  433. DELBLANK
  434.  
  435.     /l "~"(pat) last
  436.     if qeditcount <> 0 then
  437.             /zzq *
  438.         setjcw cierror 0
  439.         continue
  440.         /findupq "~"(pattern nomatch)
  441.         if cierror = 900 then
  442.         /zzq first
  443.         else
  444.         /zzq *+1
  445.         endif
  446.         /dq zz
  447.     endif
  448.  
  449. [Mike Shumko]
  450.  
  451.  
  452. Screening Junk E-Mail
  453. =====================
  454.  
  455. As an active Netizen for years, my e-mail address has made its way into
  456. commercial advertisersÆ lists. I would prefer, however, not to receive
  457. unsolicited commercial e-mail (UCE), which, in my case, is handled by the
  458. Outlook Express program from Microsoft.
  459.  
  460. Another Outlook Express user gave me the following tip for reducing the
  461. amount of junk mail that appears in my Inbox. This tip depends on the fact
  462. that most junk mail appears to be addressed to bogus e-mail addresses instead
  463. of directly to the person who receives it. (Usually it gets to you using the
  464. blind carbon copy (BCC) feature of e-mail.)
  465.  
  466. The solution involves creating a new folder for the e-mail that I want to
  467. keep and setting up the MS Outlook Express Inbox Assistant to move the
  468. messages from expected sources to that folder. Any messages that stay in my
  469. Inbox are almost certainly UCE, which I can safely ignore or delete.
  470.  
  471. In general, the filters catch messages in which the To address or the CC
  472. address has any of the common aliases people use for me (mike, shumko, mcs).
  473. Anything that is not directly addressed to me gets screened out. Most of the
  474. newer e-mail clients should have similar features to the Inbox Assistant.
  475. [Mike Shumko]
  476.  
  477.  
  478. SPAM vs. UCE
  479. ============
  480.  
  481. What is discussed in the Junk E-Mail story isnÆt SPAM. SPAM is excessive,
  482. off-topic cross-posting of messages to Usenet newsgroups. When junk mail is
  483. directed through e-mail not newsgroups, it is UCE not SPAM.
  484.  
  485.  
  486. Suprtool Changes Display Length
  487. ===============================
  488.  
  489. One of our customers wanted to extract a J2 field with List Standard, but the
  490. default column width for J2 is too wide for the screen and overflows to a
  491. second line. This customer wanted to specify a smaller width for the J2
  492. field.
  493.  
  494. You can use the numeric conversion feature of the Extract command to move the
  495. existing value to a temporary field with the desired length.
  496.  
  497.     Define  New-field, 1, <numdigits>, display    
  498.                                         {new display field with <numdigits>}
  499.     Item    J2-field, decimal, <numdecimals>    
  500.                                         {original field has decimal places}
  501.     Item    New-field, decimal, <numdecimals>    
  502.                                         {same decimal places as original}
  503.     Extract New-field = J2-field
  504.  
  505.  
  506. Comparing Two Files
  507. ===================
  508.  
  509. Did you know that with every Suprtool or Qedit tape we include a free program
  510. that can compare files and note any differences? Simply set up a few file
  511. equates, then run the Compare program.
  512.  
  513.     :file filea=ARES3.PAUL
  514.     :file fileb=ARES22B.PAUL
  515.     :file outfile=$STDLIST
  516.     :run  compare.pub.robelle
  517.  
  518.     Compare/iX/Copyright Robelle Consulting Ltd. 1991-1997, J.Miner 1978
  519.     (Version 2.5)
  520.     Licensee:  Robelle Consulting Ltd. [0]
  521.     Compare/iX (Version 2.5)  Match Criterion = 4 Lines
  522.     ----------------------------------------
  523.     Mismatch:
  524.     Line 7 of ARES3.PAUL.TECHSUP:
  525.     > DATE:     07 Aug 97
  526.     Line 7 of ARES22B.PAUL.TECHSUP:
  527.     > DATE:     04 Jun 97
  528.     End Run
  529.  
  530. The Compare program is installed by the Bonus.Job.Robelle job. If this job
  531. has not been streamed, it may still be called Compnm.Pub.Robelle. For more
  532. information on the options in the Compare program, you can use
  533.  
  534.     :run compare.pub.robelle;info="?"
  535.  
  536. or you can print the complete 20-page manual from the Printdoc program in
  537. Pub.Robelle.
  538.  
  539.  
  540. WhatÆs Up, DOCumentation? Available in E-Mail
  541. =============================================
  542.  
  543. Are you tired of waiting for RobelleÆs popular newsletter to make the rounds
  544. in your office? Would you like to receive our newsletter first, not last?
  545. Then send us your e-mail address and we will add you to our growing list of
  546. electronic mail readers. YouÆll receive your copy automatically, without the
  547. wait.
  548.  
  549. Right now the electronic version of our newsletter is in a text-only format,
  550. but otherwise it has all the same great Robelle news, tips and technical
  551. information that you get in our printed version. Send your request to
  552. support@robelle.com.
  553.  
  554.  
  555.