home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / 3x400 / crtpass.lzh / README < prev   
Text File  |  1988-12-28  |  4KB  |  85 lines

  1.      CREATE PASSTHRU SESSION
  2.  
  3. The two source members CRTPASTHR.CLP and CRTPASTHR.CMD allow AS/400
  4. shops to set up a passthru environment on their system.
  5.  
  6. The command CRTPASTHR and its CPP of the same name can be run one for
  7. each passthru target machine that you will be dialing into.
  8.  
  9. Once you've run the command, use the IBM-supplied STRPASTHR command to
  10. begin your passthru session with the other system.
  11.  
  12. This command is not the end-all, but it does remove most the questions
  13. if this is the first time you've done passthru.
  14.  
  15. COMMAND SYNTAX:
  16.  
  17.   CRTPASTHR    RMTID(remote system name)
  18.           RMTLOC(*RMTID/remote location name)
  19.           LCLLOC(*NETATR/local location name)
  20.           DEVD(*RMTID/APPC device name to create)
  21.           CTLD(*RMTID/control name to create)
  22.           LIND(*RMTID/line description name to create)
  23.           RESOURCE(LIN011/comm-line resource name to use)
  24.           LINESPEED(2400/modem speed 600-64000 baud)
  25.           AUTODIAL(*YES/does modem have autodial)
  26.           PHONE(phone number to dial when passthru started)
  27.           EXCHID(05600000/exchange ID for handshaking)
  28.           STNADR(01/controller station address)
  29.           NBRDEV(*NONE/1,2,3 number of virtual devices to create)
  30.           VDEVD(VDSP/virtual device prefix)
  31.           VCTLD(*RMTID/virtual controller name)
  32.  
  33.  
  34. All parameters except RMTID and PHONE have default values that will most
  35. likely be acceptable.  The RMTID parameter is normally the system name
  36. (local location name of the DSPNETA command) of the target system.  That
  37. is the system you will be passing through to.  The PHONE parameter can
  38. contain the phone number of the target computer's modem.
  39.  
  40. The following example creates the passthru objects for a passthru
  41. session between a system named Chicago and a system named MAUI. The
  42. system Chicago is the target system.  The system MAUI is the source
  43. system.
  44.  
  45. On the source system in MAUI, the follow command would be run:
  46.  
  47.         CRTPASTHR RMTID(Chicago) NBRDEV(3) PHONE(1,3125551212)
  48.  
  49.  
  50. On the target system in Chicago, the following command would be run:
  51.  
  52.         CRTPASTHR RMTID(MAUI) NBRDEV(3) PHONE(1,8085551212)
  53.  
  54. Now then, these command assume the local location network attribute
  55. is the name of the corresponding city.  ==> CHGNETA LCLLOCNAME(Chicago)
  56.  
  57. Four steps to passthru (on the source system):
  58.   1. CRTCLPGM PGM(CRTPASTHR) LOG(*YES)
  59.   2. CRTCMD   CMD(CRTPASTHR) PGM(CRTPASTHR) MAXPOS(2)
  60.   3. CRTPASTHR RMTID(Chicago) LCLLOC(Maui) NBRDEV(3) PHONE(1,3125551212)
  61.   4. STRPASTHR RMTLOCNAME(*CNNDEV) CNNDEV(Chicago) VCTL(Chicago)
  62.  
  63.  
  64. Four steps to passthru (on the target system):
  65.   1. CRTCLPGM PGM(CRTPASTHR) LOG(*YES)
  66.   2. CRTCMD   CMD(CRTPASTHR) PGM(CRTPASTHR) MAXPOS(2)
  67.   3. CRTPASTHR RMTID(MAUI) LCLLOC(CHICAGO) NBRDEV(3) PHONE(1,8085551212)
  68. At this point, the source system can passthru to this system.
  69. If you want to start passthru from the target to the source, run step 4.
  70.   4. STRPASTHR RMTLOCNAME(*CNNDEV) CNNDEV(Maui) VCTL(Maui)
  71.  
  72. NOTE: The VCTL parameter contains the name of a virtual controller on
  73. the target system.  For example, if CHICAGO's system had a virtual
  74. controller named Chicago (which they would if they used these commands,)
  75. the VCTL parameter of the STRPASTHR command on the MAUI system would be
  76. VCTL(Chicago).
  77.  
  78. Once the passthru objects have been created, only the STRPASTHR command
  79. is necessary to passthru from one system to another.
  80.  
  81. ATTENTION:  Most frustration arises when (a) the wrong location names
  82. are used and (b) after a failed passthru attempt, a seconded attempt
  83. fails due to the line, device and/or controller needing to be varied off
  84. then varied on.
  85.