home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / osdalots.txt < prev    next >
Text File  |  1996-11-17  |  13KB  |  380 lines

  1. OSDALOTS - SETTING UP LOTUS 1-2-3 IN AN OS/2 DOS SESSION
  2. 01/18/96
  3.  
  4. =======================================================================
  5.              Setting up Lotus 1-2-3 in an OS/2 DOS Session
  6. =======================================================================
  7.  
  8. Please Read Entire Document for Full Explanation of Procedures
  9. --------------------------------------------------------------
  10.  
  11. DESCRIPTION
  12.  
  13. Problems running Lotus 1-2-3 under OS/2
  14.  
  15. RESOLUTION
  16.  
  17. All versions of Lotus 1-2-3 running in OS/2 use expanded memory 
  18. specification (EMS) and look between C000 and DFFFF to find it. EMS 
  19. requires a 64 KB block of contiguous free memory in the address range 
  20. of 640 KB to 1 MB for its page frame. You could have an adapter 
  21. conflict.
  22.  
  23. Install and set up your Lotus 1-2-3 using the following setup 
  24. procedures. If Lotus does not start, see "OS/2 EMS Conflicts with DOS 
  25. Applications Running in a DOS Session" later in the document.
  26.  
  27. This document consists of the following sections:
  28.  
  29. * Setting Up Lotus 1-2-3
  30.  
  31. * Common Problems and Solutions
  32.  
  33. * OS/2 Expanded Memory (EMS) Conflicts with DOS Applications Running in
  34.   a DOS Session
  35.  
  36. * Reconfiguring the Memory Remapping on Various Systems
  37.  
  38.  
  39. Setting Up Lotus 1-2-3
  40. ----------------------
  41.  
  42. Releases V2.0--V2.4
  43. -------------------
  44. 1.  Open the Templates folder on the Desktop.
  45.  
  46. 2.  Move the mouse pointer to the Program object; then press and hold
  47.     mouse button 2 and drag the Program object icon to the Desktop.
  48.     Release mouse button 2. The Settings notebook appears.
  49.  
  50. 3.  In the Path and File Name entry field, type the location of the
  51.     Lotus directory and executable file that starts the program. For
  52.     example, D:\123R23\123.EXE.
  53.  
  54. 4.  Select the Session tab.
  55.  
  56. 5.  Select DOS Full Screen as Session Type.
  57.  
  58. 6.  Select DOS Settings... .
  59.  
  60. 7.  Select EMS_MEMORY_LIMIT and set it to accommodate the
  61.     largest expected spreadsheet. The default is 2,048 (2 MG).
  62.  
  63.     Note: V2.0--V2.2 recognize up to 4 MB of EMS. V2.3 and V2.4
  64.           recognize up to 12 MB.
  65.  
  66. 8.  Select MEMORY_INCLUDE_REGIONS and type C0000-CFFFF.
  67.  
  68. 9.  Select EMS_FRAME_LOCATION and change the value to C000.
  69.  
  70. 10. Select MEMORY_EXCLUDE_REGIONS and type D0000-DFFFF.
  71.  
  72. 11. Select Save.
  73.  
  74. 12. Select the General tab and change the Title to the name you
  75.     want for the Desktop object; for example, Lotus 2.3.
  76.  
  77. 13. Close the Settings notebook.
  78.  
  79. 14. The Lotus 1-2-3 icon appears.
  80.  
  81. Release V3.1
  82. ------------
  83. The Installation program checks that it is running in native DOS. Using
  84. DOS Settings for an OS/2 DOS session, you can create a session that
  85. returns a simulated DOS value to the Lotus INSTALL.EXE program.
  86.  
  87. The following steps must be performed to load Lotus in a Full Screen DOS
  88. compatibility box under OS/2.
  89.  
  90.  1. Using a text editor, create a 123.BAT file in the Lotus directory
  91.     and include the following statements:
  92.  
  93.     * SET 123MEMSIZE=2048 or the desired amount of RAM (in KB)
  94.       to be allocated to the spreadsheet; 2048 is 2 MB. If you
  95.       have fairly large spreadsheets, set MEMSIZE to 4098 or
  96.       greater.
  97.  
  98.     * 123 (or LOTUS). This begins the program.
  99.  
  100.  2. Save and exit the file.
  101.  
  102.  3. Open the Templates folder on the Desktop.
  103.  
  104.  4. Move the mouse pointer to the Program object; then press and hold
  105.     mouse button 2 and drag the Program object icon to the Desktop.
  106.     Release mouse button 2. The Settings notebook appears.
  107.  
  108.  5. In the Path and File Name entry field, type the location of the
  109.     123.BAT file to start the program. For example, D:\123R3\123.BAT.
  110.  
  111.  6. Select the Session tab.
  112.  
  113.  7. Select DOS Full Screen.
  114.  
  115.  8. Select DOS Settings... .
  116.  
  117.  9. Select DOS_FILES and set to at least 40.
  118.  
  119. 10. Select DOS_VERSION.
  120.  
  121. 11. Go to the Value box and scroll down to the last entry. Place the
  122.     cursor at the end of this entry and press Enter to start a new line.
  123.  
  124. 12. Type the following lines in this sequence:
  125.  
  126.        123.EXE,3,40,255
  127.        123DOS.EXE,3,00,255
  128.        LOTUS.EXE,3,40,255
  129.        INSTALL.EXE,3,40,255
  130.        TRANS.EXE,3,40,255
  131.  
  132.     Note: If you do not want to run INSTALL.EXE or TRANS.EXE, omit the
  133.           last two lines.
  134.  
  135. 13. Select Save to save the new settings.
  136.  
  137. 14. Select EMS_MEMORY_LIMIT and set it to the same size as that in the
  138.     SET 123MEMSIZE statement above. If you do not change this, Lotus
  139.     sees only 2 MB of memory.
  140.  
  141. 15. Select DPMI_MEMORY_LIMIT and set it to double the size
  142.     set in EMS_MEMORY_LIMIT.
  143.  
  144. 16. Select DPMI_DOS_API.
  145.  
  146. 17. Click to the right of Auto; then select Enable.
  147.  
  148.     Note: Steps 1 and 14 through 16 are extremely important. If you do
  149.           not make MEMSIZE large enough, you might not have enough
  150.           memory to run Lotus after loading your spreadsheet.
  151.  
  152. 18. Select MEMORY_INCLUDE_REGIONS and type C0000-CFFFF.
  153.  
  154. 19. Select EMS_FRAME_LOCATION and change the value to C000.
  155.  
  156. 20. Select MEMORY_EXCLUDE_REGIONS and type D0000-DFFFF.
  157.  
  158. 21. Select Save.
  159.  
  160. 22. Select the General tab and change the Title to the name you want
  161.     for the Desktop object; for example, Lotus 3.1.
  162.  
  163. 23. Close the Settings notebook.
  164.  
  165. 24. The Lotus 1-2-3 icon appears.
  166.  
  167. Release V3.4
  168. ------------
  169.   Installation
  170.   ------------
  171.   If you get the error message,
  172.  
  173.      "You cannot run this program in a DOS compatibility box.
  174.       You must run this program with DOS 3.3 or later."
  175.  
  176.   try the following installation procedure:
  177.  
  178.   1. Open the Settings notebook for the DOS Window or Full Screen
  179.      session in which you are installing Lotus.
  180.  
  181.   2. Select the Session tab.
  182.  
  183.   3. Select DOS Settings... and then DOS_VERSION.
  184.  
  185.   4. On a new line, type INSTALL.EXE,5,00,255. This simulates DOS 5.0.
  186.  
  187.   5. Select Save to save the new settings; then close the Settings
  188.      notebook.
  189.  
  190.   6. Reinstall Lotus.
  191.  
  192.   Setup
  193.   -----
  194.   Set up this version as described in "Release V3.1" above, except for
  195.   the DOS_VERSION settings. Type these lines instead:
  196.  
  197.      123.EXE,3,40,255
  198.      LOTUS.EXE,3,40,255
  199.      INSTALL.EXE,3,40,255
  200.      TRANS.EXE,3,40,255
  201.      FONTGEN.EXE,3,40,255
  202.      INS.EXE,3,40,255
  203.  
  204.  
  205. Common Problems and Solutions
  206. -----------------------------
  207. * Cannot read or write to drive A, and pressing Ctrl+Break at any time
  208.   causes the system to exit Lotus. Both cause a General Protection
  209.   Fault.
  210.  
  211.   For systems with the original OS/2 2.0 code (3/30/92), install
  212.   Service Pak 2--XR06100.
  213.  
  214. * SYS2237 Error Message. Lotus 1-2-3 V3.1 assumes that all 486 chips
  215.   have a math coprocessor.
  216.  
  217.   Edit the 123.BAT file and add -s (lowercase s) to the 123 line
  218.   (123 -s). Lotus 1-2-3 will no longer look for a math coprocessor.
  219.  
  220. * Cannot install Lotus 1-2-3. You receive the error message:
  221.  
  222.      "You cannot run this program in a DOS compatibility box.
  223.      You must run this program with DOS 3.3 or later."
  224.  
  225.   Try the following installation procedures:
  226.  
  227.   Procedure 1:   
  228.   ------------
  229.   1. Open the Settings notebook for a DOS Window or Full Screen.
  230.  
  231.   2. Select the Session tab.
  232.  
  233.   3. Select DOS Settings... and then DOS_VERSION.
  234.  
  235.   4. On a new line, type INSTALL.EXE,5,00,255. This simulates DOS 5.0.
  236.  
  237.   5. Select Save to save the new settings; then close the Settings
  238.      notebook.
  239.  
  240.   6. Reinstall Lotus.
  241.  
  242.   Procedure 2:
  243.   ------------
  244.   1. Start the system in native DOS.
  245.  
  246.   2. Install Lotus from drive A, following the instructions that came
  247.      with the program.
  248.  
  249.   Procedure 3:
  250.   ------------
  251.   Start the system with a DOS diskette or create a Virtual Machine Boot
  252.   (VMB) from a DOS environment. IBM Technical Support has documentation
  253.   for a VMB.
  254.  
  255.  
  256. OS/2 EMS Conflicts with DOS Applications Running in a DOS Session
  257. -----------------------------------------------------------------
  258. Many DOS applications, Terminate-and-Stay Resident programs (TSRs),
  259. or loading device drivers high, use expanded memory specification (EMS) 
  260. when loading. Some examples of DOS applications are spreadsheets, word 
  261. processors, databases, desktop publishing, and computer aided design 
  262. (CAD) systems. Several problems can occur if EMS is not detected:
  263.  
  264. * You receive a SYS3176 error.
  265.  
  266. * The DOS session locks up when starting an application.
  267.  
  268. * When starting an application in a DOS session, a flash of text
  269.   pertaining to an adapter conflict appears and disappears so quickly,
  270.   you can barely see it. You then are returned to the OS/2 Desktop.
  271.   This problem usually is related to a Terminate-and-Stay-Resident
  272.   program (TSR).
  273.  
  274.   A DOS session closes when it detects the TSR ending, so the session
  275.   cannot become resident. To load a TSR:
  276.  
  277.   1. Open the Templates folder on the Desktop.
  278.  
  279.   2. Move the mouse pointer to the Program object; then press and hold
  280.      mouse button 2 and drag the Program object icon to the Desktop.
  281.      Release mouse button 2. The Settings notebook appears.
  282.  
  283.   3. Select the Program tab.
  284.  
  285.   4. In the Path and File Name entry field, type an asterisk (*) if it
  286.      does not already exist.
  287.  
  288.   5. In the Parameters field, type /K followed by the path and name of
  289.      the TSR; for example, /K C:\FT\FTTERM.BAT.
  290.  
  291.   For more information, see Volume 2, page 200, of the IBM Redbooks.
  292.  
  293. * Very little expanded memory shows up in the application, no matter
  294.   what changes were made to the DOS Settings.
  295.  
  296.   To configure EMS support for an OS/2 DOS session (VDM), a contiguous
  297.   64 KB block of RAM is used as the EMS Page Frame. This must be
  298.   available within the upper memory block (UMB) between 640 KB and 1 MB.
  299.   That address range should be between C0000 and CFFFF, which is
  300.   exactly 64 KB of memory.
  301.  
  302.   All adapter cards whose ROM and RAM addresses are mapped within the
  303.   C0000--CFFFF range, should be remapped to the D0000--DFFFF range. The
  304.   most-common adapter cards are video, network, modem, and emulation.
  305.   Many IBM and OEM systems have their Token-Ring cards mapped to the
  306.   C0000--CFFFF region.
  307.  
  308.  
  309. Reconfiguring the Memory Remapping on Various Systems
  310. -----------------------------------------------------
  311.  
  312. IBM Systems
  313. -----------
  314. Some IBM systems, such as 56 SLC, 57 SLC, 56 SLC2, 57 SLC2, 76, 77, and
  315. 90, have a built-in utility program for creating a backup Reference 
  316. diskette. The diagnostic programs to reconfigure register addresses can 
  317. be run from the hard disk. Most of these systems have their video 
  318. adapters mapped to the C0000--CFFFF region.
  319.  
  320. To start the Utility Program from the hard disk:
  321.  
  322. 1. Turn on the computer and allow the self-tests to finish.
  323.  
  324. 2. Press Ctrl+Alt+Del.
  325.  
  326. 3. Watch the cursor closely. When it moves to the top-right corner of
  327.    the screen, press Ctrl+Alt+Ins.
  328.  
  329. 4. Go to "IBM Reference Diskette Instructions" below.
  330.  
  331. IBM ValuePoint
  332. --------------
  333. These systems have their video addresses mapped to the A0000--AFFFF
  334. range. They also have to start the program from the hard disk.
  335.  
  336. Other IBM PS/2 Micro Channel Systems
  337. ------------------------------------
  338. A Reference Diskette is provided with each system. Start the system 
  339. with the diskette in drive A; then see the next topic.
  340.  
  341. IBM Reference Diskette Instructions
  342. -----------------------------------
  343. 1. When the IBM logo appears, press Enter.
  344.  
  345. 2. Select Set Configuration.
  346.  
  347. 3. Select Change Configuration.
  348.  
  349. 4. Select the slot and location of the adapter that is mapped to the
  350.    C0000--CFFFF range.
  351.  
  352. 5. Press F6 to toggle to a free D0000--DFFFF memory range address.
  353.  
  354. 6. Press F10 to save the configuration.
  355.  
  356. 7. Restart the system.
  357.  
  358. The goal is to free the C0000--CFFFF address by moving adapter ROM and 
  359. RAM addresses to the D0000--DFFFF range.
  360.  
  361. EISA and ISA Bus Architecture Systems
  362. -------------------------------------
  363. Many of these systems have a built-in Diagnostics Setup and
  364. Configuration file. After startup, the screen displays a sequence of 
  365. keys that you press to get to the setup. Some systems allow only 
  366. viewing; others allow viewing and reconfiguring. Many adapters can be 
  367. reconfigured only by resetting switches on the adapter. Refer to the 
  368. documentation that came with the adapter, or contact your vendor for 
  369. additional information.
  370.  
  371. ______________________________________________________________________
  372. IBM disclaims all warranties, whether express or implied, including 
  373. without limitation, warranties of fitness and merchantability with 
  374. respect to the information in this document. By furnishing this 
  375. document, IBM grants no licenses to any related patents or copyrights.  
  376. Copyright (c) 1994, 1995 IBM Corporation. Any trademarks and product 
  377. or brand names referenced in this document are the property of their 
  378. respective owners. Consult your product manuals for complete trademark 
  379. information. 
  380.