Geneva, July 26th 1991 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ ³ HOW TO USE ³ ³ ³ ³ AS/400 PC support on a ³ ³ NOVELL 3.1 network using ³ ³ TOKEN RING and ³ ³ WINDOWS 3.0 (enhanced mode) ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Supplied by Chris Zellweger, Geneva, Switzerland, CIS 100016,56 For your free use or re-publication, without any warranties however... All comments are welcome !!! I presume you know how to configure PCS/400 from a stand-alone PC or PS/2 without WINDOWS. This doc provides you with the necessary information to set up a configuration for both NOVELL and WINDOWS 3.0, using the standard NOVELL and IBM supplied features. Contents of this package: ------------------------ $PCSWNTR TXT This documentation CONFIG SYS our CONFIG under DOS 5 AUTOEXEC BAT ... and what follows... WIN400 BAT NOVELL, PCS and WINDOWS loader WINWSF BAT executable from WINDOWS WINWSF PIF its corresponding PIF WINWSFX BAS hold and hit... MPREPARE BAT dynamic reconfiguration of your PC IPL COM a little Ctrl-Alt-Delete Roboter Related publications: -------------------- CIS: GO NOVA: Download... AS4CON TXT G5250R TXT TWEAK TXT DIAL IBM: QUESTION (Q & A database) Search words: WINDOWS NOVELL WINDOWS CONNECTION Hardware and Software Configuration: ----------------------------------- AS/400 model B30, Version 1 release 3, TOKEN RING board 4/16 Mhz (we currently run 4 Mhz). IBM PS/2 55SX - 4 Mb - 60 Mb, VGA [we plan to use a super-VGA adaptor]. DOS 5.0 (DOS 4.0 is possible but leaves you with little conventional memory). Download NET5 from CIS (go NDD), if required. PC Support Functions Required by our Users: ------------------------------------------ WSF - Work Station Function TOPC / FROMPC - File transfer functions We deliberately do *not* use the Integrator or Shared Folder facility on a standard workstation. When loading PCS, we do *not* open QIWSFLR as drive I: (or other); all PC SUPPORT programs are resident on the server (where we maintain versions update "manually"). Assigning a virtual folder and using the integrator should however be possible, but it does not make things easier. We do *not* use WINDOWS CONNECTION 2.0. This IBM software, was originally designed to provide 3270 emulation under WINDOWS and was later adapted to make it compatible with PCS/400. However, we found it quite clumsy to install and use, and the keyboard cannot be re-mapped a 5250 user wants it (e.g. RESET = LeftAlt). Drives and Directories: ---------------------- C:\ local boot directory (CONFIG.SYS / AUTOEXEC.BAT, WIN400.BAT) C:\PCS local PC support directory, containing configuration files only. D, E: reserved for Shared Folder AS/400, but currently unused. F: Novell Login drive W:\PCS PC support programs (download of QIWSFLR) on NOVELL System Configuration: -------------------- Here's the CONFIG.SYS. If you're using DOS 4, change "devicehigh" to "device". ///////////////////////////CONFIG.SYS\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ dos=high,umb files= 30 buffers=15 stacks=0,0 lastdrive=e break=on country=041,,c:\dos5\country.sys device=c:\dos5\himem.sys device=c:\dos5\emm386.exe noems devicehigh=\novell\dxma0mod.sys 001 devicehigh=\novell\dxmc0mod.sys 400022220002 devicehigh=\novell\dxmt0mod.sys devicehigh=c:\ansi.sys devicehigh=c:\mouse\mouse.sys devicehigh=c:\win\smartdrv.sys 2048 512 devicehigh=c:\dos5\setver.exe devicehigh=c:\pcs\eimpcs.sys \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\////////////////////////////////// Comments: - This CONFIG.SYS is for DOS5 you'll pick the essential elements if you run DOS 4. - Yes, you *can* load all dxm... into hight, but you *must* load them in this order ! - And you *can* load EIMPCS high ! - 400022220002 is the *local* (PC) token ring address (overriding the burnt-in address, and identical to APPC controller description on AS/400). AS/400's board's address is stated in C:\PCS\CONFIG.PCS, as well as in AS/400's TR line description (follow IBM's install instructions). And here's our AUTOEXEC.BAT /////////////////////////AUTOEXEC.BAT\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ prompt $p$g path c:\dos5 set temp=c:\temp keyb sf,,c:\dos5\keyboard.sys path=c:\;c:\dos5;c:\win;c:\mawingo\nc;c:\mawingo\nu;c:\mawingo\util prompt $p$g rem *** WIN400 to load NOVELL and AS/400 router *** \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\///////////////////////////////// Comments: - nothing special, really NOVELL, ROUTER and WINDOWS loader (batch): ----------------------------------------- /////////////////////////////WIN000.BAT\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ echo off cls echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º NOW LOGGING ON TO NOVELL º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ c: cd \novell ipx net5 f: cd \login login pause cls echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º NOW LOGGING ON TO AS/400 º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ w:\pcs\startrtr c:\pcs\config.pcs loadhigh w:\pcs\pcswin pause win echo on w:\pcs\rmvpcs all /f \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\///////////////////////////////// Comments: - Remember that F: is NOVELL login drive, and that PCS programs (QIWSFLR) are available in NOVELL drive W:\PCS (mapped in NOVELL login script). - C:\PCS contains PCS configuration files, such as: KEYBD KBD SESS DAT WSF DAT CONFIG PCS - IPX and NET5 cannot easily be loaded HIGH. Refer to comments on CIS MSDOS and NOVB forums ! - PCSWIN is a WINDOWS compatibility TSR supplied by IBM as a PTF for PC support (loads in QIWSFLR, to be downloaded to PC). Refer to IBM DIAL, search words "WINDOWS"; required PTFS (Rel. 1.3) are listed in the last section of this document. - You cannot load STARTRTR high (user input required), but you *can* do so with PCSWIN. - If your PC has only 2 Mb of memory, load windows with WIN /3 in order to force enhanced mode. - RMVPCS is not mandatory, but useful. WINDOWS loader (icon and BATCH): ------------------------------- We have placed WINWSF.BAT file in NOVELL's SIGNON drive F:\, together with the following files: WIN400 BAT WINWSF BAT WINWSF PIF WINWSFX BAS An icon (in any program group) is associated to WINWSF.BAT. /////////////////////////////WINWSF.BAT\\\\\\\\\\\\\\\\\\\\\\\\\\\\ w:\pcs\wsf c:\pcs\wsf.dat basica f:\winwsfx.bas w:\pcs\rmvpcs WSF /f \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\////////////////////////////////// Comments: - Remember: W:\PCS holds all essential PCS programs (from QIWSFLR). - C:\PCS holds PCS configuration files - WINWSFX.BAS is called to hold on and to exit on user request (X): ////////////////////////////WINWSFX.BAS\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 5 COLOR 14,4 'that's flashy RED... 10 CLS:? 15 PRINT "*** AS-400 WORKSTATION FUNCTION loaded ***":? 20 PRINT " Alt-Esc to change sessions" :? 30 PRINT " X to exit (after SIGNOFF from each session !)":? 40 PRINT 50 WHILE INKEY$<>"" 60 WEND 70 I$=INPUT$(1) 80 IF I$<>"x" AND I$<>"X" THEN GOTO 70 90 SYSTEM \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\///////////////////////////////////// - You can replace BASICA WINWSFX by any loadable program, but we had problems with DOS PAUSE (strange keyboard conflict). So why not take it easy and use good-old BASICA or GWBASIC which - on top - re-initialises the video board and solves some problems with full screen display and exotic cards... - Running RMVPCS is mandatory; you wouldn't be able to access WINWSF for a second time (that one is documented by IBM, refer to DIAL). WINWSF.PIF: ---------- - Taken into consideration as present in the same directory as WINWSF.BAT (associated to icon). - Characteristics: Windowed, Background, Reserve Alt-Esc (in order to switch sessions and WINWSFX.BAS). It is a good idea to inhibit Print Key, too. //mawingo//-MPREPARE.BAT: ------------------------ I made MPREPARE.BAT because I found it convenient to re-configure and reboot my PC for a certain purpose. E.G., make an CONFIG.400 and AUTOEXEC.400. Backup CONFIG.SYS and AUTOEXEC.SYS as CONFIG.STD and AUTOEXEC.STD. Then run MPREPARE 400 ... which will copy CONFIG.400 to CONFIG.SYS AUTOEXEC.400 to AUTOEXEC.BAT and reeboot (IPL.COM is supplied - That one, I found it somewhere, and I do not think a 17 byte .COM file can be copyrighted...). Results and limitations: ----------------------- - This setup is very reliable. - It leaves about 450 kb of memory for DOS BOX of WINDOWS. - We encountered nasty problems when running Norton Commander in a DOS BOX *and* printing from this window (Windows and overall crashes !!!). So we nowadays tend to avoid Norton Commander in this environment. - Print Catching by NOVELL (started from LOGIN SCRIPT) works well, even with AS/400 Virtual Printer sessions. - The setup is very user friendly; use Alt-Return to switch AS/400 box to full-screen mode whenever required ! - DDE (cut and paste) works very well - excellent for documenting AS/400 applications ! - You cannot, however, with this setup open two AS/400 sessions in two different windows (you *can* do that using WINDOWS CONNECTION 2.0). IBM AS/400 PTFs required (Rel. 1.3): ----------------------------------- LF70675 PCSWIN (new module in Router component) The prerequisite PTFs for the above PTF are as follows: LF70671 Message function LF70672 Remove PCS Function LF70673 Transfer Function LF70674 EIMPCS Function LF70676 Shared Folders Function ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ