home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / X25.ZIP / X25 / X25.DOC
Text File  |  1992-01-31  |  26KB  |  903 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.      Version 1.2 (c) Copyright International Business Machines Corp., 1988,1991
  8.  
  9.  
  10.  
  11.  
  12.   X.25 SAMPLE APPLICATION
  13.  
  14.   The X.25 sample application consists of programs that demonstrate the use of
  15.   the X.25 interface verbs. The function of the sample application is to
  16.   transmit data, using the X.25 protocol, from one PS/2 and receive that data
  17.   on the same or a different PS/2.  To support this function, the sample appli-
  18.   cation consists of two programs.  One is a receive program, which is referred
  19.   to as the receiver side.  The other is a transmit program, which is referred
  20.   to as the transmitter side.  On the receiver side, a user starts the receiver
  21.   program, supplying a routing table entry name that has been created in the
  22.   configuration file used to start Communictions Manager.  On the transmitter
  23.   side, a user starts the transmitter program, supplying a directory entry name
  24.   that has been created in the configuration file used to start Communictions
  25.   Manager.
  26.  
  27.   The sample programs are designed to work in the OS/2 protected mode, with the
  28.   Communications Manager of the OS/2 Extended Services.  The sample program
  29.   source code and the supporting files are for C and MASM languages.
  30.  
  31.   PREREQUISITES
  32.  
  33.   To run the sample program, a user must be familiar with the following things:
  34.  
  35.   1.  OS/2 installation and command prompt
  36.  
  37.   2.  TOOLKIT installation
  38.  
  39.   3.  Communications Manager installation
  40.  
  41.   4.  Compiler of the language in which you are interested
  42.  
  43.   INSTALLATION
  44.  
  45.   Install OS/2 and TOOLKIT according to the OS/2 installation procedure.  Then,
  46.   install the Communications Manager using the following procedure.  When the
  47.   configuration menu, prompts Select a type of configuration file for installa-
  48.                               _________________________________________________
  49.   tion, select IBM-supplied files and features.  Include ACSCFG.CFG among the
  50.   ____         _______________________________
  51.   list of selected configuration files.  Next, create an X.25 configuration
  52.   file by following the instructions given under "Creating an X.25 Configura-
  53.   tion file", later in this read me file.  Then, re-install the Communications
  54.   Manager using the following procedure.  When the configuration menu, prompts
  55.   Select a type of configuration file for installation, select User-supplied
  56.   ____________________________________________________         _____________
  57.   files, include X25RCV.CFG, or X25XMIT.CFG, or X25SAMP.CFG, depending on which
  58.   _____
  59.   file you have created on your machine, among the list of selected configura-
  60.   tion files.  When the configuration menu, prompts Select configuration file
  61.                                                     _________________________
  62.   to update CONFIG.SYS, include X25RCV.CFG, or X25XMIT.CFG, or X25SAMP.CFG,
  63.   ____________________
  64.   depending on which file you have created on your machine, among the list of
  65.   selected configuration files.  When X.25 is installed, your CONFIG.SYS file
  66.   will contain the statement:
  67.  
  68.  
  69.                                                                               1
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.     DEVICE=C:\CMLIB\ICARICIO.SYS
  82.  
  83.   Install the compiler of the language in which you are interested.  Use the
  84.   installation procedure of the compiler.  Refer to the following language
  85.   section for additional information.
  86.  
  87.   NOTES
  88.  
  89.  
  90.   1.  The instructions for typing at the OS/2 command prompt show the command
  91.       line with the path for information only.  For example, ╒C:■ is displayed,
  92.       and you must not type it at the OS/2 command prompt.
  93.  
  94.   2.  All the following instructions assume that you have installed:
  95.  
  96.           OS/2
  97.  
  98.           TOOLKIT
  99.  
  100.           macro assembler or C compiler
  101.  
  102.       on your C disk, with the product default directory names.  If you have
  103.       installed any of these products on another disk you will need to alter
  104.       the disk identifier accordingly.  If you have chosen different directory
  105.       names you will need to change the directory names shown to match those
  106.       you have chosen.
  107.  
  108.   SUPPORTED LANGUAGES
  109.  
  110.   1.  C LANGUAGE
  111.  
  112.       a.  INSTALL C COMPILER
  113.  
  114.           Install the Microsoft C compiler Version 6.0 as directed by the
  115.           microsoft publications supplied with your compiler.
  116.  
  117.           Follow the directions provided by the menus. Choose the default
  118.           directories and subdirectories.  Select the large memory model.  The
  119.           compiler is installed at this point.
  120.  
  121.       b.  C SAMPLE PROGRAMS
  122.  
  123.           There are two X.25 sample programs.  The receiver side is called
  124.           X25CRCV.  The transmitter side is called X25CXMIT.  Copy the files
  125.           with the filename X25CRCV and X25CXMIT into directory C:\C600.  The
  126.           files to be copied are Source code (.C extension), Module definition
  127.           (.DEF extension), Make file (no extension), and Link response (.LRF
  128.           extension).
  129.  
  130.           All the INCLUDE files are required in C:\C600\INCLUDE directory. Copy
  131.           the file X25_C.H from the Communications Manager directory (C:\CMLIB)
  132.  
  133.  
  134.  
  135.   2
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.           into the C:\C600\INCLUDE directory.  Also copy DOSCALLS.H from
  146.           C:\TOOLKT13\C\INCLUDE directory into C:\C600\INCLUDE directory.
  147.  
  148.       c.  LIBRARY FILES FOR C SAMPLE PROGRAM
  149.  
  150.           All the LIBRARY files must reside in C:\C600\LIB directory.  Copy
  151.           ACS.LIB from the Communications Manager directory (C:\CMLIB) into the
  152.           C:\C600\LIB directory and DOSCALLS.LIB from the OS/2 directory
  153.           (C:\OS2) into the C:\C600\LIB directory.
  154.  
  155.       d.  COMPILE/LINK C SAMPLE PROGRAMS
  156.  
  157.           During installation of the compiler, a file NEW-VARS.CMD is created
  158.           in your C:\C600\BIN directory.  Change your current directory to
  159.           C:\C600\BIN. Type the following at the OS/2 command prompt to set up
  160.           the environment for the compiler.
  161.  
  162.  
  163.             [C:\C600\BIN]new-vars
  164.             [Press Enter]
  165.  
  166.           Change your current directory to C:\C600
  167.  
  168.           To compile and link the receiver program, type the following at the
  169.           OS/2 command prompt:
  170.  
  171.  
  172.             [C:\C600]NMAKE \A X25CRCV
  173.             [Press Enter]
  174.  
  175.           To compile and link the transmitter program, type the following on
  176.           the command line:
  177.  
  178.  
  179.             [C:\C600]NMAKE \A X25CXMIT
  180.             [Press Enter]
  181.  
  182.           The files X25CRCV.EXE and X25CXMIT.EXE will be created.
  183.  
  184.           After the above procedure, the executable files X25CRCV.EXE and
  185.           X25CXMIT.EXE are in directory C:\C600 in executable form.
  186.  
  187.   2.  MACRO ASSEMBLER
  188.  
  189.       a.  INSTALL MACRO ASSEMBLER
  190.  
  191.           Install the Microsoft Macro Assembler version 5.1 as directed by the
  192.           microsoft publications supplied with your macro assembler.  Follow
  193.           the directions provided by the menus. Choose the default directories
  194.           and subdirectories.  The assembler is installed at this point.
  195.  
  196.           During installation of the assembler, directory \MASM\BIN is created.
  197.  
  198.       b.  ASSEMBLER SAMPLE PROGRAMS
  199.  
  200.  
  201.                                                                               3
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.           There are two macro assembler sample programs.  The receiver side is
  212.           called X25MRCV.  The transmitter side is called X25MXMIT.  Copy the
  213.           files with the filename X25MRCV and X25MXMIT into directory
  214.           C:\MASM\BIN. The files to be copied are Source code (.ASM extension),
  215.           Module definition (.DEF extension), Make file (no extension), and
  216.           Link response (.LRF extension).
  217.  
  218.           All the INCLUDE files are required in C:\MASM\BIN directory. Copy the
  219.           files X25_A.INC and X25_ASET.INC from the Communications Manager
  220.           directory (C:\CMLIB) into C:\MASM\BIN directory.  Also copy
  221.           SYSMAC.INC, DOSCALLS.INC, and SUBCALLS.INC from
  222.           C:\TOOLKT13\MASM\INCLUDE directory into \MASM\BIN directory.
  223.  
  224.       c.  LIBRARY FILES FOR ASSEMBLER SAMPLE PROGRAM
  225.  
  226.           All the LIBRARY files must reside in \MASM\BIN directory.  Copy
  227.           ACS.LIB from the Communications Manager directory (C:\CMLIB) into the
  228.           C:\MASM\BIN directory and DOSCALLS.LIB from the OS/2 directory
  229.           (C:\OS2) into the \MASM\BIN directory.
  230.  
  231.       d.  ASSEMBLE/LINK ASSEMBLER SAMPLE PROGRAMS
  232.  
  233.           Change your current directory to C:\MASM\BIN.
  234.  
  235.           To assemble and link the receiver program, type the following at the
  236.           OS/2 command prompt:
  237.  
  238.  
  239.             [C:\MASM\BIN]MAKE X25MRCV
  240.             [Press Enter]
  241.  
  242.           To assemble and link the transmitter program, type the following at
  243.           the OS/2 command prompt:
  244.  
  245.  
  246.             [C:\MASM\BIN]MAKE X25MXMIT
  247.             [Press Enter]
  248.  
  249.           The files X25MRCV.EXE and X25MXMIT.EXE will be created.
  250.  
  251.           After the above procedure, the executable files X25MRCV.EXE and
  252.           X25MXMIT.EXE are in directory C:\MASM\BIN in executable form.
  253.  
  254.   CREATING AN X.25 CONFIGURATION FILE.
  255.  
  256.   To run the sample program, you have to create X.25 configuration files using
  257.   the following procedure.
  258.  
  259.   HARDWARE CONFIGURATIONS
  260.  
  261.   There are 5 possible configurations that can be used to run the X.25 sample
  262.   programs.
  263.  
  264.  
  265.  
  266.  
  267.   4
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.   A) Two PS/2's each with an IBM X.25 Interface Co-Processor/2 adapter installed
  278.      and connected through a PSDN.
  279.  
  280.   B) Two PS/2's each with an IBM X.25 Interface Co-Processor/2 adapter installed
  281.      and connected through a modem eliminator.
  282.  
  283.   C) One PS/2 with two IBM X.25 Interface Co-Processor/2 adapters installed with
  284.      both adapters connected to the same PSDN.
  285.  
  286.   D) One PS/2 with two IBM X.25 Interface Co-Processor/2 adapters installed with
  287.      the adapters connected through a modem eliminator.
  288.  
  289.   E) One PS/2 with one IBM X.25 Interface Co-Processor/2 adapters installed with
  290.      the adapter connected to a PSDN
  291.  
  292.  
  293.   CONFIGURATION STEPS FOR HARDWARE CONFIGURATIONS A and B
  294.  
  295.   Create a configuration file for the X.25 sample programs using the configura-
  296.   tion functions in Communications Manager.
  297.  
  298.   The following instructions will configure two OS/2 Extended Edition machines
  299.   to run the X.25 sample programs. They guide you through the configuration
  300.   process, panel by panel, until complete.
  301.  
  302.   On the PS/2 that will run the receiver side of the sample program, copy the
  303.   system-supplied configuration file, ACSCFG.CFG, to X25RCV.CFG in the C:\CMLIB
  304.   directory.
  305.  
  306.   On the PS/2 that will run the transmitter side of the sample program, copy
  307.   the system supplied configuration file, ACSCFG.CFG, to X25XMIT.CFG in the
  308.   C:\CMLIB directory.
  309.  
  310.   Start the Communications Manager for the receiver side using X25RCV as the
  311.   startup configuration file.
  312.  
  313.   Start the Communications Manager for the transmitter side using X25XMIT as
  314.   the startup configuration file.
  315.  
  316.   Beginning at the "Communications Manager Main Menu" follow the instructions
  317.   below.
  318.  
  319.  
  320.   Transmitter                          Receiver
  321.  
  322.   Press F10                            Press F10
  323.   Select "Advanced" from action bar    Select "Advanced" from action bar
  324.   Select "Configuration"               Select "Configuration"
  325.   Press Enter                          Press Enter
  326.  
  327.   On Specify Configuration Usage       On Specify Configuration Usage
  328.   Panel select either:                 Panel select either:
  329.   "Select this option if you                  "Select this option if you
  330.           intend to use this                   intend to use this
  331.  
  332.  
  333.                                                                               5
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.           configuration on this                configuration on this
  344.           workstation."                        workstation."
  345.          or:                                  or:
  346.          "Select this option if you           "Select this option if you
  347.           intend to use this                   intend to use this
  348.           configuration on another             configuration on another
  349.           workstation."                        workstation."
  350.   Press Enter                          Press Enter
  351.  
  352.   Select "X.25 feature profiles"       Select "X.25 feature profiles"
  353.   Select "Adapter profiles"            Select "Adapter profiles"
  354.   Select "Create"                      Select "Create"
  355.   Specify "Adapter name"               Specify "Adapter name"
  356.           - ADAPTER1                           - ADAPTER2
  357.   Press Enter                          Press Enter
  358.   Specify "Comment"                    Specify "Comment"
  359.   Specify "Slot number"                Specify "Slot number"
  360.           - enter slot number of               - enter slot number of
  361.             IBM X.25 Interface                   IBM X.25 Interface
  362.             Co-Processor/2 adapter               Co-Processor/2 adapter
  363.   Press Enter                          Press Enter
  364.   Press F3                             Press F3
  365.  
  366.   Select "Link profiles"               Select "Link profiles"
  367.   Select "Create"                      Select "Create"
  368.   Specify "Link profile name"          Specify "Link profile name"
  369.           - LINK1                              - LINK2
  370.   Press Enter                          Press Enter
  371.   Select "Base link parameters"        Select "Base link parameters"
  372.   Specify "Comment"                    Specify "Comment"
  373.   Specify "Adapter profile name"       Specify "Adapter profile name"
  374.           - ADAPTER1                           - ADAPTER2
  375.   Specify "Local DTE address"          Specify "Local DTE address"
  376.           - see note 1 below                   - see note 1 below
  377.   Specify "Operation"                  Specify "Operation"
  378.           - DTE                                - DTE
  379.           - see note 3 below
  380.   Specify "Local CCITT compliance"     Specify "Local CCITT compliance"
  381.           - see note 1 below                   - see note 1 below
  382.   Specify "Initial mode of link"       Specify "Initial mode of link"
  383.           - CONNECT                            - CONNECT
  384.   Specify "Link set up mode"           Specify "Link set up mode"
  385.           - INITIATE FROM DTE                  - INITIATE FROM DTE
  386.   Press Enter                          Press Enter
  387.   Select "Virtual Circuit Ranges"      Select "Virtual Circuit Ranges"
  388.   Specify "Circuit ranges"             Specify "Circuit ranges"
  389.           - see note 1 below                   - see note 1 below
  390.   Press Enter                          Press Enter
  391.   Press F3                             Press F3
  392.   Press F3                             Press F3
  393.  
  394.   Select "Directory"                   Select "Routing Table"
  395.   Select "M6"                          Select "M7"
  396.  
  397.  
  398.  
  399.   6
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.   Select "Create"                      Select "Create"
  410.   Specify "Directory entry name"       Specify "Routing table entry name"
  411.           - REMOTE1                            - ROUTE1
  412.   Press Enter                          Press Enter
  413.   Specify "Remote DTE address"         Press Enter
  414.           - see notes 1 and 2 below    Select "Top of table"
  415.   Specify "Remote DTE address
  416.            extension"
  417.           - see notes 1 and 2 below
  418.   Press Enter
  419.   Press F3                             Press F3
  420.   Press F3                             Press F3
  421.   Press F10                            Press F10
  422.   Select "Verify" from action bar      Select "Verify" from action bar
  423.   Select "Run verify"                  Select "Run verify"
  424.   Press Enter                          Press Enter
  425.  
  426.   Press F10                            Press F10
  427.   Select "Exit" from action bar        Select "Exit" from action bar
  428.   Select "Exit communication           Select "Exit communication
  429.           configuration"                       configuration"
  430.  
  431.  
  432.   Note 1 - This information is specific to the network subscription and is
  433.            defined by the network provider when the subscription is set up
  434.            Contact your network provider if you uncertain of the values to
  435.            place in these fields.
  436.  
  437.   Note 2 - This is the address of the receiver PS/2.
  438.  
  439.   Note 3 - If hardware configuration B is being used then specify PARTNER.
  440.  
  441.  
  442.   You need to exit the Communications Manager.
  443.  
  444.   CONFIGURATION STEPS FOR HARDWARE CONFIGURATION C and D
  445.  
  446.   Create a configuration file for the X.25 sample programs using the configura-
  447.   tion functions in Communications Manager.
  448.  
  449.   The following instructions will configure one OS/2 Extended Edition machines
  450.   to run the X.25 sample programs. They guide you through the configuration
  451.   process, panel by panel, until complete.
  452.  
  453.   Copy the system-supplied configuration file, ACSCFG.CFG, to X25SAMP.CFG in
  454.   the C:\CMLIB directory.
  455.  
  456.   Start the Communications Manager using X25SAMP as the startup configuration
  457.   file.
  458.  
  459.   Beginning at the "Communications Manager Main Menu" follow the instructions
  460.   below.
  461.  
  462.  
  463.  
  464.  
  465.                                                                               7
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.   Press F10
  476.   Select "Advanced" from action bar
  477.   Select "Configuration"
  478.   Press Enter
  479.  
  480.   On Specify Configuration Usage Panel
  481.   select either:
  482.          "Select this option if you
  483.           intend to use this
  484.           configuration on this
  485.           workstation."
  486.          or:
  487.          "Select this option if you
  488.           intend to use this
  489.           configuration on another
  490.           workstation."
  491.   Press Enter
  492.  
  493.   Select "X.25 feature profiles"
  494.   Select "Adapter profiles"
  495.   Select "Create"
  496.   Specify "Adapter name"
  497.           - ADAPTER1
  498.   Press Enter
  499.   Specify "Comment"
  500.   Specify "Slot number"
  501.           - enter slot number of
  502.             first IBM X.25 Interface
  503.             Co-Processor/2 adapter
  504.   Press Enter
  505.   Press F3
  506.  
  507.   Select "X.25 feature profiles"
  508.   Select "Adapter profiles"
  509.   Select "Create"
  510.   Specify "Adapter name"
  511.           - ADAPTER2
  512.   Press Enter
  513.   Specify "Comment"
  514.   Specify "Slot number"
  515.           - enter slot number of
  516.             second IBM X.25 Interface
  517.             Co-Processor/2 adapter
  518.   Press Enter
  519.   Press F3
  520.  
  521.   Select "Link profiles"
  522.   Select "Create"
  523.   Specify "Link profile name"
  524.           - LINK1
  525.   Press Enter
  526.   Select "Base link parameters"
  527.   Specify "Comment"
  528.   Specify "Adapter profile name"
  529.  
  530.  
  531.   8
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.           - ADAPTER1
  542.   Specify "Local DTE address"
  543.           - see note 1 below
  544.   Specify "Operation"
  545.           - DTE
  546.           - see note 3 below
  547.   Specify "Local CCITT compliance"
  548.           - see note 1 below
  549.   Specify "Initial mode of link"
  550.           - CONNECT
  551.   Specify "Link set up mode"
  552.           - INITIATE FROM DTE
  553.   Press Enter
  554.   Select "Virtual Circuit Ranges"
  555.   Specify "Circuit ranges"
  556.           - see note 1 below
  557.   Press Enter
  558.   Press F3
  559.   Press F3
  560.  
  561.  
  562.   Select "Link profiles"
  563.   Select "Create"
  564.   Specify "Link profile name"
  565.           - LINK2
  566.   Press Enter
  567.   Select "Base link parameters"
  568.   Specify "Comment"
  569.   Specify "Adapter profile name"
  570.           - ADAPTER2
  571.   Specify "Local DTE address"
  572.           - see note 1 below
  573.   Specify "Operation"
  574.           - DTE
  575.           - see note 3 below
  576.   Specify "Local CCITT compliance"
  577.           - see note 1 below
  578.   Specify "Initial mode of link"
  579.           - CONNECT
  580.   Specify "Link set up mode"
  581.           - INITIATE FROM DTE
  582.   Press Enter
  583.   Select "Virtual Circuit Ranges"
  584.   Specify "Circuit ranges"
  585.           - see note 1 below
  586.   Press Enter
  587.   Press F3
  588.   Press F3
  589.  
  590.  
  591.   Select "Routing Table"
  592.   Select "M7"
  593.   Select "Create"
  594.   Specify "Routing table entry name"
  595.  
  596.  
  597.                                                                               9
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.           - ROUTE1
  608.   Press Enter
  609.   Press Enter
  610.   Select "Top of table"
  611.  
  612.  
  613.  
  614.   Select "Directory"
  615.   Select "M6"
  616.   Select "Create"
  617.   Specify "Directory entry name"
  618.           - REMOTE1
  619.   Press Enter
  620.   Specify "Link profile name"
  621.           - LINK1
  622.   Specify "Remote DTE address"
  623.           - see notes 1 and 2 below
  624.   Specify "Remote DTE address
  625.            extension"
  626.           - see notes 1 and 2 below
  627.   Press Enter
  628.   Press F3
  629.   Press F3
  630.   Press F10
  631.   Select "Verify" from action bar
  632.   Select "Run verify"
  633.   Press Enter
  634.  
  635.   Press F10
  636.   Select "Exit" from action bar
  637.   Select "Exit communication
  638.           configuration"
  639.  
  640.  
  641.   Note 1 - This information is specific to the network subscription and is
  642.            defined by the network provider when the subscription is set up
  643.            Contact your network provider if you uncertain of the values to
  644.            place in these fields.
  645.  
  646.   Note 2 - This is the address of the receiver PS/2.
  647.  
  648.   Note 3 - If hardware configuration D is being used then specify PARTNER.
  649.  
  650.  
  651.   CONFIGURATION STEPS FOR HARDWARE CONFIGURATION E
  652.  
  653.   Create a configuration file for the X.25 sample programs using the configura-
  654.   tion functions in Communications Manager.
  655.  
  656.   The following instructions will configure one OS/2 Extended Edition machines
  657.   to run the X.25 sample programs. They guide you through the configuration
  658.   process, panel by panel, until complete.
  659.  
  660.  
  661.  
  662.  
  663.   10
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.   Copy the system-supplied configuration file, ACSCFG.CFG, to X25SAMP.CFG in
  674.   the C:\CMLIB directory.
  675.  
  676.   Start the Communications Manager using X25SAMP as the startup configuration
  677.   file.
  678.  
  679.   Beginning at the "Communications Manager Main Menu" follow the instructions
  680.   below.
  681.  
  682.  
  683.   Press F10
  684.   Select "Advanced" from action bar
  685.   Select "Configuration"
  686.   Press Enter
  687.  
  688.   On Specify Configuration Usage Panel
  689.   select either:
  690.          "Select this option if you
  691.           intend to use this
  692.           configuration on this
  693.           workstation."
  694.          or:
  695.          "Select this option if you
  696.           intend to use this
  697.           configuration on another
  698.           workstation."
  699.   Press Enter
  700.  
  701.   Select "X.25 feature profiles"
  702.   Select "Adapter profiles"
  703.   Select "Create"
  704.   Specify "Adapter name"
  705.           - ADAPTER1
  706.   Press Enter
  707.   Specify "Comment"
  708.   Specify "Slot number"
  709.           - enter slot number of
  710.             IBM X.25 Interface
  711.             Co-Processor/2 adapter
  712.   Press Enter
  713.   Press F3
  714.  
  715.   Select "Link profiles"
  716.   Select "Create"
  717.   Specify "Link profile name"
  718.           - LINK1
  719.   Press Enter
  720.   Select "Base link parameters"
  721.   Specify "Comment"
  722.   Specify "Adapter profile name"
  723.           - ADAPTER1
  724.   Specify "Local DTE address"
  725.           - see note 1 below
  726.   Specify "Operation"
  727.  
  728.  
  729.                                                                              11
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.           - DTE
  740.           - see note 3 below
  741.   Specify "Local CCITT compliance"
  742.           - see note 1 below
  743.   Specify "Initial mode of link"
  744.           - CONNECT
  745.   Specify "Link set up mode"
  746.           - INITIATE FROM DTE
  747.   Press Enter
  748.   Select "Virtual Circuit Ranges"
  749.   Specify "Circuit ranges"
  750.           - see note 1 below
  751.   Press Enter
  752.   Press F3
  753.   Press F3
  754.  
  755.  
  756.   Select "Routing Table"
  757.   Select "M7"
  758.   Select "Create"
  759.   Specify "Routing table entry name"
  760.           - ROUTE1
  761.   Press Enter
  762.   Press Enter
  763.   Select "Top of table"
  764.  
  765.  
  766.   Select "Directory"
  767.   Select "M6"
  768.   Select "Create"
  769.   Specify "Directory entry name"
  770.           - REMOTE1
  771.   Press Enter
  772.   Specify "Remote DTE address"
  773.           - see notes 1 and 2 below
  774.   Specify "Remote DTE address
  775.            extension"
  776.           - see notes 1 and 2 below
  777.   Press Enter
  778.   Press F3
  779.   Press F3
  780.   Press F10
  781.   Select "Verify" from action bar
  782.   Select "Run verify"
  783.   Press Enter
  784.  
  785.   Press F10
  786.   Select "Exit" from action bar
  787.   Select "Exit communication
  788.           configuration"
  789.  
  790.  
  791.   Note 1 - This information is specific to the network subscription and is
  792.            defined by the network provider when the subscription is set up
  793.  
  794.  
  795.   12
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.            Contact your network provider if you uncertain of the values to
  806.            place in these fields.
  807.  
  808.   Note 2 - This is the address of the receiver PS/2.
  809.  
  810.  
  811.   You need to exit the Communications Manager.
  812.  
  813.   RUNNING THE SAMPLE PROGRAMS ON TWO PS/2's
  814.  
  815.   Create a new directory SAMPLE on the receiver side workstation.  Copy the
  816.   receiver sample program (X25CRCV.EXE, or X25MRCV.EXE) to the SAMPLE direc-
  817.   tory.
  818.  
  819.   Create a new directory SAMPLE on the transmitter side workstation.  Copy the
  820.   transmitter sample program (X25CXMIT.EXE, or X25MXMIT.EXE) to the SAMPLE
  821.   directory.
  822.  
  823.   Start the receiver side with the configuration file X25RCV.  Start the trans-
  824.   mitter side with the configuration file X25XMIT.
  825.  
  826.   Select "OS/2 command prompt" from the Program Selector panel on the receiver
  827.   workstation. Change the current directory to SAMPLE.  Start your receiver
  828.   program (X25CRCV.EXE, or X25MRCV.EXE) supplying a routing table entry name (
  829.   n.b. in upper case ).
  830.  
  831.   Select "OS/2 command prompt" from the Program Selector panel on the trans-
  832.   mitter workstation. Change the current directory to SAMPLE.  Start your
  833.   transmitter program (X25CXMIT.EXE, or X25MXMIT.EXE) supplying a directory
  834.   table entry name ( n.b. in upper case ).
  835.  
  836.   RUNNING THE SAMPLE PROGRAMS ON ONE PS/2
  837.  
  838.   Create a new directory SAMPLE on the PS/2.  Copy the receiver sample program
  839.   (X25CRCV.EXE, or X25MRCV.EXE) to the SAMPLE directory.  Copy the transmitter
  840.   sample program (X25CXMIT.EXE, or X25MXMIT.EXE) to the SAMPLE directory.
  841.  
  842.   Start Communications Manager with the configuration file X25SAMP.
  843.  
  844.   Select "OS/2 command prompt" from the Program Selector panel on the PS/2.
  845.   Change the current directory to SAMPLE.  Start your receiver program
  846.   (X25CRCV.EXE, or X25MRCV.EXE) supplying a routing table entry name ( n.b. in
  847.   upper case ).
  848.  
  849.   Select "OS/2 command prompt" from the Program Selector panel on the PS/2.
  850.   Change the current directory to SAMPLE.  Start your transmitter program
  851.   (X25CXMIT.EXE, or X25MXMIT.EXE) supplying a directory table entry name ( n.b.
  852.   in upper case ).
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.                                                                              13
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.